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

Side by Side Diff: chrome/browser/ui/host_desktop.h

Issue 10690151: Move implementation of BrowserList onto an inner, instantiatable class, BrowserListImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_HOST_DESKTOP_H_
6 #define CHROME_BROWSER_UI_HOST_DESKTOP_H_
7
8 namespace chrome {
9
10 // A value that specifies what desktop environment hosts a particular piece of
11 // UI.
12 // Note that HOST_DESKTOP_TYPE_ASH is always used on ChromeOS.
13 enum HostDesktopType {
14 // The UI is hosted on the system native desktop.
15 HOST_DESKTOP_TYPE_NATIVE = 0,
16
17 // The UI is hosted in the synthetic Ash desktop.
18 HOST_DESKTOP_TYPE_ASH,
19
20 HOST_DESKTOP_TYPE_COUNT
21 };
22
23 /*
24 TODO(beng): implement utilities as needed, e.g.:
25 HostDesktopType GetActiveDesktop();
26 HostDesktopType GetHostDesktopTypeForNativeView(gfx::NativeView native_view);
27 HostDesktopType GetHostDesktopTypeForNativeWindow(
28 gfx::NativeWindow native_window);
29 HostDesktopType GetHostDesktopTypeForBrowser(Browser* browser);
30 */
31
32 } // namespace chrome
33
34 #endif // CHROME_BROWSER_UI_HOST_DESKTOP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698