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

Unified Diff: ash/mus/screen_mus.h

Issue 2642003002: Removes ash::mus::RootWindowController (Closed)
Patch Set: feedback Created 3 years, 11 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
Index: ash/mus/screen_mus.h
diff --git a/ash/mus/screen_mus.h b/ash/mus/screen_mus.h
index d75147fb0408c4eff214f6cac9d1bb4b34493b81..752a77ffd24e6198d5db612bc6ff522b9f726827 100644
--- a/ash/mus/screen_mus.h
+++ b/ash/mus/screen_mus.h
@@ -8,6 +8,12 @@
#include "base/macros.h"
#include "ui/display/screen_base.h"
+namespace display {
+namespace mojom {
+class DisplayController;
+}
+}
+
namespace ash {
// Implementation of Screen for mus. The WindowManager/RootWindowController
@@ -18,14 +24,19 @@ namespace ash {
// http://crbug.com/671408.
class ScreenMus : public display::ScreenBase {
public:
- ScreenMus();
+ explicit ScreenMus(display::mojom::DisplayController* display_controller);
~ScreenMus() override;
+ // Sets the work area of the display containing |window|.
+ void SetWorkAreaInsets(aura::Window* window, const gfx::Insets& insets);
+
private:
// display::ScreenBase:
display::Display GetDisplayNearestWindow(aura::Window* window) const override;
gfx::Point GetCursorScreenPoint() override;
+ display::mojom::DisplayController* display_controller_;
+
DISALLOW_COPY_AND_ASSIGN(ScreenMus);
};

Powered by Google App Engine
This is Rietveld 408576698