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

Unified Diff: chromecast/graphics/cast_screen.cc

Issue 1928143002: Rename gfx::Display/Screen to display::Display/Screen in chromecast/blimp/media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update blimp's gn for recent gn change 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
« no previous file with comments | « chromecast/graphics/cast_screen.h ('k') | chromecast/media/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/graphics/cast_screen.cc
diff --git a/chromecast/graphics/cast_screen.cc b/chromecast/graphics/cast_screen.cc
index 2017dc9a0fb042e9ab72279e9c06fbf04812ca33..db4079fa533deb1254eca5d805a12ec1a8fd5816 100644
--- a/chromecast/graphics/cast_screen.cc
+++ b/chromecast/graphics/cast_screen.cc
@@ -7,10 +7,10 @@
#include <stdint.h>
#include "ui/aura/env.h"
+#include "ui/display/screen.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/screen.h"
namespace chromecast {
@@ -61,32 +61,32 @@ int CastScreen::GetNumDisplays() const {
return 1;
}
-std::vector<gfx::Display> CastScreen::GetAllDisplays() const {
- return std::vector<gfx::Display>(1, display_);
+std::vector<display::Display> CastScreen::GetAllDisplays() const {
+ return std::vector<display::Display>(1, display_);
}
-gfx::Display CastScreen::GetDisplayNearestWindow(
+display::Display CastScreen::GetDisplayNearestWindow(
gfx::NativeWindow window) const {
return display_;
}
-gfx::Display CastScreen::GetDisplayNearestPoint(const gfx::Point& point) const {
+display::Display CastScreen::GetDisplayNearestPoint(
+ const gfx::Point& point) const {
return display_;
}
-gfx::Display CastScreen::GetDisplayMatching(const gfx::Rect& match_rect) const {
+display::Display CastScreen::GetDisplayMatching(
+ const gfx::Rect& match_rect) const {
return display_;
}
-gfx::Display CastScreen::GetPrimaryDisplay() const {
+display::Display CastScreen::GetPrimaryDisplay() const {
return display_;
}
-void CastScreen::AddObserver(gfx::DisplayObserver* observer) {
-}
+void CastScreen::AddObserver(display::DisplayObserver* observer) {}
-void CastScreen::RemoveObserver(gfx::DisplayObserver* observer) {
-}
+void CastScreen::RemoveObserver(display::DisplayObserver* observer) {}
CastScreen::CastScreen() : display_(kDisplayId) {
display_.SetScaleAndBounds(1.0f,
« no previous file with comments | « chromecast/graphics/cast_screen.h ('k') | chromecast/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698