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

Issue 765043002: Bookmark pop-up doesn't open if Ctrl+D is set as keyboard shortcut for added extensions. (Closed)

Created:
6 years ago by Deepak
Modified:
6 years ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Bookmark pop-up doesn't open if Ctrl+D is set as keyboard shortcut for added extensions. Presently when we selects bookmark icon then it checks weather Ctrl+D has been set as overridden command for any extension if yes, then it executes extension popup for that extension. Changes done so that when bookmarking a page is done via bookmark icon by mouse click then bookmark overridden commands should not be considered as overriding happened for keyboard shortcuts. As user have overridden shortcut key for bookmark to launch extension pop up, not the bookmarking via selection of bookmark icon by mouse event. TBR=sky@chromium.org BUG=426791 Committed: https://crrev.com/54a7f399b0613cbae272fbe0ba97447be6517a99 Cr-Commit-Position: refs/heads/master@{#308312}

Patch Set 1 #

Patch Set 2 : Addressing nit. #

Patch Set 3 : Addressing nit. #

Total comments: 1

Patch Set 4 : Added comments for API's. #

Patch Set 5 : Addressing nit. #

Patch Set 6 : Addressing nit. #

Total comments: 2

Patch Set 7 : New Changes. #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 7

Patch Set 12 : #

Total comments: 8

