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

Unified Diff: third_party/WebKit/Source/core/page/PagePopupClient.h

Issue 1454613002: Page popups should respect zoom factor of the anchor element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add 1.25 zoom tests Created 5 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: third_party/WebKit/Source/core/page/PagePopupClient.h
diff --git a/third_party/WebKit/Source/core/page/PagePopupClient.h b/third_party/WebKit/Source/core/page/PagePopupClient.h
index f61be1ddf38975deb497d7fba7a6936880d77106..dd0cd617ebd7ee13b8e16e809df0c81bb3ecd25e 100644
--- a/third_party/WebKit/Source/core/page/PagePopupClient.h
+++ b/third_party/WebKit/Source/core/page/PagePopupClient.h
@@ -56,6 +56,9 @@ public:
virtual void selectFontsFromOwnerDocument(Document&) = 0;
virtual Element& ownerElement() = 0;
+ // Returns effective zoom factor of ownerElement, or the page zoom factor if
+ // the effective zoom factor is not available.
+ float zoomFactor();
// Returns a Locale object associated to the client.
virtual Locale& locale() = 0;

Powered by Google App Engine
This is Rietveld 408576698