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

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)

Created:
3 years, 6 months ago by rlanday
Modified:
3 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, agrieve+watch_chromium.org, android-webview-reviews_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-frames_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, groby+blinkspell_chromium.org, haraken, jam, nona+watch_chromium.org, qsr+mojo_chromium.org, shuchen+watch_chromium.org, James Su, timvolodine, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for Android spellcheck menu in Chrome/WebViews Currently, in Chrome and in WebViews, tapping misspelled words on Android (that have red underlines) doesn't do anything. In a native text box, tapping a misspelled word opens a menu that allows the user to pick from a list of suggested replacements (if any), delete the misspelled word, or add it to the system dictionary. This CL ports this menu to Chrome and WebViews. Before this project, the list of spelling suggestions from the Android spellchecker was being discarded. https://codereview.chromium.org/2905003003 fixes this so the suggestions are passed through to the Spelling DocumentMarkers. This CL adds code to SelectionController::HandleSingleClick() to check if the user tapped on a misspelled word, and if so, send a Mojo message from the renderer to the browser to start a timer to open the spellcheck menu unless we receive another tap within the double-tap timeout threshold (note: this CL restricts the spellcheck menu to Android by not handling this message on any other platform). If the timer expires, a message is sent back to the renderer to try to open the spellcheck menu (nothing happens if the spelling marker no longer exists). If the renderer decides the spellcheck menu should be opened, it highlights the misspelled word with in red using an ActiveSuggestionMarker (added in https://codereview.chromium.org/2923033002), hides the caret, and sends another message back to the browser with a list of spelling suggestions (if any). The layout files for the menu and the logic for showing it were ported over from the implementation for the same menu in android.widget.Editor. Some of the XML files were modified slightly to avoid dependencies on internal Android system resources or newer Android versions. Tapping outside the spellcheck menu closes it, and sends a message to Blink telling it to remove the highlight and show the caret again. There are three other messages for applying a suggestion, deleting the misspelled word, and adding the word to the dictionary. For adding the word to the dictionary, I'm using the same Android intent the native textbox uses, with the same wonky behavior that the spellcheck marker is removed immediately when the user taps "Add to dictionary", before the user has gone through the confirmation dialog. BUG=715365 Review-Url: https://codereview.chromium.org/2931443003 Cr-Commit-Position: refs/heads/master@{#489505} Committed: https://chromium.googlesource.com/chromium/src/+/e4a6ec83ec32b4f139794f39bf2cbb0b25617b56

Patch Set 1 #

Total comments: 27

Patch Set 2 : Respond to yosin@'s comments #

Total comments: 8

Patch Set 3 : Split off SpellChecker changes #

Total comments: 1

Patch Set 4 : Rebase on moving color to LayoutTheme, do beforeinput stuff #

Total comments: 3

Patch Set 5 : Rebase #

Patch Set 6 : Fix PopupZoomerTest biuld #

Patch Set 7 : Re-upload with no changes because I screwed something up trying to cancel the last upload when I sa… #

Total comments: 9

Patch Set 8 : Respond to comments #

Patch Set 9 : Remove some unused fields in SuggestionsPopupWindow, don't hold reference to mutable array passed in #

Total comments: 2

Patch Set 10 : Rebase #

Patch Set 11 : Rebase on DocumentShutdownObserver CL #

Total comments: 5

Patch Set 12 : Respond to xiaochengh's comments #

Patch Set 13 : Fix dependency #

Total comments: 8

Patch Set 14 : Respond to aelias@'s comments #

Total comments: 18

Patch Set 15 : Attempt to fix trybots #

Patch Set 16 : Respond to yosin@'s and aelias@'s comments #

Patch Set 17 : Split off LayoutTheme changes #

Patch Set 18 : Actually split off LayoutTheme changes #

Total comments: 48

Patch Set 19 : Make HandlePotentialMisspelledWordTap() more efficient #

Patch Set 20 : Use correct base commit #

Total comments: 1

Patch Set 21 : Remove leftover traces #

Total comments: 4

Patch Set 22 : Respond to Android-side feedback #

Total comments: 21

Patch Set 23 : Improve positioning logic, hard code menu item color, improve pre-L appearance #

Total comments: 4

Patch Set 24 : Update TextSuggestionControllerTest #

Patch Set 25 : Rebase, respond to comments #

Patch Set 26 : Rebase #

Total comments: 23

Patch Set 27 : Respond to comments #

Patch Set 28 : Un-comment out event.Event().FromTouch() check in SelectionController #

Patch Set 29 : s/override/final/ in TextSuggestionBackendImpl.h #

Patch Set 30 : Make sure we clean up the suggestion highlight properly if a delete operation fails #

Total comments: 12

Patch Set 31 : Add support for Android spellcheck menu in Chrome/WebViews #

Patch Set 32 : Reduce code duplication in TextSuggestionController #

Total comments: 18

Patch Set 33 : Respond to comments, fix DeleteActiveSuggestionRange() bug #

Patch Set 34 : Consolidate mContentView and mContainerView #

Total comments: 8

Patch Set 35 : Respond to latest comments #