Patch Set 13 : Addressing nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -45 lines) Patch
M chrome/browser/browser_commands_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +34 lines, -35 lines 0 comments Download
M chrome/browser/ui/views/location_bar/bubble_icon_view.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/star_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/star_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 79 (10 generated)
Deepak
PTAL at my changes. Thanks.
6 years ago (2014-11-28 10:55:03 UTC) #2
tfarina
Why don't you pay attention to out C++ coding stule? variables are named using unix_hacker ...
6 years ago (2014-11-28 12:44:46 UTC) #3
Deepak
On 2014/11/28 12:44:46, tfarina wrote: > Why don't you pay attention to out C++ coding ...
6 years ago (2014-11-28 12:57:07 UTC) #4
Avi (use Gerrit)
In the description you write: > When we select the bookmark icon then it check ...
6 years ago (2014-11-28 14:53:19 UTC) #5
Avi (use Gerrit)
Bug 419601 was reported on the Mac, and you list it as being addressed by ...
6 years ago (2014-11-28 14:56:08 UTC) #6
Deepak
On 2014/11/28 14:56:08, Avi wrote: > Bug 419601 was reported on the Mac, and you ...
6 years ago (2014-11-29 05:56:59 UTC) #7
Peter Kasting
This seems wrong. I think this means that extensions that actually try to override the ...
6 years ago (2014-11-29 19:54:52 UTC) #8
Avi (use Gerrit)
On 2014/11/29 19:54:52, Peter Kasting wrote: > This seems wrong. I think this means that ...
6 years ago (2014-11-30 21:48:45 UTC) #9
Deepak
On 2014/11/30 21:48:45, Avi wrote: > On 2014/11/29 19:54:52, Peter Kasting wrote: > > This ...
6 years ago (2014-12-01 04:01:31 UTC) #12
tfarina
On Mon, Dec 1, 2014 at 2:01 AM, <deepak.m1@samsung.com> wrote: > On 2014/11/30 21:48:45, Avi ...
6 years ago (2014-12-01 12:13:50 UTC) #13
Deepak
On 2014/12/01 12:13:50, tfarina wrote: > On Mon, Dec 1, 2014 at 2:01 AM, <mailto:deepak.m1@samsung.com> ...
6 years ago (2014-12-01 12:22:37 UTC) #14
Deepak
@Kalman and @Wittman Can you please share your thoughts for this change. Thanks
6 years ago (2014-12-01 12:24:33 UTC) #16
not at google - send to devlin
See here: https://developer.chrome.com/extensions/ui_override one hopes that if an extension overrides the ctrl-d shortcut using remove_bookmark_shortcut ...
6 years ago (2014-12-01 23:22:02 UTC) #17
Peter Kasting
On 2014/12/01 23:22:02, kalman wrote: > See here: > > https://developer.chrome.com/extensions/ui_override > > one hopes ...
6 years ago (2014-12-02 00:00:38 UTC) #18
not at google - send to devlin
Finnur is a better person to comment on this as he knows the commands API. ...
6 years ago (2014-12-02 00:02:18 UTC) #20
Deepak
On 2014/12/02 00:02:18, kalman wrote: > Finnur is a better person to comment on this ...
6 years ago (2014-12-02 10:36:13 UTC) #21
Finnur
https://codereview.chromium.org/765043002/diff/100001/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/765043002/diff/100001/chrome/browser/ui/browser_commands.cc#newcode758 chrome/browser/ui/browser_commands.cc:758: ->get_bookmark_icon_selected()) { Mike Wittman implemented the Ctrl+D override for ...
6 years ago (2014-12-03 10:49:18 UTC) #22
Deepak
On 2014/12/03 10:49:18, Finnur wrote: > https://codereview.chromium.org/765043002/diff/100001/chrome/browser/ui/browser_commands.cc > File chrome/browser/ui/browser_commands.cc (right): > > https://codereview.chromium.org/765043002/diff/100001/chrome/browser/ui/browser_commands.cc#newcode758 > ...
6 years ago (2014-12-04 02:52:18 UTC) #23
Mike Wittman
I agree with what Peter and Finnur have said; this is the wrong approach. I ...
6 years ago (2014-12-04 03:04:25 UTC) #24
Deepak
On 2014/12/04 03:04:25, Mike Wittman wrote: > I agree with what Peter and Finnur have ...
6 years ago (2014-12-04 11:38:25 UTC) #25
Peter Kasting
I don't think you necessarily want to pass in the event details and try to ...
6 years ago (2014-12-04 20:51:29 UTC) #26
Mike Wittman
On 2014/12/04 20:51:29, Peter Kasting wrote: > I don't think you necessarily want to pass ...
6 years ago (2014-12-05 00:04:59 UTC) #27
Peter Kasting
On 2014/12/05 00:04:59, Mike Wittman wrote: > For clarity, the relevant cases where this codepath ...
6 years ago (2014-12-05 00:13:29 UTC) #28
Mike Wittman
On 2014/12/05 00:13:29, Peter Kasting wrote: > On 2014/12/05 00:04:59, Mike Wittman wrote: > > ...
6 years ago (2014-12-05 02:54:04 UTC) #29
Peter Kasting
On 2014/12/05 02:54:04, Mike Wittman wrote: > The enable/disable state would not be an issue ...
6 years ago (2014-12-05 03:00:32 UTC) #30
Mike Wittman
On 2014/12/05 03:00:32, Peter Kasting wrote: > On 2014/12/05 02:54:04, Mike Wittman wrote: > > ...
6 years ago (2014-12-05 03:19:51 UTC) #31
Deepak
On 2014/12/05 00:04:59, Mike Wittman wrote: > On 2014/12/04 20:51:29, Peter Kasting wrote: > > ...
6 years ago (2014-12-05 06:18:37 UTC) #32
Peter Kasting
On 2014/12/05 06:18:37, Deepak wrote: > On 2014/12/05 00:04:59, Mike Wittman wrote: > > On ...
6 years ago (2014-12-05 06:35:58 UTC) #33
Deepak
On 2014/12/05 06:35:58, Peter Kasting wrote: > On 2014/12/05 06:18:37, Deepak wrote: > > On ...
6 years ago (2014-12-05 13:48:59 UTC) #34
Peter Kasting
I feel like you haven't read the last several posts in our conversation. You're simply ...
6 years ago (2014-12-05 19:30:04 UTC) #35
Mike Wittman
On 2014/12/05 13:48:59, Deepak wrote: > One way is we can have some info like ...
6 years ago (2014-12-05 20:03:23 UTC) #36
Mike Wittman
On 2014/12/05 19:30:04, Peter Kasting wrote: > Mike, can you comment on Deepak's assertion that ...
6 years ago (2014-12-05 20:19:47 UTC) #37
Deepak
On 2014/12/05 20:19:47, Mike Wittman wrote: > On 2014/12/05 19:30:04, Peter Kasting wrote: > > ...
6 years ago (2014-12-06 05:51:43 UTC) #38
Deepak
On 2014/12/05 19:30:04, Peter Kasting wrote: > I feel like you haven't read the last ...
6 years ago (2014-12-06 06:04:29 UTC) #39
Peter Kasting
On 2014/12/06 06:04:29, Deepak wrote: > Sorry @Peter, > I am not ignoring any of ...
6 years ago (2014-12-08 01:59:59 UTC) #40
Deepak
On 2014/12/08 01:59:59, Peter Kasting wrote: > On 2014/12/06 06:04:29, Deepak wrote: > > Sorry ...
6 years ago (2014-12-08 05:39:44 UTC) #41
Peter Kasting
On 2014/12/08 05:39:44, Deepak wrote: > As is happening for other's like. > I have ...
6 years ago (2014-12-08 08:33:49 UTC) #42
Deepak
On 2014/12/08 08:33:49, Peter Kasting wrote: > On 2014/12/08 05:39:44, Deepak wrote: > > As ...
6 years ago (2014-12-08 08:36:07 UTC) #43
Mike Wittman
On 2014/12/06 05:51:43, Deepak wrote: > On 2014/12/05 20:19:47, Mike Wittman wrote: > > Unless ...
6 years ago (2014-12-08 17:34:44 UTC) #44
Mike Wittman
On 2014/12/08 01:59:59, Peter Kasting wrote: > On 2014/12/06 06:04:29, Deepak wrote: > > Just ...
6 years ago (2014-12-08 17:47:08 UTC) #45
Peter Kasting
On 2014/12/08 17:47:08, Mike Wittman wrote: > On 2014/12/08 01:59:59, Peter Kasting wrote: > > ...
6 years ago (2014-12-08 20:27:29 UTC) #46
Mike Wittman
On 2014/12/08 20:27:29, Peter Kasting wrote: > On 2014/12/08 17:47:08, Mike Wittman wrote: > > ...
6 years ago (2014-12-08 21:28:46 UTC) #47
Deepak
On 2014/12/08 21:28:46, Mike Wittman wrote: > On 2014/12/08 20:27:29, Peter Kasting wrote: > > ...
6 years ago (2014-12-09 02:48:22 UTC) #48
Peter Kasting
This isn't the implementation I asked for. Instead of making the star button call directly ...
6 years ago (2014-12-09 21:45:39 UTC) #49
Deepak
On 2014/12/09 21:45:39, Peter Kasting wrote: > This isn't the implementation I asked for. Instead ...
6 years ago (2014-12-10 08:33:43 UTC) #50
Peter Kasting
On 2014/12/10 08:33:43, Deepak wrote: > On 2014/12/09 21:45:39, Peter Kasting wrote: > > This ...
6 years ago (2014-12-10 18:00:03 UTC) #51
Deepak
On 2014/12/10 18:00:03, Peter Kasting wrote: > On 2014/12/10 08:33:43, Deepak wrote: > > On ...
6 years ago (2014-12-11 07:22:47 UTC) #52
Peter Kasting
On 2014/12/11 07:22:47, Deepak wrote: > I said about user assigning one.It triggered extension popup ...
6 years ago (2014-12-12 01:20:57 UTC) #53
Mike Wittman
On 2014/12/12 01:20:57, Peter Kasting wrote: > On 2014/12/11 07:22:47, Deepak wrote: > > I ...
6 years ago (2014-12-12 02:12:28 UTC) #54
Deepak
Thanks @Peter for review and sharing your thoughts. Changes done as suggested. PTAL. https://codereview.chromium.org/765043002/diff/200001/chrome/browser/ui/browser_commands.h File ...
6 years ago (2014-12-12 06:49:47 UTC) #55
Peter Kasting
LGTM; is there any way to automatically test this? Perhaps we already have some tests ...
6 years ago (2014-12-12 19:02:52 UTC) #56
Mike Wittman
On 2014/12/12 19:02:52, Peter Kasting wrote: > LGTM; is there any way to automatically test ...
6 years ago (2014-12-12 20:41:45 UTC) #57
Mike Wittman
https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.cc File chrome/browser/ui/views/location_bar/star_view.cc (right): https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.cc#newcode24 chrome/browser/ui/views/location_bar/star_view.cc:24: browser_ = browser; Nit: move to initializer list. https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.cc#newcode63 ...
6 years ago (2014-12-12 20:41:58 UTC) #58
Peter Kasting
https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.cc File chrome/browser/ui/views/location_bar/star_view.cc (right): https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.cc#newcode63 chrome/browser/ui/views/location_bar/star_view.cc:63: if (browser_) On 2014/12/12 20:41:57, Mike Wittman wrote: > ...
6 years ago (2014-12-12 21:49:05 UTC) #59
tfarina
https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.h File chrome/browser/ui/views/location_bar/star_view.h (right): https://codereview.chromium.org/765043002/diff/220001/chrome/browser/ui/views/location_bar/star_view.h#newcode28 chrome/browser/ui/views/location_bar/star_view.h:28: Browser* browser_; please, add a blank line after this.
6 years ago (2014-12-12 21:54:23 UTC) #60
Deepak
Thanks @Peter, @Wittman, @Tfarina for giving time for review. I have addressed all nit's. So ...
6 years ago (2014-12-13 03:36:54 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/765043002/240001
6 years ago (2014-12-13 03:38:15 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/30270)
6 years ago (2014-12-13 03:44:19 UTC) #65
Deepak
On 2014/12/13 03:44:19, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-12-13 04:09:40 UTC) #66
Avi (use Gerrit)
On 2014/12/13 04:09:40, Deepak wrote: > I am having Presubmit error That error tells you ...
6 years ago (2014-12-13 04:34:20 UTC) #67
Deepak
On 2014/12/13 04:34:20, Avi wrote: > On 2014/12/13 04:09:40, Deepak wrote: > > I am ...
6 years ago (2014-12-13 04:45:00 UTC) #68
Avi (use Gerrit)
On 2014/12/13 04:45:00, Deepak wrote: > On 2014/12/13 04:34:20, Avi wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 04:48:28 UTC) #69
Deepak
@brettw Need your approval for browser_commands_unittests.cc file for submitting these changes. PTAL.
6 years ago (2014-12-13 04:58:14 UTC) #71
tfarina
On Saturday, December 13, 2014, <deepak.m1@samsung.com> wrote: > On 2014/12/13 04:34:20, Avi wrote: > >> ...
6 years ago (2014-12-13 14:02:01 UTC) #72
Deepak
I just need rubber stamping for browser_commands_unittest.cc as function name get changed in browser_commands.cc file. ...
6 years ago (2014-12-13 15:54:14 UTC) #73
Peter Kasting
On 2014/12/13 15:54:14, Deepak wrote: > I just need rubber stamping for browser_commands_unittest.cc as function ...
6 years ago (2014-12-14 23:24:32 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/765043002/240001
6 years ago (2014-12-15 04:06:00 UTC) #77
commit-bot: I haz the power
Committed patchset #13 (id:240001)
6 years ago (2014-12-15 04:41:51 UTC) #78
commit-bot: I haz the power
6 years ago (2014-12-15 04:42:45 UTC) #79
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/54a7f399b0613cbae272fbe0ba97447be6517a99
Cr-Commit-Position: refs/heads/master@{#308312}

Powered by Google App Engine
This is Rietveld 408576698