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

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

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: 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 7392fe5038f7ba6ba783eb52fb044ced193fca8e..091cb0e4712f47a583e7b9c0df27ca3e7a58d3c0 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 OnHostMovedInPixels(const aura::WindowTreeHost* host,
+ const gfx::Point& new_origin_in_pixels) override {
TRACE_EVENT1("ui",
- "WebContentsViewAura::WindowObserver::OnHostMoved",
- "new_origin", new_origin.ToString());
+ "WebContentsViewAura::WindowObserver::OnHostMovedInPixels",
+ "new_origin_in_pixels", new_origin_in_pixels.ToString());
// This is for the desktop case (i.e. Aura desktop).
SendScreenRects();

Powered by Google App Engine
This is Rietveld 408576698