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

Unified Diff: ash/display/screen_ash.h

Issue 2489873002: Change GetAllDisplays() in all screens to return a const vector&. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | ash/display/screen_ash.cc » ('j') | ui/display/win/screen_win.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/screen_ash.h
diff --git a/ash/display/screen_ash.h b/ash/display/screen_ash.h
index c315caf77a55ab31ecd022241bed6c470d38c99f..4da38776f65508dfd8ce14a06611d82b075f6b3b 100644
--- a/ash/display/screen_ash.h
+++ b/ash/display/screen_ash.h
@@ -34,7 +34,7 @@ class ASH_EXPORT ScreenAsh : public display::Screen {
bool IsWindowUnderCursor(gfx::NativeWindow window) override;
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override;
int GetNumDisplays() const override;
- std::vector<display::Display> GetAllDisplays() const override;
+ const std::vector<display::Display>& GetAllDisplays() const override;
display::Display GetDisplayNearestWindow(gfx::NativeView view) const override;
display::Display GetDisplayNearestPoint(
const gfx::Point& point) const override;
« no previous file with comments | « no previous file | ash/display/screen_ash.cc » ('j') | ui/display/win/screen_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698