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

Side by Side Diff: chrome/browser/ui/views/frame/native_browser_frame_factory.h

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_FACTORY_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_FACTORY_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_FACTORY_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_FACTORY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/ui/host_desktop.h" 9 #include "ui/gfx/host_desktop_type.h"
10 10
11 class BrowserFrame; 11 class BrowserFrame;
12 class BrowserView; 12 class BrowserView;
13 class NativeBrowserFrame; 13 class NativeBrowserFrame;
14 14
15 // Factory for creating a NativeBrowserFrame. 15 // Factory for creating a NativeBrowserFrame.
16 class NativeBrowserFrameFactory { 16 class NativeBrowserFrameFactory {
17 public: 17 public:
18 // Construct a platform-specific implementation of this interface. 18 // Construct a platform-specific implementation of this interface.
19 static NativeBrowserFrame* CreateNativeBrowserFrame( 19 static NativeBrowserFrame* CreateNativeBrowserFrame(
(...skipping 19 matching lines...) Expand all
39 39
40 private: 40 private:
41 // For Chrome running on desktop platforms, returns true if the factory should 41 // For Chrome running on desktop platforms, returns true if the factory should
42 // create an ash browser frame for the provided |browser_view|. 42 // create an ash browser frame for the provided |browser_view|.
43 static bool ShouldCreateForAshDesktop(BrowserView* browser_view); 43 static bool ShouldCreateForAshDesktop(BrowserView* browser_view);
44 44
45 DISALLOW_COPY_AND_ASSIGN(NativeBrowserFrameFactory); 45 DISALLOW_COPY_AND_ASSIGN(NativeBrowserFrameFactory);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_FACTORY_H_ 48 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698