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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (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
Index: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index a27ff8ea0e1f2f0ed0051ecc442d6cd0bcec5cd8..bf3dc759fd232753f4b0692524f19a5b35f89a0f 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -484,11 +484,11 @@ class WebContentsViewAura::WindowObserver
}
// Overridden WindowTreeHostObserver:
- void OnHostMoved(const aura::WindowTreeHost* host,
- const gfx::Point& new_origin) override {
+ void OnHostMovedInPixel(const aura::WindowTreeHost* host,
+ const gfx::Point& new_origin_in_pixel) override {
TRACE_EVENT1("ui",
- "WebContentsViewAura::WindowObserver::OnHostMoved",
- "new_origin", new_origin.ToString());
+ "WebContentsViewAura::WindowObserver::OnHostMovedInPixel",
+ "new_origin_in_pixel", new_origin_in_pixel.ToString());
// This is for the desktop case (i.e. Aura desktop).
SendScreenRects();

Powered by Google App Engine
This is Rietveld 408576698