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

Issue 10905058: Upstream the Android port find-in-page feature. (Closed)

Created:
8 years, 3 months ago by Leandro Graciá Gil
Modified:
8 years, 3 months ago
Reviewers:
joth, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Upstream the Android port find-in-page feature. This patch provides the find-in-page Chromium code for the Android port. Further code implementing the feature for Android WebView will be added later in a different patch. Unlike the previous approach (CL 10699024) this patch uses the FindTabHelper class as Desktop Chrome does, introducing its new required APIs there. It also introduces FindMatchRects in a way symmetrical to the current Find/FindReply implementation in order to simplify any possible future adoption of this API by other platforms. BUG=136762 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154893

Patch Set 1 #

Total comments: 20

Patch Set 2 : review fixes. #

Total comments: 4

Patch Set 3 : nit fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+592 lines, -22 lines) Patch
M base/android/jni_generator/jni_generator.py View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java View 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/FindMatchRectsDetails.java View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java View 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_web_contents_delegate_android.h View 1 3 chunks +36 lines, -1 line 0 comments Download
M chrome/browser/android/chrome_web_contents_delegate_android.cc View 1 4 chunks +197 lines, -0 lines 0 comments Download
A chrome/browser/ui/find_bar/find_match_rects_details.h View 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/ui/find_bar/find_match_rects_details.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/find_bar/find_tab_helper.h View 1 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/find_bar/find_tab_helper.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/android/content_view_client.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 chunks +45 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentView.java View 1 1 chunk +0 lines, -10 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/browser/render_view_host.h View 1 chunk +10 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 4 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Leandro Graciá Gil
joth: any Android-specific code, either Java or native. jam: all the interactions with the content ...
8 years, 3 months ago (2012-09-03 07:12:59 UTC) #1
jam
my initial reading of this is that there are two different code paths for searching, ...
8 years, 3 months ago (2012-09-03 16:50:15 UTC) #2
Leandro Graciá Gil
On 2012/09/03 16:50:15, John Abd-El-Malek wrote: > my initial reading of this is that there ...
8 years, 3 months ago (2012-09-04 06:00:22 UTC) #3
jam
https://codereview.chromium.org/10905058/diff/1/chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java File chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java (right): https://codereview.chromium.org/10905058/diff/1/chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java#newcode13 chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java:13: public class FindNotificationDetails { question: do you need all ...
8 years, 3 months ago (2012-09-04 16:39:09 UTC) #4
Leandro Graciá Gil
https://codereview.chromium.org/10905058/diff/1/chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java File chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java (right): https://codereview.chromium.org/10905058/diff/1/chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java#newcode13 chrome/android/java/src/org/chromium/chrome/browser/FindNotificationDetails.java:13: public class FindNotificationDetails { We need to use the ...
8 years, 3 months ago (2012-09-04 18:25:50 UTC) #5
joth
lgtm for the android files https://codereview.chromium.org/10905058/diff/9002/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/10905058/diff/9002/content/browser/web_contents/web_contents_impl.h#newcode32 content/browser/web_contents/web_contents_impl.h:32: #endif nit: make the ...
8 years, 3 months ago (2012-09-04 22:43:31 UTC) #6
Leandro Graciá Gil
https://codereview.chromium.org/10905058/diff/9002/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/10905058/diff/9002/content/browser/web_contents/web_contents_impl.h#newcode32 content/browser/web_contents/web_contents_impl.h:32: #endif On 2012/09/04 22:43:31, joth wrote: > nit: make ...
8 years, 3 months ago (2012-09-05 00:57:09 UTC) #7
jam
lgtm
8 years, 3 months ago (2012-09-05 01:22:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/10905058/9006
8 years, 3 months ago (2012-09-05 01:23:45 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-09-05 03:46:38 UTC) #10
Change committed as 154893

Powered by Google App Engine
This is Rietveld 408576698