Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2416)

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 10984007: in-chrome viewer for metro (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only do viewer mode when shift-F11 is pressed, for now Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_browser_main_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index 8a5295b0f141d4b313669ae395c3dcc76adcc195..001a8e6101c3c0d8f735e0b64444c81b9da9c7d7 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -29,6 +29,7 @@
#include "chrome/browser/system_monitor/removable_device_notifications_window_win.h"
#include "chrome/browser/ui/simple_message_box.h"
#include "chrome/browser/ui/uninstall_browser_prompt.h"
+#include "chrome/browser/viewer/viewer_process_host.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_result_codes.h"
#include "chrome/common/chrome_switches.h"
@@ -211,6 +212,7 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopRun() {
ChromeBrowserMainParts::PreMainMessageLoopRun();
removable_device_notifications_window_->Init();
+ viewer_process_host_.reset(new ViewerProcessHost);
}
// static

Powered by Google App Engine
This is Rietveld 408576698