RESOLVED FIXED 91801
[Chromium] Add WebView::zoomToFindInPageRect for Android
https://bugs.webkit.org/show_bug.cgi?id=91801
Summary [Chromium] Add WebView::zoomToFindInPageRect for Android
Adam Barth
Reported 2012-07-19 16:58:35 PDT
[Chromium] Add WebView::zoomToFindInPageRect for Android
Attachments
Patch (4.12 KB, patch)
2012-07-19 17:01 PDT, Adam Barth
no flags
Patch for landing (5.60 KB, patch)
2012-07-20 10:35 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2012-07-19 17:01:16 PDT
WebKit Review Bot
Comment 2 2012-07-19 21:06:31 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Adam Barth
Comment 3 2012-07-20 09:54:22 PDT
Anyone care to review this patch? It's relatively straightforward.
Tony Chang
Comment 4 2012-07-20 10:06:02 PDT
Comment on attachment 153380 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=153380&action=review > Source/WebKit/chromium/src/WebViewImpl.cpp:1087 > + double durationSec = isDoubleTap ? 0.25 : 0; Nit: Should we move .25 into a named constant? Also, durationSec -> durationSeconds
Darin Fisher (:fishd, Google)
Comment 5 2012-07-20 10:10:18 PDT
Comment on attachment 153380 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=153380&action=review > Source/WebKit/chromium/src/WebViewImpl.cpp:1076 > +void WebViewImpl::animateZoomAroundPoint(const IntPoint& point, AutoZoomType zoomType) nit: methods defined in the .cpp file should be listed in the same order as they appear in the .h file :-)
Adam Barth
Comment 6 2012-07-20 10:15:59 PDT
(In reply to comment #5) > (From update of attachment 153380 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=153380&action=review > > > Source/WebKit/chromium/src/WebViewImpl.cpp:1076 > > +void WebViewImpl::animateZoomAroundPoint(const IntPoint& point, AutoZoomType zoomType) > > nit: methods defined in the .cpp file should be listed in the same order as they appear in the .h file :-) I was afraid you were going to say that. That's a big job for WebViewImpl.cpp. :) I've tried to put these diffs in the same location in the file as they exist in the chromium-android branch to make it easier for the folks doing the merges from trunk to the branch. I'll make you a deal: once we've unforked WebViewImpl.cpp, I'll fix the function ordering for the entire file.
Adam Barth
Comment 7 2012-07-20 10:35:23 PDT
Created attachment 153537 [details] Patch for landing
WebKit Review Bot
Comment 8 2012-07-20 11:19:56 PDT
Comment on attachment 153537 [details] Patch for landing Clearing flags on attachment: 153537 Committed r123241: <http://trac.webkit.org/changeset/123241>
WebKit Review Bot
Comment 9 2012-07-20 11:20:01 PDT
All reviewed patches have been landed. Closing bug.
Darin Fisher (:fishd, Google)
Comment 10 2012-07-20 12:08:05 PDT
(In reply to comment #6) > I'll make you a deal: once we've unforked WebViewImpl.cpp, I'll fix the function ordering for the entire file. OK, no worries.
Note You need to log in before you can comment on or make changes to this bug.