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

Unified Diff: ui/views/widget/desktop_aura/desktop_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
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 212f9b7bf3a7d6e20e1a6905bde3e75547417003..53cacea7913d8a272f7b77d2dbb8efc396b2a283 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -161,11 +161,12 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
void HideImpl() override;
gfx::Rect GetBoundsInPixels() const override;
void SetBoundsInPixels(const gfx::Rect& requested_bounds_in_pixels) override;
- gfx::Point GetLocationOnNativeScreen() const override;
+ gfx::Point GetLocationOnScreenInPixels() const override;
void SetCapture() override;
void ReleaseCapture() override;
void SetCursorNative(gfx::NativeCursor cursor) override;
- void MoveCursorToNative(const gfx::Point& location) override;
+ void MoveCursorToScreenLocationInPixels(
+ const gfx::Point& location_in_pixels) override;
void OnCursorVisibilityChangedNative(bool show) override;
private:

Powered by Google App Engine
This is Rietveld 408576698