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

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

Issue 1581473002: Remove base/win/metro.{cc|h} and some associated code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 11 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/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 77ac8862a7b3b233756d1a954a6a48e75a3ab276..7706a1dd4ff522bcfafe0312da158ce2d7c988e8 100644
--- a/chrome/browser/ui/views/frame/native_browser_frame_factory.h
+++ b/chrome/browser/ui/views/frame/native_browser_frame_factory.h
@@ -24,11 +24,6 @@ class NativeBrowserFrameFactory {
// factory. Use null to go back to default factory.
static void Set(NativeBrowserFrameFactory* new_factory);
- // Returns HOST_DESKTOP_TYPE_ASH on Windows when configured to allow browser
- // windows only in Metro mode, otherwise |desktop_type|.
- static chrome::HostDesktopType AdjustHostDesktopType(
- chrome::HostDesktopType desktop_type);
-
virtual NativeBrowserFrame* Create(BrowserFrame* browser_frame,
BrowserView* browser_view);
@@ -37,10 +32,6 @@ class 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);
-
DISALLOW_COPY_AND_ASSIGN(NativeBrowserFrameFactory);
};

Powered by Google App Engine
This is Rietveld 408576698