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

Unified Diff: ash/shell.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/screen_ash.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 72073dc9d8fa1c31560dc6899a9a3ae621278d62..38fd7e7b00518deb39dd8e2fcaa84dba740597a3 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -87,6 +87,8 @@ class AcceleratorFilter;
class ActivationController;
class AppListController;
class CaptureController;
+class DisplayChangeObserverX11;
+class DisplayManager;
class DragDropController;
class EventClientImpl;
class EventRewriterEventFilter;
@@ -263,6 +265,9 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate,
}
#endif // !defined(OS_MACOSX)
+ internal::DisplayManager* display_manager() {
+ return display_manager_.get();
+ }
views::corewm::CompoundEventFilter* env_filter() {
return env_filter_.get();
}
@@ -322,7 +327,7 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate,
return magnification_controller_.get();
}
- const ScreenAsh* screen() { return screen_; }
+ ScreenAsh* screen() { return screen_; }
// Force the shelf to query for it's current visibility state.
void UpdateShelfVisibility();
@@ -519,11 +524,16 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate,
// a heads-up display. This is enabled only if --ash-touch-hud flag is used.
scoped_ptr<internal::TouchObserverHUD> touch_observer_hud_;
+ scoped_ptr<internal::DisplayManager> display_manager_;
+
#if defined(OS_CHROMEOS)
// Controls video output device state.
scoped_ptr<chromeos::OutputConfigurator> output_configurator_;
scoped_ptr<internal::OutputConfiguratorAnimation>
output_configurator_animation_;
+
+ // Receives output change events and udpates the display manager.
+ scoped_ptr<internal::DisplayChangeObserverX11> display_change_observer_;
#endif // defined(OS_CHROMEOS)
CursorManager cursor_manager_;
« no previous file with comments | « ash/screen_ash.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698