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

Unified Diff: ui/aura/window_tree_host_x11.h

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: win 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/aura/window_tree_host_unittest.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_x11.h
diff --git a/ui/aura/window_tree_host_x11.h b/ui/aura/window_tree_host_x11.h
index fa6c2a8c1d3ef3d09148ebb2aaa990e01c5211de..7cea1643c06dd2dc38f62a1cf3701108ec173d87 100644
--- a/ui/aura/window_tree_host_x11.h
+++ b/ui/aura/window_tree_host_x11.h
@@ -45,11 +45,12 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
void HideImpl() override;
gfx::Rect GetBoundsInPixels() const override;
void SetBoundsInPixels(const gfx::Rect& bounds) override;
- gfx::Point GetLocationOnNativeScreen() const override;
+ gfx::Point GetLocationOnScreenInPixels() const override;
void SetCapture() override;
void ReleaseCapture() override;
void SetCursorNative(gfx::NativeCursor cursor_type) override;
- void MoveCursorToNative(const gfx::Point& location) override;
+ void MoveCursorToScreenLocationInPixels(
+ const gfx::Point& location_in_pixels) override;
void OnCursorVisibilityChangedNative(bool show) override;
// Deselects mouse and keyboard events on |xwindow_|.
« no previous file with comments | « ui/aura/window_tree_host_unittest.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698