Total comments: 13

Patch Set 36 : Respond to UI + editing feedback #

Total comments: 6

Patch Set 37 : Rebase, respond to comments #

Patch Set 38 : Simplify Mojo binding based on rockot@'s advice #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1943 lines, -2 lines) Patch
M android_webview/browser/aw_browser_manifest_overlay.json View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/input/TextSuggestionMenuTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/browser_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +2 lines, -0 lines 0 comments Download
A content/browser/android/text_suggestion_host_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +102 lines, -0 lines 0 comments Download
A content/browser/android/text_suggestion_host_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +202 lines, -0 lines 0 comments Download
A content/browser/android/text_suggestion_host_mojo_impl_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +39 lines, -0 lines 0 comments Download
A content/browser/android/text_suggestion_host_mojo_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +38 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 4 chunks +12 lines, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +3 lines, -0 lines 0 comments Download
A content/public/android/java/res/drawable/floating_popup_background_light.xml View 1 chunk +10 lines, -0 lines 0 comments Download
A content/public/android/java/res/layout/text_edit_suggestion_container.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +14 lines, -0 lines 0 comments Download
A content/public/android/java/res/layout/text_edit_suggestion_item.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +19 lines, -0 lines 0 comments Download
A content/public/android/java/res/layout/text_edit_suggestion_list_footer.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +24 lines, -0 lines 0 comments Download
M content/public/android/java/res/values-v17/styles.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +17 lines, -0 lines 0 comments Download
M content/public/android/java/res/values-v21/styles.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +16 lines, -1 line 0 comments Download
A content/public/android/java/res/values/colors.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/android/java/res/values/dimens.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 7 chunks +21 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +380 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/input/TextSuggestionHost.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +123 lines, -0 lines 0 comments Download
M content/public/android/java/strings/android_content_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/app/mojo/content_browser_manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M content/public/app/mojo/content_renderer_manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +9 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +71 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +337 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/suggestion/TextSuggestionControllerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +271 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 4 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 4 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/ModulesInitializer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/input_host.mojom View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/input_messages.mojom View 1 chunk +13 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 285 (146 generated)
rlanday
This is based on my CL to add support for SuggestionSpans on Android (not yet ...
3 years, 6 months ago (2017-06-06 21:02:15 UTC) #2
rlanday
https://codereview.chromium.org/2931443003/diff/1/third_party/WebKit/Source/core/events/InputEvent.h File third_party/WebKit/Source/core/events/InputEvent.h (right): https://codereview.chromium.org/2931443003/diff/1/third_party/WebKit/Source/core/events/InputEvent.h#newcode42 third_party/WebKit/Source/core/events/InputEvent.h:42: kDeleteByComposition, See the Input Events Level 2 working draft: ...
3 years, 6 months ago (2017-06-06 21:06:01 UTC) #3
rlanday
Here's a set of screenshots that show how my implementation of the spellcheck menu compares ...
3 years, 6 months ago (2017-06-06 21:45:15 UTC) #8
rlanday
It looks like the trybots are failing because I'm including "mojo/public/cpp/bindings/strong_binding.h" from inside core/editing (in ...
3 years, 6 months ago (2017-06-06 21:52:25 UTC) #9
rlanday
https://codereview.chromium.org/2931443003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h File third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h (right): https://codereview.chromium.org/2931443003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h#newcode77 third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h:77: GetSpellCheckMarkerTouchingSelection(); This method's eventually going to need to be ...
3 years, 6 months ago (2017-06-07 01:04:08 UTC) #10
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/1/content/browser/android/ime_adapter_android.cc File content/browser/android/ime_adapter_android.cc (right): https://codereview.chromium.org/2931443003/diff/1/content/browser/android/ime_adapter_android.cc#newcode42 content/browser/android/ime_adapter_android.cc:42: int kDoubleTapTimeoutInMilliseconds = 300; nit: s/int/const int/ https://codereview.chromium.org/2931443003/diff/1/content/browser/android/ime_adapter_android.cc#newcode303 content/browser/android/ime_adapter_android.cc:303: ...
3 years, 6 months ago (2017-06-07 01:34:16 UTC) #11
aelias_OOO_until_Jul13
https://codereview.chromium.org/2931443003/diff/1/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/1/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode34 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:34: public class SuggestionsPopupWindow implements OnItemClickListener, OnDismissListener { > Here's ...
3 years, 6 months ago (2017-06-07 03:02:59 UTC) #12
rlanday
On 2017/06/07 at 03:02:59, aelias wrote: > Do we understand why Hangouts and Messages have ...
3 years, 6 months ago (2017-06-07 04:01:17 UTC) #13
rlanday
https://codereview.chromium.org/2931443003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2931443003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode941 content/browser/renderer_host/render_widget_host_view_android.cc:941: // Receiving any other touch event before the double-tap ...
3 years, 6 months ago (2017-06-07 04:03:55 UTC) #14
rlanday
On 2017/06/07 at 04:01:17, rlanday wrote: > On 2017/06/07 at 03:02:59, aelias wrote: > > ...
3 years, 6 months ago (2017-06-07 17:40:15 UTC) #15
rlanday
https://codereview.chromium.org/2931443003/diff/1/content/browser/BUILD.gn File content/browser/BUILD.gn (right): https://codereview.chromium.org/2931443003/diff/1/content/browser/BUILD.gn#newcode293 content/browser/BUILD.gn:293: "android/text_suggestion_host_impl.cc", Should these be in the in_android() selection of ...
3 years, 6 months ago (2017-06-07 20:27:46 UTC) #16
rlanday
Updated in response to yosin@'s comments
3 years, 6 months ago (2017-06-07 20:31:24 UTC) #18
yosin_UTC9
+chongz@ for introducing "deleteByComposition" and use it in TextSuggestionController. https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode283 third_party/WebKit/Source/core/editing/SelectionController.cpp:283: ...
3 years, 6 months ago (2017-06-08 01:50:09 UTC) #23
rlanday
On 2017/06/08 at 01:50:09, yosin wrote: https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode122 > Is it better to use "deleteContent" or ...
3 years, 6 months ago (2017-06-08 03:20:43 UTC) #24
yosin_UTC9
On 2017/06/08 at 03:20:43, rlanday wrote: > On 2017/06/08 at 01:50:09, yosin wrote: > https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode122 ...
3 years, 6 months ago (2017-06-08 05:05:14 UTC) #25
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode153 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:153: const String& misspelled_word = marker_range->GetText(); Please use PlaintText() instead ...
3 years, 6 months ago (2017-06-08 05:06:50 UTC) #26
rlanday
On 2017/06/08 at 05:05:14, yosin wrote: > On 2017/06/08 at 03:20:43, rlanday wrote: > > ...
3 years, 6 months ago (2017-06-08 06:15:57 UTC) #27
chongz
https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode122 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:122: "", false, false, InputEvent::InputType::kDeleteByComposition); On 2017/06/08 03:20:43, rlanday wrote: ...
3 years, 6 months ago (2017-06-08 15:49:16 UTC) #28
rlanday
https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode122 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:122: "", false, false, InputEvent::InputType::kDeleteByComposition); On 2017/06/08 at 01:50:09, yosin_UTC9 ...
3 years, 6 months ago (2017-06-08 18:35:41 UTC) #29
rlanday
On 2017/06/08 at 01:50:09, yosin wrote: > https://codereview.chromium.org/2931443003/diff/20001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode161 > third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:161: Color(SK_ColorRED).CombineWithAlpha(kSuggestionUnderlineAlphaMultiplier)); > Could you move ...
3 years, 6 months ago (2017-06-08 18:40:37 UTC) #30
rlanday
I've split off the SpellChecker changes into https://codereview.chromium.org/2925363002 and addressed the easier comments. It does ...
3 years, 6 months ago (2017-06-08 22:58:21 UTC) #33
yosin_UTC9
On 2017/06/08 at 22:58:21, rlanday wrote: > I've split off the SpellChecker changes into https://codereview.chromium.org/2925363002 ...
3 years, 6 months ago (2017-06-09 01:32:40 UTC) #36
chongz
https://codereview.chromium.org/2931443003/diff/40001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/40001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode122 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:122: "", false, false, InputEvent::InputType::kInsertReplacementText); I can't find where 'beforeinput' ...
3 years, 6 months ago (2017-06-09 15:15:40 UTC) #37
rlanday
Updated https://codereview.chromium.org/2931443003/diff/60001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/60001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode141 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:141: GetFrame().GetDocument()->UpdateStyleAndLayoutIgnorePendingStylesheets(); Do we need this? SpellChecker::ReplaceMisspelledRange() calls this ...
3 years, 6 months ago (2017-06-09 23:52:34 UTC) #40
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h (right): https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h#newcode24 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h:24: void ApplySpellCheckSuggestion(const WTF::String& suggestion) override; nit: %s/WTF::String/String/ Since WTFString.h ...
3 years, 6 months ago (2017-06-13 06:29:32 UTC) #51
rlanday
https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode184 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:184: .PlatformSpellingMarkerUnderlineColor() On 2017/06/13 at 06:29:31, yosin_UTC9 wrote: > Could ...
3 years, 6 months ago (2017-06-13 06:59:28 UTC) #52
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode184 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:184: .PlatformSpellingMarkerUnderlineColor() On 2017/06/13 at 06:59:27, rlanday wrote: > On ...
3 years, 6 months ago (2017-06-13 07:12:15 UTC) #53
Xiaocheng
https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode57 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:57: namespace { nit: Shouldn't have two anonymous namespaces. https://codereview.chromium.org/2931443003/diff/120001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode76 ...
3 years, 6 months ago (2017-06-13 18:17:42 UTC) #55
rlanday
Updated
3 years, 6 months ago (2017-06-13 19:30:57 UTC) #57
Xiaocheng
https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode206 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:206: if (!frame_) This doesn't work because |frame_| won't be ...
3 years, 6 months ago (2017-06-14 00:44:38 UTC) #69
rlanday
On 2017/06/14 at 00:44:38, xiaochengh wrote: > https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp > File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): > > https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode206 ...
3 years, 6 months ago (2017-06-14 00:50:44 UTC) #70
Xiaocheng
On 2017/06/14 at 00:50:44, rlanday wrote: > On 2017/06/14 at 00:44:38, xiaochengh wrote: > > ...
3 years, 6 months ago (2017-06-14 01:00:51 UTC) #71
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode206 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:206: if (!frame_) On 2017/06/14 at 00:44:38, Xiaocheng wrote: > ...
3 years, 6 months ago (2017-06-14 01:17:04 UTC) #72
rlanday
On 2017/06/14 at 01:17:04, yosin wrote: > https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp > File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): > > https://codereview.chromium.org/2931443003/diff/160001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode206 ...
3 years, 6 months ago (2017-06-14 01:22:39 UTC) #73
yosin_UTC9
On 2017/06/14 at 01:22:39, rlanday wrote: > On 2017/06/14 at 01:17:04, yosin wrote: > > ...
3 years, 6 months ago (2017-06-14 05:20:35 UTC) #74
rlanday
Ok, I've added DocumentShutdown{Observer,Notifier} in https://codereview.chromium.org/2939223003 and rebased this CL on top. On an unrelated ...
3 years, 6 months ago (2017-06-15 23:57:37 UTC) #77
Xiaocheng
It seems fine to me to filter ZWS from suggestion results. Just curious, why does ...
3 years, 6 months ago (2017-06-16 00:23:33 UTC) #80
rlanday
On 2017/06/16 at 00:23:33, xiaochengh wrote: > It seems fine to me to filter ZWS ...
3 years, 6 months ago (2017-06-16 00:47:30 UTC) #83
yosin_UTC9
Code shape of Blink part seems to be OK. To move forward, please get "looks ...
3 years, 6 months ago (2017-06-16 01:21:05 UTC) #90
aelias_OOO_until_Jul13
https://codereview.chromium.org/2931443003/diff/240001/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java File content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java (right): https://codereview.chromium.org/2931443003/diff/240001/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java#newcode928 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java:928: public float getContentOffsetYPix() { Please add the offset to ...
3 years, 6 months ago (2017-06-16 01:25:15 UTC) #91
rlanday
https://codereview.chromium.org/2931443003/diff/240001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h (right): https://codereview.chromium.org/2931443003/diff/240001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h#newcode20 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionBackendImpl.h:20: explicit TextSuggestionBackendImpl(LocalFrame&); On 2017/06/16 at 01:21:04, yosin_UTC9 wrote: > ...
3 years, 6 months ago (2017-06-16 22:16:54 UTC) #92
rlanday
https://codereview.chromium.org/2931443003/diff/240001/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java File content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java (right): https://codereview.chromium.org/2931443003/diff/240001/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java#newcode932 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java:932: public void applySpellCheckSuggestion(String suggestion) { On 2017/06/16 at 01:25:14, ...
3 years, 6 months ago (2017-06-18 02:32:30 UTC) #93
rlanday
Updated with aelias@'s requested changes. Here is an updated list of files for each OWNER ...
3 years, 6 months ago (2017-06-19 21:38:02 UTC) #96
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode283 third_party/WebKit/Source/core/editing/SelectionController.cpp:283: frame_->GetTextSuggestionController().HandlePotentialMisspelledWordTap(); Do we really want to ask spell checker ...
3 years, 6 months ago (2017-06-20 01:46:37 UTC) #99
aelias_OOO_until_Jul13
Browser-side lgtm modulo minor comments https://codereview.chromium.org/2931443003/diff/260001/content/browser/android/text_suggestion_host_android.h File content/browser/android/text_suggestion_host_android.h (right): https://codereview.chromium.org/2931443003/diff/260001/content/browser/android/text_suggestion_host_android.h#newcode5 content/browser/android/text_suggestion_host_android.h:5: #ifndef TEXT_SUGGESTION_HOST_ANDROID_H_ nit: standard ...
3 years, 6 months ago (2017-06-20 02:55:04 UTC) #100
rlanday
https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode283 third_party/WebKit/Source/core/editing/SelectionController.cpp:283: frame_->GetTextSuggestionController().HandlePotentialMisspelledWordTap(); On 2017/06/20 at 01:46:36, yosin_UTC9 wrote: > Do ...
3 years, 6 months ago (2017-06-20 05:34:22 UTC) #101
rlanday
3 years, 6 months ago (2017-06-20 05:34:23 UTC) #102
Xiaocheng
https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode283 third_party/WebKit/Source/core/editing/SelectionController.cpp:283: frame_->GetTextSuggestionController().HandlePotentialMisspelledWordTap(); On 2017/06/20 at 05:34:21, rlanday wrote: > On ...
3 years, 6 months ago (2017-06-20 05:55:04 UTC) #103
rlanday
On 2017/06/20 at 05:55:04, xiaochengh wrote: > If we move the triggering of spellcheck menu ...
3 years, 6 months ago (2017-06-20 06:05:00 UTC) #104
yosin_UTC9
On 2017/06/20 at 05:34:22, rlanday wrote: > https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp > File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): > > https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode283 ...
3 years, 6 months ago (2017-06-20 06:15:47 UTC) #105
yosin_UTC9
https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2931443003/diff/260001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode283 third_party/WebKit/Source/core/editing/SelectionController.cpp:283: frame_->GetTextSuggestionController().HandlePotentialMisspelledWordTap(); On 2017/06/20 at 05:55:04, Xiaocheng wrote: > On ...
3 years, 6 months ago (2017-06-20 06:47:21 UTC) #106
jochen (gone - plz use gerrit)
which part would you like me to review?
3 years, 6 months ago (2017-06-20 06:47:43 UTC) #107
rlanday
On 2017/06/20 at 06:47:43, jochen wrote: > which part would you like me to review? ...
3 years, 6 months ago (2017-06-20 09:05:07 UTC) #108
rlanday
On 2017/06/20 at 06:47:21, yosin wrote: > Can we tell spelling marker information to selection ...
3 years, 6 months ago (2017-06-20 09:08:47 UTC) #109
rlanday
On 2017/06/20 at 09:08:47, rlanday wrote: > On 2017/06/20 at 06:47:21, yosin wrote: > > ...
3 years, 6 months ago (2017-06-20 18:12:36 UTC) #110
rlanday
I've updated this CL again in response to the most recent round of comments. I ...
3 years, 6 months ago (2017-06-20 21:58:08 UTC) #115
aelias_OOO_until_Jul13
On 2017/06/20 at 21:58:08, rlanday wrote: > I've updated this CL again in response to ...
3 years, 6 months ago (2017-06-20 22:45:57 UTC) #116
rlanday
I tried getting a trace of tapping/clicking around while editing Wikipedia, and I tested on ...
3 years, 6 months ago (2017-06-20 23:15:09 UTC) #117
rlanday
On 2017/06/20 at 23:15:09, rlanday wrote: > I tried getting a trace of tapping/clicking around ...
3 years, 6 months ago (2017-06-20 23:42:13 UTC) #118
rlanday
On 2017/06/20 at 23:42:13, rlanday wrote: > On 2017/06/20 at 23:15:09, rlanday wrote: > > ...
3 years, 6 months ago (2017-06-21 00:23:58 UTC) #119
yosin_UTC9
On 2017/06/21 at 00:23:58, rlanday wrote: > On 2017/06/20 at 23:42:13, rlanday wrote: > > ...
3 years, 6 months ago (2017-06-21 01:38:15 UTC) #122
rlanday
On 2017/06/21 at 01:38:15, yosin wrote: > On 2017/06/21 at 00:23:58, rlanday wrote: > > ...
3 years, 6 months ago (2017-06-21 02:51:43 UTC) #123
Mike West
I'm going to defer to yosin@ on //third_party/WebKit/Source/core/editing/, as I don't know that code very ...
3 years, 6 months ago (2017-06-21 11:31:16 UTC) #125
Ted C
+twellington to take a glance at SuggestionsPopupWindow.java as they've dealt with some popup window quirks ...
3 years, 6 months ago (2017-06-21 17:59:22 UTC) #127
Theresa
https://codereview.chromium.org/2931443003/diff/340001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/340001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode86 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:86: mPopupWindow.setClippingEnabled(false); This will allow the popup to draw off ...
3 years, 6 months ago (2017-06-21 23:44:53 UTC) #128
jochen (gone - plz use gerrit)
I can't review android_webview, sorry
3 years, 6 months ago (2017-06-22 16:18:37 UTC) #129
Torne
[speeds past to note that android_webview LGTM] :)
3 years, 6 months ago (2017-06-22 16:55:38 UTC) #131
rlanday
On 2017/06/22 at 16:55:38, torne wrote: > [speeds past to note that android_webview LGTM] :) ...
3 years, 6 months ago (2017-06-22 20:48:12 UTC) #134
boliu
On 2017/06/22 20:48:12, rlanday wrote: > On 2017/06/22 at 16:55:38, torne wrote: > > [speeds ...
3 years, 6 months ago (2017-06-23 01:58:22 UTC) #136
boliu
also wanted to add.. integration tests?
3 years, 6 months ago (2017-06-23 01:59:13 UTC) #137
rlanday
On 2017/06/23 at 01:59:13, boliu wrote: > also wanted to add.. integration tests? Do you ...
3 years, 6 months ago (2017-06-23 02:09:56 UTC) #138
boliu
On 2017/06/23 02:09:56, rlanday wrote: > On 2017/06/23 at 01:59:13, boliu wrote: > > also ...
3 years, 6 months ago (2017-06-23 02:12:46 UTC) #139
rlanday
I've attempted to address the efficiency concerns with HandlePotentialMisspelledWordTap(). It is quite efficient now. I ...
3 years, 6 months ago (2017-06-23 23:57:19 UTC) #140
rlanday
https://codereview.chromium.org/2931443003/diff/380001/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2931443003/diff/380001/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode285 third_party/WebKit/Source/core/editing/SelectionController.cpp:285: frame_->GetTextSuggestionController().HandlePotentialMisspelledWordTap( I think this should probably be gated to ...
3 years, 6 months ago (2017-06-23 23:59:30 UTC) #143
rlanday
I've tried to address most of the feedback received so far. Things I still need ...
3 years, 5 months ago (2017-06-28 01:35:34 UTC) #152
aelias_OOO_until_Jul13
Re: KitKat and Jellybean, if they involve extra challenges to support, one reasonable option is ...
3 years, 5 months ago (2017-06-28 02:11:02 UTC) #155
Theresa
https://codereview.chromium.org/2931443003/diff/340001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/340001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode86 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:86: mPopupWindow.setClippingEnabled(false); On 2017/06/28 01:35:34, rlanday wrote: > On 2017/06/21 ...
3 years, 5 months ago (2017-06-28 15:43:49 UTC) #156
rlanday
On 2017/06/28 at 15:43:49, twellington wrote: > https://codereview.chromium.org/2931443003/diff/340001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java > File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): > > https://codereview.chromium.org/2931443003/diff/340001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode86 ...
3 years, 5 months ago (2017-06-28 17:45:26 UTC) #157
rlanday
I talked to hannahs@ about the design; she had some minor comments (remove the divider ...
3 years, 5 months ago (2017-06-28 20:51:02 UTC) #158
aelias_OOO_until_Jul13
Yes, I suggest going with #3. Failing that #1. In general, we have never attempted ...
3 years, 5 months ago (2017-06-28 23:16:06 UTC) #159
Theresa
On 2017/06/28 23:16:06, aelias wrote: > Yes, I suggest going with #3. Failing that #1. ...
3 years, 5 months ago (2017-06-28 23:33:51 UTC) #160
rlanday
hannahs@ said we should be using #4285F4 (a blue color we use elsewhere in Chrome) ...
3 years, 5 months ago (2017-06-29 01:16:42 UTC) #161
rlanday
I started trying to see if it's possible to use DropdownPopupWindow and I'm not feeling ...
3 years, 5 months ago (2017-06-30 02:24:30 UTC) #162
Theresa
On 2017/06/30 02:24:30, rlanday wrote: > I started trying to see if it's possible to ...
3 years, 5 months ago (2017-06-30 16:19:44 UTC) #163
rlanday
I got all the positioning code wired up to verify how DropdownPopupWindow works; it doesn't ...
3 years, 5 months ago (2017-06-30 20:04:23 UTC) #164
Theresa
On 2017/06/30 20:04:23, rlanday wrote: > I got all the positioning code wired up to ...
3 years, 5 months ago (2017-06-30 21:00:02 UTC) #165
Theresa
https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode58 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:58: Context context, TextSuggestionHost textSuggestionHost, View attachedView) { nit: JavaDocs ...
3 years, 5 months ago (2017-06-30 21:00:34 UTC) #166
rlanday
I'm still trying to get the clipping logic to work properly in multi-window mode on ...
3 years, 5 months ago (2017-07-05 22:52:03 UTC) #167
Theresa
https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode166 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:166: final DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics(); On 2017/07/05 22:52:02, rlanday ...
3 years, 5 months ago (2017-07-06 23:48:01 UTC) #168
rlanday
On 2017/07/06 at 23:48:01, twellington wrote: > My main goal in this suggestion is to ...
3 years, 5 months ago (2017-07-07 03:16:42 UTC) #169
rlanday
https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode93 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:93: mClippingLimitRight = lp.rightMargin; On 2017/06/30 at 21:00:33, Theresa wrote: ...
3 years, 5 months ago (2017-07-07 03:18:29 UTC) #170
rlanday
3 years, 5 months ago (2017-07-07 03:18:34 UTC) #171
rlanday
https://codereview.chromium.org/2931443003/diff/440001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/440001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode192 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:192: // Hack: specify AT_MOST with large vertical height because ...
3 years, 5 months ago (2017-07-07 19:36:15 UTC) #174
rlanday
I've added an integration test (TextSuggestionMenuTest, it tests opening the menu and picking the "Delete" ...
3 years, 5 months ago (2017-07-07 19:36:55 UTC) #175
rlanday
On 2017/07/07 at 19:36:55, rlanday wrote: > I've added an integration test (TextSuggestionMenuTest, it tests ...
3 years, 5 months ago (2017-07-07 19:52:52 UTC) #178
Theresa
On 2017/07/07 19:52:52, rlanday wrote: > On 2017/07/07 at 19:36:55, rlanday wrote: > > I've ...
3 years, 5 months ago (2017-07-10 17:54:12 UTC) #183
Theresa
https://codereview.chromium.org/2931443003/diff/440001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/440001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode192 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:192: // Hack: specify AT_MOST with large vertical height because ...
3 years, 5 months ago (2017-07-10 17:59:35 UTC) #184
rlanday
On 2017/07/10 at 17:54:12, twellington wrote: > On 2017/07/07 19:52:52, rlanday wrote: > > On ...
3 years, 5 months ago (2017-07-10 21:40:12 UTC) #185
rlanday
On 2017/07/10 at 17:59:35, twellington wrote: > I suspect that since the popup can draw ...
3 years, 5 months ago (2017-07-10 22:13:58 UTC) #186
Theresa
On 2017/07/10 21:40:12, rlanday wrote: > On 2017/07/10 at 17:54:12, twellington wrote: > > On ...
3 years, 5 months ago (2017-07-10 23:02:20 UTC) #187
Theresa
On 2017/07/10 22:13:58, rlanday wrote: > On 2017/07/10 at 17:59:35, twellington wrote: > > I ...
3 years, 5 months ago (2017-07-10 23:06:08 UTC) #188
rlanday
On 2017/07/10 at 23:02:20, twellington wrote: > Since addFooterView() just takes a View, maybe there ...
3 years, 5 months ago (2017-07-10 23:23:44 UTC) #189
Theresa
On 2017/07/10 23:23:44, rlanday wrote: > On 2017/07/10 at 23:02:20, twellington wrote: > > Since ...
3 years, 5 months ago (2017-07-10 23:28:47 UTC) #190
rlanday
On 2017/07/10 at 23:28:47, twellington wrote: > I'm suggesting adding one footer view rather than ...
3 years, 5 months ago (2017-07-10 23:48:58 UTC) #191
rlanday
On 2017/07/10 at 23:06:08, twellington wrote: > On 2017/07/10 22:13:58, rlanday wrote: > > I'm ...
3 years, 5 months ago (2017-07-11 00:15:37 UTC) #192
Theresa
On 2017/07/11 00:15:37, rlanday wrote: > On 2017/07/10 at 23:06:08, twellington wrote: > > On ...
3 years, 5 months ago (2017-07-11 00:49:56 UTC) #193
Theresa
On 2017/07/10 23:48:58, rlanday wrote: > On 2017/07/10 at 23:28:47, twellington wrote: > > I'm ...
3 years, 5 months ago (2017-07-11 00:51:55 UTC) #194
rlanday
On 2017/07/11 at 00:51:55, twellington wrote: > I'm fine with removing the 8dp of padding ...
3 years, 5 months ago (2017-07-11 01:07:44 UTC) #195
rlanday
I've updated this CL with several changes: - SuggestionsPopupWindow now uses a method I pulled ...
3 years, 5 months ago (2017-07-12 21:47:09 UTC) #196
rlanday
On 2017/07/12 at 21:47:09, rlanday wrote: > I've updated this CL with several changes: > ...
3 years, 5 months ago (2017-07-12 21:47:30 UTC) #197
Theresa
https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode93 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:93: mClippingLimitRight = lp.rightMargin; On 2017/07/07 03:18:28, rlanday wrote: > ...
3 years, 5 months ago (2017-07-13 16:47:40 UTC) #206
rlanday
https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode93 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:93: mClippingLimitRight = lp.rightMargin; On 2017/07/13 at 16:47:39, Theresa wrote: ...
3 years, 5 months ago (2017-07-13 21:10:29 UTC) #207
Theresa
https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode93 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:93: mClippingLimitRight = lp.rightMargin; On 2017/07/13 21:10:29, rlanday wrote: > ...
3 years, 5 months ago (2017-07-13 21:41:23 UTC) #208
rlanday
Updated https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/420001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode93 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:93: mClippingLimitRight = lp.rightMargin; On 2017/07/13 at 21:41:22, Theresa ...
3 years, 5 months ago (2017-07-14 22:11:14 UTC) #210
Theresa
On 2017/07/14 22:11:14, rlanday wrote: > On L+. I've verified that if I make the ...
3 years, 5 months ago (2017-07-17 23:01:34 UTC) #224
Theresa
https://codereview.chromium.org/2931443003/diff/580001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/580001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode49 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:49: private Rect mTempRect; Findbugs noticed this is not used. ...
3 years, 5 months ago (2017-07-17 23:13:05 UTC) #225
rlanday
https://codereview.chromium.org/2931443003/diff/580001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/580001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode187 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:187: if (activity == null) { On 2017/07/17 at 23:13:05, ...
3 years, 5 months ago (2017-07-17 23:47:51 UTC) #226
rlanday
Updated
3 years, 5 months ago (2017-07-18 00:01:38 UTC) #229
Theresa
XML and Java look good to me overall. I have a few more small comments/nits. ...
3 years, 5 months ago (2017-07-18 15:37:52 UTC) #236
Torne
On 2017/07/18 15:37:52, Theresa wrote: > XML and Java look good to me overall. I ...
3 years, 5 months ago (2017-07-18 16:31:22 UTC) #237
rlanday
On 2017/07/18 at 16:31:22, torne wrote: > On 2017/07/18 15:37:52, Theresa wrote: https://codereview.chromium.org/2931443003/diff/580001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode187 > > ...
3 years, 5 months ago (2017-07-18 19:52:38 UTC) #238
rlanday
Updated https://codereview.chromium.org/2931443003/diff/620001/content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml File content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml (right): https://codereview.chromium.org/2931443003/diff/620001/content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml#newcode19 content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml:19: tools:ignore="UselessParent"> On 2017/07/18 at 15:37:51, Theresa wrote: > ...
3 years, 5 months ago (2017-07-19 00:23:56 UTC) #241
Theresa
https://codereview.chromium.org/2931443003/diff/620001/content/public/android/java/res/values-v17/styles.xml File content/public/android/java/res/values-v17/styles.xml (right): https://codereview.chromium.org/2931443003/diff/620001/content/public/android/java/res/values-v17/styles.xml#newcode21 content/public/android/java/res/values-v17/styles.xml:21: <!-- v21 uses sans-serif-medium --> On 2017/07/19 00:23:55, rlanday ...
3 years, 5 months ago (2017-07-19 15:10:51 UTC) #244
rlanday
Updated https://codereview.chromium.org/2931443003/diff/620001/content/public/android/java/res/values-v17/styles.xml File content/public/android/java/res/values-v17/styles.xml (right): https://codereview.chromium.org/2931443003/diff/620001/content/public/android/java/res/values-v17/styles.xml#newcode21 content/public/android/java/res/values-v17/styles.xml:21: <!-- v21 uses sans-serif-medium --> On 2017/07/19 at ...
3 years, 5 months ago (2017-07-19 22:03:44 UTC) #247
Theresa
https://codereview.chromium.org/2931443003/diff/660001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java File content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java (right): https://codereview.chromium.org/2931443003/diff/660001/content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java#newcode87 content/public/android/java/src/org/chromium/content/browser/input/SuggestionsPopupWindow.java:87: mPopupWindow.setHeight(ViewGroup.LayoutParams.WRAP_CONTENT); On 2017/07/19 22:03:44, rlanday wrote: > On 2017/07/19 ...
3 years, 5 months ago (2017-07-20 00:50:34 UTC) #250
yosin_UTC9
Could you move to Gerrit? 35 patches and 120 messages make Rietveld slower and a ...
3 years, 5 months ago (2017-07-20 01:32:20 UTC) #251
rlanday
https://codereview.chromium.org/2931443003/diff/680001/chrome/android/javatests/src/org/chromium/chrome/browser/input/TextSuggestionMenuTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/input/TextSuggestionMenuTest.java (right): https://codereview.chromium.org/2931443003/diff/680001/chrome/android/javatests/src/org/chromium/chrome/browser/input/TextSuggestionMenuTest.java#newcode43 chrome/android/javatests/src/org/chromium/chrome/browser/input/TextSuggestionMenuTest.java:43: Thread.sleep(1000); On 2017/07/20 at 00:50:33, Theresa wrote: > I ...
3 years, 5 months ago (2017-07-20 01:39:20 UTC) #252
rlanday
3 years, 5 months ago (2017-07-20 01:39:25 UTC) #253
rlanday
yosin@: I can't move this to Gerrit without also either moving or landing all the ...
3 years, 5 months ago (2017-07-20 01:41:40 UTC) #254
yosin_UTC9
On 2017/07/20 at 01:41:40, rlanday wrote: > yosin@: I can't move this to Gerrit without ...
3 years, 5 months ago (2017-07-20 02:04:24 UTC) #255
Theresa
On 2017/07/20 02:04:24, yosin_UTC9 wrote: > On 2017/07/20 at 01:41:40, rlanday wrote: > > yosin@: ...
3 years, 5 months ago (2017-07-20 21:52:01 UTC) #256
rlanday
Updated (both UI and editing)
3 years, 5 months ago (2017-07-21 00:29:22 UTC) #258
yosin_UTC9
lgtm w/nits for core/editing https://codereview.chromium.org/2931443003/diff/700001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp File third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp (right): https://codereview.chromium.org/2931443003/diff/700001/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp#newcode72 third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp:72: const unsigned position_offset_in_node = nit: ...
3 years, 5 months ago (2017-07-21 01:12:24 UTC) #260
Theresa
lgtm
3 years, 5 months ago (2017-07-21 01:27:39 UTC) #261
Ted C
On 2017/07/21 01:27:39, Theresa wrote: > lgtm TextSuggestionMenuTest - lgtm
3 years, 4 months ago (2017-07-24 19:00:20 UTC) #264
rlanday
I think there are a couple more files that may have slipped through the cracks; ...
3 years, 4 months ago (2017-07-25 20:37:55 UTC) #275
Ted C
On 2017/07/25 20:37:55, rlanday wrote: > I think there are a couple more files that ...
3 years, 4 months ago (2017-07-25 22:09:39 UTC) #278
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931443003/740001
3 years, 4 months ago (2017-07-25 22:43:38 UTC) #281
commit-bot: I haz the power
3 years, 4 months ago (2017-07-26 01:04:27 UTC) #285
Message was sent while issue was closed.
Committed patchset #38 (id:740001) as
https://chromium.googlesource.com/chromium/src/+/e4a6ec83ec32b4f139794f39bf2c...

Powered by Google App Engine
This is Rietveld 408576698