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

Unified Diff: ash/shell.h

Issue 9701098: MultiMonitor support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 8 years, 9 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/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 b5fc9cfaf0a2342552784cf963b08b774368d0c4..411e6b26666aa47b10bef197d361f443508df94f 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -15,7 +15,6 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
-#include "ui/aura/monitor_manager.h"
#include "ui/gfx/size.h"
#include "ui/gfx/insets.h"
@@ -24,6 +23,7 @@ class SkBitmap;
namespace aura {
class EventFilter;
+class Monitor;
class RootWindow;
class Window;
}
@@ -61,6 +61,7 @@ class AppList;
class DragDropController;
class FocusCycler;
class InputMethodEventFilter;
+class MonitorController;
class PartialScreenshotEventFilter;
class ResizeShadowController;
class RootWindowEventFilter;
@@ -79,7 +80,7 @@ class WorkspaceController;
//
// Upon creation, the Shell sets itself as the RootWindow's delegate, which
// takes ownership of the Shell.
-class ASH_EXPORT Shell : public aura::MonitorObserver {
+class ASH_EXPORT Shell {
public:
enum Direction {
FORWARD,
@@ -202,9 +203,6 @@ class ASH_EXPORT Shell : public aura::MonitorObserver {
// Returns the size of the grid.
int GetGridSize() const;
- // aura::MonitorObserver overrides:
- virtual void OnMonitorBoundsChanged(const aura::Monitor* monitor) OVERRIDE;
-
static void set_initially_hide_cursor(bool hide) {
initially_hide_cursor_ = hide;
}
@@ -275,6 +273,7 @@ class ASH_EXPORT Shell : public aura::MonitorObserver {
scoped_ptr<VideoDetector> video_detector_;
scoped_ptr<WindowCycleController> window_cycle_controller_;
scoped_ptr<internal::FocusCycler> focus_cycler_;
+ scoped_ptr<internal::MonitorController> monitor_controller_;
// An event filter that pre-handles all key events to send them to an IME.
scoped_ptr<internal::InputMethodEventFilter> input_method_filter_;
« 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