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

Unified Diff: extensions/shell/browser/shell_screen.cc

Issue 1924133002: Rename gfx::Display/Screen to display::Display/Screen in extensions (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
« no previous file with comments | « extensions/shell/browser/shell_screen.h ('k') | extensions/shell/browser/shell_screen_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_screen.cc
diff --git a/extensions/shell/browser/shell_screen.cc b/extensions/shell/browser/shell_screen.cc
index 14c54015b14a15e70b2591990eded19f034e98ef..4b103bed87b6ab24ebf5df45d461cb95cda462e6 100644
--- a/extensions/shell/browser/shell_screen.cc
+++ b/extensions/shell/browser/shell_screen.cc
@@ -57,7 +57,7 @@ void ShellScreen::OnWindowDestroying(aura::Window* window) {
host_ = nullptr;
}
-// gfx::Screen overrides:
+// display::Screen overrides:
gfx::Point ShellScreen::GetCursorScreenPoint() {
return aura::Env::GetInstance()->last_mouse_location();
@@ -75,33 +75,31 @@ int ShellScreen::GetNumDisplays() const {
return 1;
}
-std::vector<gfx::Display> ShellScreen::GetAllDisplays() const {
- return std::vector<gfx::Display>(1, display_);
+std::vector<display::Display> ShellScreen::GetAllDisplays() const {
+ return std::vector<display::Display>(1, display_);
}
-gfx::Display ShellScreen::GetDisplayNearestWindow(
+display::Display ShellScreen::GetDisplayNearestWindow(
gfx::NativeWindow window) const {
return display_;
}
-gfx::Display ShellScreen::GetDisplayNearestPoint(
+display::Display ShellScreen::GetDisplayNearestPoint(
const gfx::Point& point) const {
return display_;
}
-gfx::Display ShellScreen::GetDisplayMatching(
+display::Display ShellScreen::GetDisplayMatching(
const gfx::Rect& match_rect) const {
return display_;
}
-gfx::Display ShellScreen::GetPrimaryDisplay() const {
+display::Display ShellScreen::GetPrimaryDisplay() const {
return display_;
}
-void ShellScreen::AddObserver(gfx::DisplayObserver* observer) {
-}
+void ShellScreen::AddObserver(display::DisplayObserver* observer) {}
-void ShellScreen::RemoveObserver(gfx::DisplayObserver* observer) {
-}
+void ShellScreen::RemoveObserver(display::DisplayObserver* observer) {}
} // namespace extensions
« no previous file with comments | « extensions/shell/browser/shell_screen.h ('k') | extensions/shell/browser/shell_screen_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698