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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 11299192: Ensure that Metro chrome in ASH is able to connect to an existing desktop chrome AURA process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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
===================================================================
--- chrome/browser/chrome_browser_main_win.cc (revision 169477)
+++ chrome/browser/chrome_browser_main_win.cc (working copy)
@@ -50,11 +50,6 @@
#include "ui/base/win/message_box_win.h"
#include "ui/gfx/platform_font_win.h"
-#if defined(USE_AURA)
-#include "chrome/browser/metro_viewer/metro_viewer_process_host_win.h"
-#endif
-
-
namespace {
typedef HRESULT (STDAPICALLTYPE* RegisterApplicationRestartProc)(
@@ -227,17 +222,6 @@
ChromeBrowserMainParts::PreMainMessageLoopRun();
removable_device_notifications_window_->Init();
-
-#if defined(USE_AURA)
- CommandLine& command_line = *CommandLine::ForCurrentProcess();
- if (command_line.HasSwitch(switches::kViewerConnection) &&
- !metro_viewer_process_host_) {
- // Tell the metro viewer process host to connect to the given IPC channel.
- metro_viewer_process_host_.reset(
- new MetroViewerProcessHost(
- command_line.GetSwitchValueASCII(switches::kViewerConnection)));
- }
-#endif
}
// static

Powered by Google App Engine
This is Rietveld 408576698