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

Side by Side Diff: ui/gfx/host_desktop_type.h

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS 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
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 UI_GFX_HOST_DESKTOP_TYPE_H_
6 #define UI_GFX_HOST_DESKTOP_TYPE_H_
7
8 #include "build/build_config.h"
9
10 namespace ui {
11
12 // A value that specifies what desktop environment hosts a particular piece of
13 // UI. You should almost never manually hardcode one of these enums manually,
14 // please refer to the following document for details on getting the right
15 // HostDesktopType:
16 // http://sites.google.com/a/chromium.org/dev/developers/design-documents/aura/m ulti-desktop
17 enum HostDesktopType {
18 HOST_DESKTOP_TYPE_FIRST = 0,
19
20 // The UI is hosted on the system native desktop.
21 HOST_DESKTOP_TYPE_NATIVE = HOST_DESKTOP_TYPE_FIRST,
22
23 // The UI is hosted in the synthetic Ash desktop.
24 #if defined(OS_CHROMEOS)
25 HOST_DESKTOP_TYPE_ASH = HOST_DESKTOP_TYPE_NATIVE,
26 #else
27 HOST_DESKTOP_TYPE_ASH,
28 #endif
sadrul 2015/09/11 14:03:32 gfx shouldn't normally refer to layers above it (a
blundell 2015/09/11 14:09:47 I'm not very familiar with the dependency hierarch
29
30 HOST_DESKTOP_TYPE_COUNT
31 };
32
33 } // namespace ui
34
35 #endif // UI_GFX_HOST_DESKTOP_TYPE_H_
OLDNEW
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698