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

Unified Diff: chrome/browser/ui/views/frame/native_browser_frame_factory.h

Issue 58853004: [win8] Force browsers created with Chrome in Metro mode to be on the Ash desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: respond to comments Created 7 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/ui/views/frame/native_browser_frame_factory.h
diff --git a/chrome/browser/ui/views/frame/native_browser_frame_factory.h b/chrome/browser/ui/views/frame/native_browser_frame_factory.h
index 3441e08a2c024fed447f36d855fea61a13ca21c4..4921c507408bea3a7519db4c984685da1925357e 100644
--- a/chrome/browser/ui/views/frame/native_browser_frame_factory.h
+++ b/chrome/browser/ui/views/frame/native_browser_frame_factory.h
@@ -30,6 +30,11 @@ class NativeBrowserFrameFactory {
NativeBrowserFrameFactory() {}
virtual ~NativeBrowserFrameFactory() {}
+ private:
+ // For Chrome running on desktop platforms, returns true if the factory should
+ // create an ash browser frame for the provided |browser_view|.
+ static bool ShouldCreateForAshDesktop(BrowserView* browser_view);
tapted 2013/11/15 12:47:11 Note: the current approach leaves this undefined o
sky 2013/11/15 17:31:27 Is there a reason not to move it to native_browser
tapted 2013/11/18 11:13:48 It needs to pull in some ash-specific files - if t
+
DISALLOW_COPY_AND_ASSIGN(NativeBrowserFrameFactory);
};

Powered by Google App Engine
This is Rietveld 408576698