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

Unified Diff: content/public/renderer/render_view.h

Issue 1456753002: Compute the popup location/size correctly when use-zoom-for-dsf is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index 1f0a2358e606ba01c81b3ebb29548c57ba47f523..a2d4425cf005f7f8ef1af2df019c89437d09e7cd 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -124,11 +124,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
bool animate) = 0;
#endif
- // Converts the |rect| from Blink's Viewport coordinates to the
- // coordinates in the native window used to display the content, in
- // DIP. They're identical in tradional world, but will differ when
- // use-zoom-for-dsf feature is eanbled, and Viewport coordinates
- // becomes DSF times larger than window coordinates.
+ // Converts the |rect| from Blink's Viewport coordinates to Window
+ // coordinates. See the comment on
+ // WebWidgetClient::convertViewportToWindow() for more details.
virtual void convertViewportToWindow(blink::WebRect* rect) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698