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

Issue 2241003: Right-clicking on the omnibox with nothing selected now automatically selects... (Closed)

Created:
10 years, 7 months ago by weinjared
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Right-clicking on the omnibox with nothing selected now automatically selects all the text. If there is any text already selected then the selection will not change. BUG=6873, 30134 TEST=Middle-click the omnibox, then try to click it (or any other UI element), and make sure the click has an effect. Select a portion of the URL and right-click on the omnibox. Notice that the selection does not change. Clear the selection and right-click on the omnibox and notice that the URL is automatically selected.

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 4

Patch Set 11 : made some changes and removed some duplication #

Total comments: 12

Patch Set 12 : made the changes requested and also believe that bug 6873 is fixed now #

Total comments: 7

Patch Set 13 : Updated common.gypi and made the other changes requested #

Total comments: 7

Patch Set 14 : made the changes to common.gypi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -71 lines) Patch
M build/common.gypi View 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.h View 2 3 4 5 6 7 8 9 10 11 12 6 chunks +27 lines, -16 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +91 lines, -54 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
weinjared
Right-clicking on the omnibox with nothing selected now automatically selects all the text. If there ...
10 years, 7 months ago (2010-05-26 05:55:31 UTC) #1
Peter Kasting
http://codereview.chromium.org/2241003/diff/1/2 File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/2241003/diff/1/2#newcode1168 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:1168: if (GetSelectedText().empty()) It seems like this will select all ...
10 years, 7 months ago (2010-05-26 18:10:03 UTC) #2
Peter Kasting
I reduced the reviewer list to just me; only use multiple reviewers if you really ...
10 years, 7 months ago (2010-05-26 18:10:59 UTC) #3
weinjared
On 2010/05/26 18:10:03, Peter Kasting wrote: > Probably do need to worry about cases where ...
10 years, 6 months ago (2010-05-28 01:34:49 UTC) #4
Peter Kasting
On 2010/05/28 01:34:49, weinjared wrote: > On 2010/05/26 18:10:03, Peter Kasting wrote: > > Probably ...
10 years, 6 months ago (2010-05-28 01:39:08 UTC) #5
weinjared
I just wanted to let you know that I have not forgotten about this bug ...
10 years, 6 months ago (2010-06-10 00:43:18 UTC) #6
weinjared
Sorry for the multiple submissions of the same patch. I fell in to the same ...
10 years, 6 months ago (2010-06-13 00:45:16 UTC) #7
Peter Kasting
http://codereview.chromium.org/2241003/diff/35001/36001 File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/2241003/diff/35001/36001#newcode1485 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:1485: // later call OnLButtonDblClk(). Make sure |gaining_focus_| gets reset ...
10 years, 6 months ago (2010-06-14 18:56:59 UTC) #8
weinjared
Thanks for the comments. I've made the changes you requested (and I got to find ...
10 years, 6 months ago (2010-06-15 04:59:50 UTC) #9
Peter Kasting
http://codereview.chromium.org/2241003/diff/38001/39001 File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/2241003/diff/38001/39001#newcode1457 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:1457: // call this for M or R button down. ...
10 years, 6 months ago (2010-06-15 18:22:48 UTC) #10
weinjared
I've made the changes requested. I also included the changes necessary to fix bug 6873 ...
10 years, 6 months ago (2010-06-16 03:54:34 UTC) #11
Peter Kasting
Commenting out unused args is preferred (see the details inside http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Function_Declarations_and_Definitions ), it's just that ...
10 years, 6 months ago (2010-06-16 18:39:56 UTC) #12
weinjared
On 2010/06/16 18:39:56, Peter Kasting wrote: > Commenting out unused args is preferred (see the ...
10 years, 6 months ago (2010-06-16 19:47:25 UTC) #13
Peter Kasting
On 2010/06/16 19:47:25, weinjared wrote: > Turning on Level 4 warnings will call out unreferenced ...
10 years, 6 months ago (2010-06-16 21:52:37 UTC) #14
weinjared
http://codereview.chromium.org/2241003/diff/36003/43001 File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/2241003/diff/36003/43001#newcode415 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:415: tracking_click_[kLeft] = false; On 2010/06/16 18:39:56, Peter Kasting wrote: ...
10 years, 6 months ago (2010-06-16 23:32:10 UTC) #15
Peter Kasting
http://codereview.chromium.org/2241003/diff/36003/43001 File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/2241003/diff/36003/43001#newcode415 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:415: tracking_click_[kLeft] = false; On 2010/06/16 23:32:11, weinjared wrote: > ...
10 years, 6 months ago (2010-06-17 00:22:13 UTC) #16
weinjared
I've made the changes requested. I found three locations of "msvs_disabled_warnings" within common.gypi and placed ...
10 years, 6 months ago (2010-06-17 05:02:22 UTC) #17
weinjared
http://codereview.chromium.org/2241003/diff/47001/19002 File build/common.gypi (right): http://codereview.chromium.org/2241003/diff/47001/19002#newcode1242 build/common.gypi:1242: 'msvs_disabled_warnings': [4396, 4503, 4819, 4351], In hindsight, I probably ...
10 years, 6 months ago (2010-06-17 05:04:19 UTC) #18
Peter Kasting
http://codereview.chromium.org/2241003/diff/47001/19002 File build/common.gypi (right): http://codereview.chromium.org/2241003/diff/47001/19002#newcode517 build/common.gypi:517: 'msvs_disabled_warnings': [4800, 4351], I _think_ you don't need to ...
10 years, 6 months ago (2010-06-17 18:51:14 UTC) #19
Peter Kasting
I added bradnelson as a reviewer. Brad, can you look at the .gypi change here? ...
10 years, 6 months ago (2010-06-17 18:52:10 UTC) #20
bradn
http://codereview.chromium.org/2241003/diff/47001/19002 File build/common.gypi (right): http://codereview.chromium.org/2241003/diff/47001/19002#newcode517 build/common.gypi:517: 'msvs_disabled_warnings': [4800, 4351], Yeah, drop this. This would be ...
10 years, 6 months ago (2010-06-17 22:35:16 UTC) #21
weinjared
I've made the respective changes.
10 years, 6 months ago (2010-06-21 21:03:24 UTC) #22
Peter Kasting
LGTM. I'll land this.
10 years, 6 months ago (2010-06-22 01:29:19 UTC) #23
weinjared
On 2010/06/22 01:29:19, Peter Kasting wrote: > LGTM. I'll land this. Thanks!
10 years, 6 months ago (2010-06-22 01:39:24 UTC) #24
Peter Kasting
10 years, 6 months ago (2010-06-22 02:02:32 UTC) #25
Landed in r50420.

Powered by Google App Engine
This is Rietveld 408576698