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

Issue 425693003: Single character is coming in search box after searching empty selection (Closed)

Created:
6 years, 4 months ago by Cyan
Modified:
6 years, 4 months ago
CC:
AKVT, ankit, AviD, chromium-reviews, darin-cc_chromium.org, jam, kingshuk.j, miu+watch_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, no sievers, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Properly notify ContentViewCore of an empty selection. ContentViewCore is not notified with the empty selection. So if We drag any normal text selection to make empty selection,last updated text is still one single character which is being passed as an argument for search.So,I have added the condition to update ContentViewCore about the empty selection. BUG=397954 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290589

Patch Set 1 #

Total comments: 3

Patch Set 2 : Checked content_view_core_ before using it. #

Total comments: 2

Patch Set 3 : Modified patch after text.empty() check. #

Patch Set 4 : Corrected the code as per review comments #

Patch Set 5 : Rebased the patch to avoid errors #

Patch Set 6 : Rebased and modified patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
Cyan
@jdduke PTAL
6 years, 4 months ago (2014-07-28 09:26:59 UTC) #1
jdduke (slow)
On 2014/07/28 09:26:59, Cyan wrote: > @jdduke > PTAL Will this be solved by https://codereview.chromium.org/417373003/ ...
6 years, 4 months ago (2014-07-28 14:07:19 UTC) #2
Cyan
On 2014/07/28 14:07:19, jdduke wrote: > On 2014/07/28 09:26:59, Cyan wrote: > > @jdduke > ...
6 years, 4 months ago (2014-07-28 14:13:09 UTC) #3
jdduke (slow)
https://codereview.chromium.org/425693003/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/425693003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode661 content/browser/renderer_host/render_widget_host_view_android.cc:661: if(range.is_empty()) { Will |range| always be empty if |text| ...
6 years, 4 months ago (2014-07-28 18:42:24 UTC) #4
Cyan
On 2014/07/28 18:42:24, jdduke wrote: > https://codereview.chromium.org/425693003/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/425693003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode661 > ...
6 years, 4 months ago (2014-07-30 15:04:40 UTC) #5
jdduke (slow)
https://codereview.chromium.org/425693003/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/425693003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode661 content/browser/renderer_host/render_widget_host_view_android.cc:661: if(range.is_empty()) { On 2014/07/28 18:42:24, jdduke wrote: > Will ...
6 years, 4 months ago (2014-07-30 15:40:16 UTC) #6
Cyan
https://codereview.chromium.org/425693003/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/425693003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode661 content/browser/renderer_host/render_widget_host_view_android.cc:661: if(range.is_empty()) { On 2014/07/30 15:40:15, jdduke wrote: > On ...
6 years, 4 months ago (2014-07-31 05:34:16 UTC) #7
Cyan
On 2014/07/31 05:34:16, Cyan wrote: > https://codereview.chromium.org/425693003/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/425693003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode661 > ...
6 years, 4 months ago (2014-07-31 14:34:15 UTC) #8
jdduke (slow)
https://codereview.chromium.org/425693003/diff/20001/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/425693003/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode664 content/browser/renderer_host/render_widget_host_view_android.cc:664: if(range.is_empty()) { There should always be a space between ...
6 years, 4 months ago (2014-07-31 14:53:57 UTC) #9
Cyan
@jdduke corrected the DCHECK and space problem. PTAL.
6 years, 4 months ago (2014-08-01 12:20:10 UTC) #10
jdduke (slow)
This looks reasonable, but I'm not an owner. sievers@? Also, please update the description. The ...
6 years, 4 months ago (2014-08-01 15:36:11 UTC) #11
Cyan
jdduke@ Thanks for the suggestion.I have modified the description. sievers@ PTAL
6 years, 4 months ago (2014-08-01 15:44:33 UTC) #12
Cyan
On 2014/08/01 15:44:33, Cyan wrote: > jdduke@ > Thanks for the suggestion.I have > modified ...
6 years, 4 months ago (2014-08-18 06:19:48 UTC) #13
jdduke (slow)
sievers@ may still be on vacation, adding aelias@ as an alternate owner.
6 years, 4 months ago (2014-08-18 14:55:57 UTC) #14
aelias_OOO_until_Jul13
lgtm
6 years, 4 months ago (2014-08-18 18:32:02 UTC) #15
Cyan
The CQ bit was checked by sayan.nayak@samsung.com
6 years, 4 months ago (2014-08-19 12:41:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sayan.nayak@samsung.com/425693003/60001
6 years, 4 months ago (2014-08-19 12:42:35 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-19 12:52:36 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-19 12:55:24 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/54258) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/48745) android_dbg ...
6 years, 4 months ago (2014-08-19 12:55:25 UTC) #20
Cyan
The CQ bit was checked by sayan.nayak@samsung.com
6 years, 4 months ago (2014-08-19 14:00:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sayan.nayak@samsung.com/425693003/100001
6 years, 4 months ago (2014-08-19 14:02:20 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-19 15:05:53 UTC) #23
commit-bot: I haz the power
6 years, 4 months ago (2014-08-19 16:28:04 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (100001) as 290589

Powered by Google App Engine
This is Rietveld 408576698