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

Unified Diff: ash/mus/screen_mus.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: feedback2 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
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..174aa2e3a9aa4f325883cf351975ee768e7f9a6f
--- /dev/null
+++ b/ash/mus/screen_mus.h
@@ -0,0 +1,28 @@
+// 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.
+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_

Powered by Google App Engine
This is Rietveld 408576698