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

Unified Diff: ash/display/display_controller.h

Issue 23726015: All together now (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screencast_cap
Patch Set: Created 7 years, 4 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 | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.h
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h
index 97620fc93b03c08f78d5a0e815560b3db3195971..422e36f083b033196676bd770573ca95b3d56e0b 100644
--- a/ash/display/display_controller.h
+++ b/ash/display/display_controller.h
@@ -18,6 +18,7 @@
#include "base/observer_list.h"
#include "base/time/time.h"
#include "ui/aura/root_window_observer.h"
+#include "ui/compositor/compositor_retriever_delegate.h"
#include "ui/gfx/display_observer.h"
#include "ui/gfx/point.h"
@@ -49,7 +50,8 @@ class RootWindowController;
// display, keeping them in sync with display configuration changes.
class ASH_EXPORT DisplayController : public gfx::DisplayObserver,
public aura::RootWindowObserver,
- public internal::DisplayManager::Delegate {
+ public internal::DisplayManager::Delegate,
+ public ui::CompositorRetrieverDelegate {
public:
class ASH_EXPORT Observer {
public:
@@ -169,6 +171,10 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver,
virtual void PreDisplayConfigurationChange() OVERRIDE;
virtual void PostDisplayConfigurationChange() OVERRIDE;
+ // ui::CompositorRetrieverDelegate overrides:
+ virtual ui::Compositor* GetCompositorForDisplay(
+ const gfx::Display& display) OVERRIDE;
+
private:
FRIEND_TEST_ALL_PREFIXES(DisplayControllerTest, BoundsUpdated);
FRIEND_TEST_ALL_PREFIXES(DisplayControllerTest, SecondaryDisplayLayout);
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698