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

Unified Diff: ui/display/screen.h

Issue 1913613002: Add place holder to move gfx::Display/Screen to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: ui/display/screen.h
diff --git a/ui/display/screen.h b/ui/display/screen.h
new file mode 100644
index 0000000000000000000000000000000000000000..1b8dacb691d7172d2e9045fe38c113b758bcfa63
--- /dev/null
+++ b/ui/display/screen.h
@@ -0,0 +1,24 @@
+// 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 UI_DISPLAY_SCREEN_H_
+#define UI_DISPLAY_SCREEN_H_
+
+#include "ui/gfx/screen.h"
+
+namespace gfx {
+class DisplayObserver;
+class Display;
robliao 2016/04/23 01:15:36 Are these forward declares necessary?
robliao 2016/04/23 01:40:43 This should probably be handled by screen.h based
oshima 2016/04/23 04:50:03 Done.
+}
+
+namespace display {
+
+// TODO(oshima): move the gfx::Screen to display::Screen.
+using Display = gfx::Display;
+using DisplayObserver = gfx::DisplayObserver;
robliao 2016/04/23 01:15:36 The Display and DisplayObserver types should be re
oshima 2016/04/23 01:30:44 These are because Screen has (and needs) forward d
robliao 2016/04/23 01:40:43 Noted. Just making sure we're not missing an oppor
+using Screen = gfx::Screen;
+
+} // display
+
+#endif // UI_DISPLAY_SCREEN_H_

Powered by Google App Engine
This is Rietveld 408576698