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

Unified Diff: ash/mus/screen_mus.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: merge 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..97b3e1eba57a71a70832f726d7b43a988336d5b0
--- /dev/null
+++ b/ash/mus/screen_mus.h
@@ -0,0 +1,27 @@
+// 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 {
+
+class ScreenMus : public display::ScreenBase {
James Cook 2016/12/05 19:21:45 nit: class comment please
sky 2016/12/05 21:39:20 Done.
James Cook 2016/12/05 22:56:34 Not to bikeshed on docs, but the comment would be
sky 2016/12/06 00:56:16 Done.
+ public:
+ explicit ScreenMus();
James Cook 2016/12/05 19:21:45 nit: no explicit
sky 2016/12/05 21:39:20 Done.
+ ~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