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

Side by Side Diff: ui/aura/display_util.h

Issue 11363124: Move DisplayManager and DisplayChangeObserverX11 from aura to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix rebase Created 8 years, 1 month 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
« no previous file with comments | « ui/aura/display_observer.cc ('k') | ui/aura/display_util.cc » ('j') | 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 (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 UI_AURA_DISPLAY_UTIL_H_
6 #define UI_AURA_DISPLAY_UTIL_H_
7
8 #include <string>
9
10 #include "ui/aura/aura_export.h"
11
12 namespace gfx {
13 class Display;
14 }
15
16 namespace aura {
17
18 // TODO(oshima): OBSOLETE. Eliminate this flag.
19 AURA_EXPORT void SetUseFullscreenHostWindow(bool use_fullscreen_window);
20 AURA_EXPORT bool UseFullscreenHostWindow();
21
22 // Creates a display from string spec. 100+200-1440x800 creates display
23 // whose size is 1440x800 at the location (100, 200) in screen's coordinates.
24 // The location can be omitted and be just "1440x800", which creates
25 // display at the origin of the screen. An empty string creates
26 // the display with default size.
27 // The device scale factor can be specified by "*", like "1280x780*2",
28 // or will use the value of |gfx::Display::GetForcedDeviceScaleFactor()| if
29 // --force-device-scale-factor is specified.
30 // static gfx::Display CreateDisplayFromSpec(const std::string& spec);
31 AURA_EXPORT gfx::Display CreateDisplayFromSpec(const std::string& str);
32
33 } // namespace aura
34
35 #endif // UI_AURA_DISPLAY_UTIL_H_
OLDNEW
« no previous file with comments | « ui/aura/display_observer.cc ('k') | ui/aura/display_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698