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

Unified Diff: ui/display/screen_base.h

Issue 2468093003: Makes Screen functions take a const gfx::NativeView (Closed)
Patch Set: merge 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 | « ui/display/screen.h ('k') | ui/display/screen_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/screen_base.h
diff --git a/ui/display/screen_base.h b/ui/display/screen_base.h
index 3b206af14cbeaebd88e1cba8807df9ac54931e9a..7ba4c3eef737b7128090ea80d9936925659a43a4 100644
--- a/ui/display/screen_base.h
+++ b/ui/display/screen_base.h
@@ -33,7 +33,7 @@ class DISPLAY_EXPORT ScreenBase : public Screen {
bool IsWindowUnderCursor(gfx::NativeWindow window) override;
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override;
Display GetPrimaryDisplay() const override;
- Display GetDisplayNearestWindow(gfx::NativeView view) const override;
+ Display GetDisplayNearestWindow(const gfx::NativeView view) const override;
Display GetDisplayNearestPoint(const gfx::Point& point) const override;
int GetNumDisplays() const override;
std::vector<Display> GetAllDisplays() const override;
« no previous file with comments | « ui/display/screen.h ('k') | ui/display/screen_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698