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

Unified Diff: third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp

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/web/ColorChooserPopupUIController.cpp
diff --git a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
index 2d8f22de4f9ddec67b3f7ac55c8d2334ee44c60a..f82c29a18b628d33d506bca7e8beafe083f72679 100644
--- a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
+++ b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
@@ -112,6 +112,7 @@ void ColorChooserPopupUIController::writeDocument(SharedBuffer* data)
PagePopupClient::addProperty("values", suggestionValues, data);
PagePopupClient::addProperty("otherColorLabel", locale().queryString(WebLocalizedString::OtherColorLabel), data);
addProperty("anchorRectInScreen", anchorRectInScreen, data);
+ addProperty("zoomFactor", zoomFactor(), data);
PagePopupClient::addString("};\n", data);
data->append(Platform::current()->loadResource("pickerCommon.js"));
data->append(Platform::current()->loadResource("colorSuggestionPicker.js"));
« no previous file with comments | « third_party/WebKit/Source/core/page/PagePopupClient.cpp ('k') | third_party/WebKit/Source/web/DateTimeChooserImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698