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

Issue 11359200: Upstream the pagescalefactor fix for plugin placeholder on android (Closed)

Created:
8 years, 1 month ago by qinmin
Modified:
8 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Upstream the pagescalefactor fix for plugin placeholder on android Currently webview_plugin.cc does not take pagescalefactor into consideration and plugin placeholders are rendered incorrectly. As the webkit passes in window coordinates, we need to convert it back to the content coordinates so that the place holder will be sized correctly. This change should only affect platforms where pagescalefactor is being used. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168444

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressing comments #

Patch Set 3 : fix the order of #include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M webkit/plugins/webview_plugin.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/webview_plugin.cc View 1 2 4 chunks +26 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
qinmin
PTAL
8 years, 1 month ago (2012-11-14 02:47:57 UTC) #1
jam
I'm not really familiar with this code. bauerb created this. adding him as a reviewer, ...
8 years, 1 month ago (2012-11-14 20:59:55 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/11359200/diff/1/webkit/plugins/webview_plugin.cc File webkit/plugins/webview_plugin.cc (right): https://codereview.chromium.org/11359200/diff/1/webkit/plugins/webview_plugin.cc#newcode133 webkit/plugins/webview_plugin.cc:133: ->pageScaleFactor(); Urgh. Could you extract something in here to ...
8 years, 1 month ago (2012-11-14 21:12:00 UTC) #3
qinmin
https://codereview.chromium.org/11359200/diff/1/webkit/plugins/webview_plugin.cc File webkit/plugins/webview_plugin.cc (right): https://codereview.chromium.org/11359200/diff/1/webkit/plugins/webview_plugin.cc#newcode130 webkit/plugins/webview_plugin.cc:130: float pageScaleFactor = 1.0f; On 2012/11/14 20:59:55, John Abd-El-Malek ...
8 years, 1 month ago (2012-11-14 22:16:59 UTC) #4
qinmin
ping. Bernhard, is this good to go now?
8 years, 1 month ago (2012-11-16 18:15:55 UTC) #5
Bernhard Bauer
Oh, sorry. LGTM!
8 years, 1 month ago (2012-11-16 18:33:33 UTC) #6
qinmin
On 2012/11/16 18:33:33, Bernhard Bauer wrote: > Oh, sorry. LGTM! thank you
8 years, 1 month ago (2012-11-16 18:35:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/11359200/7001
8 years, 1 month ago (2012-11-16 18:36:53 UTC) #8
commit-bot: I haz the power
Presubmit check for 11359200-7001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-16 18:36:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/11359200/11002
8 years, 1 month ago (2012-11-16 18:45:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/11359200/11002
8 years, 1 month ago (2012-11-17 14:13:42 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-17 15:53:08 UTC) #12
Change committed as 168444

Powered by Google App Engine
This is Rietveld 408576698