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

Issue 15841009: Delays find-in-page until IME composition is committed. (Closed)

Created:
7 years, 6 months ago by Yuki
Modified:
7 years, 6 months ago
Reviewers:
msw, Peter Kasting
CC:
chromium-reviews, nona+watch_chromium.org, tfarina, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org, Seigo Nonaka
Visibility:
Public.

Description

Delays find-in-page until IME composition is committed. We shouldn't do find-in-page while a IME is composing. This CL delays the actual search until the IME composition is committed. BUG=158911 TEST=Test manually. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203936

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed a Paste operation. #

Total comments: 2

Patch Set 3 : Removed duplicated hack for crbug.com/79002 #

Patch Set 4 : Fixed so it works with NativeTextFieldWin as it did. #

Total comments: 8

Patch Set 5 : Updated based on msw's comments. #

Patch Set 6 : Synced. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -39 lines) Patch
M chrome/browser/ui/views/find_bar_view.h View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 2 3 4 5 3 chunks +58 lines, -29 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_views.cc View 1 2 1 chunk +3 lines, -7 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_win.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield_controller.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M ui/views/controls/textfield/textfield_controller.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Yuki
Could you review this CL? Thanks, Yuki Shiino
7 years, 6 months ago (2013-05-30 08:00:09 UTC) #1
Peter Kasting
LGTM with question https://codereview.chromium.org/15841009/diff/1/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): https://codereview.chromium.org/15841009/diff/1/chrome/browser/ui/views/find_bar_view.cc#newcode439 chrome/browser/ui/views/find_bar_view.cc:439: sender->text() == last_searched_text_) Why check for ...
7 years, 6 months ago (2013-05-30 22:00:13 UTC) #2
Yuki
Thanks for the review. I didn't realize the issue crbug.com/79002 and fixed it after your ...
7 years, 6 months ago (2013-05-31 08:58:25 UTC) #3
Peter Kasting
LGTM but you may want to ping msw for any opinions as he's more of ...
7 years, 6 months ago (2013-06-01 01:24:59 UTC) #4
Yuki
Hi Mike, Could you take a look on this CL? Thanks. Yuki
7 years, 6 months ago (2013-06-01 01:52:37 UTC) #5
msw
https://codereview.chromium.org/15841009/diff/5001/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): https://codereview.chromium.org/15841009/diff/5001/chrome/browser/ui/views/find_bar_view.cc#newcode439 chrome/browser/ui/views/find_bar_view.cc:439: sender->text() == last_searched_text_) Does this actually get hit when ...
7 years, 6 months ago (2013-06-01 01:58:22 UTC) #6
Yuki
Thanks for the review. I've investigated things more, and updated the code. Could you take ...
7 years, 6 months ago (2013-06-03 10:07:18 UTC) #7
msw
Thanks for the detailed investigation and explanation. LGTM with nits and changing DoFinding(views::Textfield*). https://codereview.chromium.org/15841009/diff/21001/chrome/browser/ui/views/find_bar_view.cc File ...
7 years, 6 months ago (2013-06-04 01:30:23 UTC) #8
Yuki
https://codereview.chromium.org/15841009/diff/21001/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): https://codereview.chromium.org/15841009/diff/21001/chrome/browser/ui/views/find_bar_view.cc#newcode439 chrome/browser/ui/views/find_bar_view.cc:439: sender->text() == last_searched_text_) On 2013/06/04 01:30:23, msw wrote: > ...
7 years, 6 months ago (2013-06-04 03:35:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/15841009/28001
7 years, 6 months ago (2013-06-04 03:35:59 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/find_bar_view.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-04 03:36:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/15841009/33001
7 years, 6 months ago (2013-06-04 03:49:45 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 12:36:24 UTC) #13
Message was sent while issue was closed.
Change committed as 203936

Powered by Google App Engine
This is Rietveld 408576698