| OLD | NEW |
| (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_ |
| OLD | NEW |