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

Unified Diff: ash/display/display_configuration_controller.h

Issue 1838833002: Move DisplayLayout and DisplayLayoutBuilder From ash To ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screenwinmove
Patch Set: Fix comment Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_change_observer_chromeos.cc ('k') | ash/display/display_configuration_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_configuration_controller.h
diff --git a/ash/display/display_configuration_controller.h b/ash/display/display_configuration_controller.h
index 2c3f5b177079898b27fcd4ef2e27b963f497d58d..2256b6db5469d93533e153967c02aea9b67c4b0a 100644
--- a/ash/display/display_configuration_controller.h
+++ b/ash/display/display_configuration_controller.h
@@ -17,6 +17,10 @@
#include "base/memory/weak_ptr.h"
#include "ui/gfx/display.h"
+namespace display {
+class DisplayLayout;
+}
+
namespace ash {
namespace test {
@@ -25,7 +29,6 @@ class ShellTestApi;
class DisplayAnimator;
class DisplayManager;
-class DisplayLayout;
class ASH_EXPORT DisplayConfigurationController
: public WindowTreeHostManager::Observer {
@@ -38,7 +41,8 @@ class ASH_EXPORT DisplayConfigurationController
// Sets the layout for the current displays with a fade in/out
// animation. Currently |display_id| is assumed to be the secondary
// display. TODO(oshima/stevenjb): Support 3+ displays.
- void SetDisplayLayout(scoped_ptr<DisplayLayout> layout, bool user_action);
+ void SetDisplayLayout(scoped_ptr<display::DisplayLayout> layout,
+ bool user_action);
// Sets the mirror mode with a fade-in/fade-out animation. Affects all
// displays.
@@ -69,7 +73,7 @@ class ASH_EXPORT DisplayConfigurationController
// *before* starting any animations.
void SetThrottleTimeout(int64_t throttle_ms);
bool IsLimited();
- void SetDisplayLayoutImpl(scoped_ptr<DisplayLayout> layout);
+ void SetDisplayLayoutImpl(scoped_ptr<display::DisplayLayout> layout);
void SetMirrorModeImpl(bool mirror);
void SetPrimaryDisplayIdImpl(int64_t display_id);
« no previous file with comments | « ash/display/display_change_observer_chromeos.cc ('k') | ash/display/display_configuration_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698