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

Unified Diff: headless/lib/browser/headless_screen.h

Issue 2751833004: Reland "Add display::GetDisplayNearestView" (Closed)
Patch Set: Created 3 years, 9 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') | headless/lib/browser/headless_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_screen.h
diff --git a/headless/lib/browser/headless_screen.h b/headless/lib/browser/headless_screen.h
index b8331a67b0b846f0e30d60649b00d274c5197458..74a63fe61e91ae51738a9015af5f17906ffd33a3 100644
--- a/headless/lib/browser/headless_screen.h
+++ b/headless/lib/browser/headless_screen.h
@@ -28,7 +28,8 @@ class HeadlessScreen : public display::ScreenBase {
gfx::Point GetCursorScreenPoint() override;
bool IsWindowUnderCursor(gfx::NativeWindow window) override;
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override;
- display::Display GetDisplayNearestWindow(gfx::NativeView view) const override;
+ display::Display GetDisplayNearestWindow(
+ gfx::NativeWindow window) const override;
private:
explicit HeadlessScreen(const gfx::Rect& screen_bounds);
« no previous file with comments | « extensions/shell/browser/shell_screen.h ('k') | headless/lib/browser/headless_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698