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

Unified Diff: ash/mus/screen_mus.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: add overrides Created 4 years 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/mus/root_window_controller_unittest.cc ('k') | ash/mus/screen_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/screen_mus.h
diff --git a/ash/mus/screen_mus.h b/ash/mus/screen_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..d98c070385939554ea17e40ce92b5092a7b092d3
--- /dev/null
+++ b/ash/mus/screen_mus.h
@@ -0,0 +1,33 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_MUS_SCREEN_MUS_H_
+#define ASH_MUS_SCREEN_MUS_H_
+
+#include "base/macros.h"
+#include "ui/display/screen_base.h"
+
+namespace ash {
+
+// Implementation of Screen for mus. The WindowManager/RootWindowController
+// keep the set of displays in sync (by modifying display_list()). This class
+// exists to provide implementations of ScreenBase functions that are
+// NOTIMPLEMENTED.
+// TODO(sky): implement remaining functions or merge with ScreenAsh:
+// http://crbug.com/671408.
+class ScreenMus : public display::ScreenBase {
+ public:
+ ScreenMus();
+ ~ScreenMus() override;
+
+ private:
+ // display::ScreenBase:
+ display::Display GetDisplayNearestWindow(aura::Window* window) const override;
+
+ DISALLOW_COPY_AND_ASSIGN(ScreenMus);
+};
+
+} // namespace ash
+
+#endif // ASH_MUS_SCREEN_MUS_H_
« no previous file with comments | « ash/mus/root_window_controller_unittest.cc ('k') | ash/mus/screen_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698