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

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: ios fix 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
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): 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_
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698