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

Issue 359493005: Extend contextMenus API to support browser/page actions (Closed)

Created:
6 years, 6 months ago by gpdavis
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added context strings, page action implementation #

Total comments: 31

Patch Set 3 : Addressed yoyo's comments, restricted items to relevant extension #

Total comments: 41

Patch Set 4 : Minor changes #

Total comments: 10

Patch Set 5 : Moar minor changes #

Total comments: 12

Patch Set 6 : Minor changes and cleanup #

Total comments: 24

Patch Set 7 : Minor cleanup #

Total comments: 14

Patch Set 8 : Moar minor cleanup #

Total comments: 2

Patch Set 9 : Removed icons #

Total comments: 6

Patch Set 10 : Removed AppendExtensionItemsImpl, minor cleanup, comments #

Total comments: 16

Patch Set 11 : Removed submenu for action menus, removed unnecessary append logic #

Patch Set 12 : Limited top level extension items #

Patch Set 13 : Added unit test, created limit constant #

Patch Set 14 : Small changes, formatting #

Total comments: 20

Patch Set 15 : Comments, naming, small changes #

Total comments: 11

Patch Set 16 : Webview checks #

Total comments: 4

Patch Set 17 : Small fixes #

Total comments: 40

Patch Set 18 : Testing cleanup #

Patch Set 19 : Moved BuildInstance to unit test #

Total comments: 1

Patch Set 20 : TestingFactoryFunction documentation #

Total comments: 12

Patch Set 21 : Cleanup, minor unittest refactor #

Total comments: 7

Patch Set 22 : Created BuildServiceInstanceForTesting for menu manager #

Total comments: 3

Patch Set 23 : Revert loop change in render_view_context_menu.cc #

Total comments: 4

Patch Set 24 : Fix android compile error #

Total comments: 1

Patch Set 25 : Replaced static initializer #

Total comments: 1

Patch Set 26 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -66 lines) Patch
M chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/context_menu_matcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/extensions/context_menu_matcher.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 7 chunks +51 lines, -15 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.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 8 chunks +85 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_model_unittest.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 4 chunks +133 lines, -12 lines 0 comments Download
M chrome/browser/extensions/menu_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/menu_manager_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/menu_manager_factory.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 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.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 4 chunks +14 lines, -16 lines 0 comments Download
M chrome/browser/ui/app_list/app_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/context_menus.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/web_view_internal.json View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 115 (0 generated)
gpdavis
Hey Kalman, I went ahead and implemented the browser actions part of this request. It's ...
6 years, 6 months ago (2014-06-26 02:54:32 UTC) #1
not at google - send to devlin
Yoyo is more familiar with the context menus stuff, so I'll let him review. Awesome ...
6 years, 6 months ago (2014-06-26 14:44:57 UTC) #2
gpdavis
On 2014/06/26 14:44:57, kalman wrote: > Yoyo is more familiar with the context menus stuff, ...
6 years, 5 months ago (2014-06-26 18:15:45 UTC) #3
gpdavis
https://codereview.chromium.org/359493005/diff/1/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/1/chrome/browser/extensions/extension_context_menu_model.cc#newcode128 chrome/browser/extensions/extension_context_menu_model.cc:128: extension_items_.ExecuteCommand(command_id, web_contents, *params); I had to remove params when ...
6 years, 5 months ago (2014-06-26 18:16:02 UTC) #4
gpdavis
Hey Yoyo, can I get some feedback on this patch? I just extended the functionality ...
6 years, 5 months ago (2014-06-27 21:13:43 UTC) #5
Yoyo Zhou
One high-level comment: tabs and other browser UI surfaces don't belong to a particular extension, ...
6 years, 5 months ago (2014-06-27 23:37:58 UTC) #6
gpdavis
Thanks for the review! I appreciate the feedback. https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h (right): https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h#newcode97 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h:97: break; ...
6 years, 5 months ago (2014-06-28 00:05:41 UTC) #7
gpdavis
https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/extension_context_menu_model.cc#newcode268 chrome/browser/extensions/extension_context_menu_model.cc:268: ExtensionContextMenuModel::ActionType ExtensionContextMenuModel::GetActionType( Oops-- I meant to address this comment ...
6 years, 5 months ago (2014-06-28 00:27:03 UTC) #8
Yoyo Zhou
https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/extension_context_menu_model.cc#newcode229 chrome/browser/extensions/extension_context_menu_model.cc:229: // Get a list of extension id's that have ...
6 years, 5 months ago (2014-06-28 00:29:45 UTC) #9
not at google - send to devlin
On 2014/06/28 00:29:45, Yoyo Zhou (OOO till July 6) wrote: > https://chromiumcodereview.appspot.com/359493005/diff/40001/chrome/browser/extensions/extension_context_menu_model.cc > File chrome/browser/extensions/extension_context_menu_model.cc ...
6 years, 5 months ago (2014-06-30 18:10:46 UTC) #10
gpdavis
On 2014/06/30 18:10:46, kalman wrote: > Indeed. Not only that, but we don't need attribution ...
6 years, 5 months ago (2014-06-30 18:14:04 UTC) #11
gpdavis
Went ahead and took care of most of these issues. @kalman, if yoyo is OOO, ...
6 years, 5 months ago (2014-06-30 21:11:12 UTC) #12
Devlin
For a change like this, it'd be really great to see some screenshots :) https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc ...
6 years, 5 months ago (2014-07-01 20:54:25 UTC) #13
gpdavis
https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc#newcode122 chrome/browser/extensions/extension_context_menu_model.cc:122: content::ContextMenuParams *params = new content::ContextMenuParams(); On 2014/07/01 20:54:24, Devlin ...
6 years, 5 months ago (2014-07-02 01:17:47 UTC) #14
Devlin
https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc#newcode243 chrome/browser/extensions/extension_context_menu_model.cc:243: service->GetExtensionById(i->extension_id, false); On 2014/07/02 01:17:46, gpdavis wrote: > On ...
6 years, 5 months ago (2014-07-02 17:25:21 UTC) #15
gpdavis
https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/60001/chrome/browser/extensions/extension_context_menu_model.cc#newcode243 chrome/browser/extensions/extension_context_menu_model.cc:243: service->GetExtensionById(i->extension_id, false); On 2014/07/02 17:25:21, Devlin wrote: > On ...
6 years, 5 months ago (2014-07-03 01:46:58 UTC) #16
Devlin
A screenshot would also be good for this, as it introduces a UI feature. :) ...
6 years, 5 months ago (2014-07-07 20:20:58 UTC) #17
gpdavis
Sorry I missed that about the screenshot. Turns out you can't screenshot in ubuntu with ...
6 years, 5 months ago (2014-07-09 02:13:54 UTC) #18
Devlin
On 2014/07/09 02:13:54, gpdavis wrote: > Sorry I missed that about the screenshot. > > ...
6 years, 5 months ago (2014-07-09 19:56:47 UTC) #19
Devlin
https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc#newcode7 chrome/browser/extensions/extension_context_menu_model.cc:7: #include "base/metrics/histogram.h" Don't need this. https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc#newcode17 chrome/browser/extensions/extension_context_menu_model.cc:17: #include "chrome/browser/extensions/extension_service.h" ...
6 years, 5 months ago (2014-07-09 20:07:47 UTC) #20
gpdavis
I was using Print Screen, and it would always close the context menu right before ...
6 years, 5 months ago (2014-07-09 22:15:51 UTC) #21
gpdavis
Here's a screenshot of the page action as well (I modified the extension to have ...
6 years, 5 months ago (2014-07-09 22:23:13 UTC) #22
Devlin
Close! https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc#newcode17 chrome/browser/extensions/extension_context_menu_model.cc:17: #include "chrome/browser/extensions/extension_service.h" On 2014/07/09 22:15:50, gpdavis wrote: > ...
6 years, 5 months ago (2014-07-09 22:42:59 UTC) #23
gpdavis
https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc File chrome/browser/extensions/extension_context_menu_model.cc (right): https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc#newcode17 chrome/browser/extensions/extension_context_menu_model.cc:17: #include "chrome/browser/extensions/extension_service.h" On 2014/07/09 22:42:58, Devlin wrote: > On ...
6 years, 5 months ago (2014-07-10 00:22:26 UTC) #24
Devlin
On 2014/07/10 00:22:26, gpdavis wrote: > https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc > File chrome/browser/extensions/extension_context_menu_model.cc (right): > > https://codereview.chromium.org/359493005/diff/120001/chrome/browser/extensions/extension_context_menu_model.cc#newcode17 > ...
6 years, 5 months ago (2014-07-10 15:42:26 UTC) #25
Devlin
This mostly lg, but you need to fix the icon, and Yoyo should take another ...
6 years, 5 months ago (2014-07-10 20:57:46 UTC) #26
gpdavis
Created AppendExtensionItemsImpl so I could add AppendExtensionItemsWithoutIcons to keep icons off of the action context ...
6 years, 5 months ago (2014-07-11 20:32:35 UTC) #27
Devlin
I'm happy after this. But again, please put an updated screenshot in the CL description ...
6 years, 5 months ago (2014-07-15 17:37:55 UTC) #28
gpdavis
Uploaded an updated screenshot and added it to the description. Went through and cleaned up ...
6 years, 5 months ago (2014-07-15 19:46:07 UTC) #29
not at google - send to devlin
Great screenshot! Do the full create properties work? like checkbox, radio, separator, etc? https://developer.chrome.com/extensions/contextMenus#property-create-createProperties
6 years, 5 months ago (2014-07-15 21:16:05 UTC) #30
not at google - send to devlin
I'd love to see some tests btw.
6 years, 5 months ago (2014-07-15 21:16:20 UTC) #31
Devlin
Nice! Now just need to test it :) https://codereview.chromium.org/359493005/diff/210001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/359493005/diff/210001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode21 chrome/browser/renderer_context_menu/render_view_context_menu.cc:21: #include ...
6 years, 5 months ago (2014-07-15 21:25:09 UTC) #32
gpdavis
On 2014/07/15 21:16:05, kalman wrote: > Great screenshot! Do the full create properties work? like ...
6 years, 5 months ago (2014-07-15 22:17:40 UTC) #33
gpdavis
https://codereview.chromium.org/359493005/diff/210001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/359493005/diff/210001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode21 chrome/browser/renderer_context_menu/render_view_context_menu.cc:21: #include "base/time/time.h" On 2014/07/15 21:25:08, Devlin wrote: > nit: ...
6 years, 5 months ago (2014-07-15 22:18:13 UTC) #34
Devlin
On 2014/07/15 22:17:40, gpdavis wrote: > On 2014/07/15 21:16:05, kalman wrote: > > Great screenshot! ...
6 years, 5 months ago (2014-07-15 22:30:37 UTC) #35
not at google - send to devlin
On 2014/07/15 22:17:40, gpdavis wrote: > On 2014/07/15 21:16:05, kalman wrote: > > Great screenshot! ...
6 years, 5 months ago (2014-07-15 22:33:51 UTC) #36
gpdavis
On 2014/07/15 22:33:51, kalman wrote: > On 2014/07/15 22:17:40, gpdavis wrote: > > On 2014/07/15 ...
6 years, 5 months ago (2014-07-15 22:59:30 UTC) #37
not at google - send to devlin
On 2014/07/15 22:59:30, gpdavis wrote: > On 2014/07/15 22:33:51, kalman wrote: > > On 2014/07/15 ...
6 years, 5 months ago (2014-07-15 23:16:16 UTC) #38
Yoyo Zhou
I agree with what kalman is saying about multiple items: in the screenshot, you have ...
6 years, 5 months ago (2014-07-15 23:35:01 UTC) #39
gpdavis
On 2014/07/15 23:16:16, kalman wrote: > On 2014/07/15 22:59:30, gpdavis wrote: > > On 2014/07/15 ...
6 years, 5 months ago (2014-07-16 00:10:01 UTC) #40
gpdavis
Items are no longer nested in an unnecessary submenu (see new screenshot in description). This ...
6 years, 5 months ago (2014-07-16 01:11:10 UTC) #41
not at google - send to devlin
Looks great! And now for a security opinion, I'm worried that an extension can add ...
6 years, 5 months ago (2014-07-16 01:14:50 UTC) #42
meacer
On 2014/07/16 01:14:50, kalman wrote: > Looks great! > > And now for a security ...
6 years, 5 months ago (2014-07-16 17:43:59 UTC) #43
not at google - send to devlin
On 2014/07/16 17:43:59, Mustafa Emre Acer wrote: > On 2014/07/16 01:14:50, kalman wrote: > > ...
6 years, 5 months ago (2014-07-16 18:39:01 UTC) #44
gpdavis
On 2014/07/16 18:39:01, kalman wrote: > On 2014/07/16 17:43:59, Mustafa Emre Acer wrote: > > ...
6 years, 5 months ago (2014-07-16 21:35:02 UTC) #45
gpdavis
Also, can I get some clarification about your comment on the bug regarding activeTab permissions? ...
6 years, 5 months ago (2014-07-16 21:37:09 UTC) #46
not at google - send to devlin
> What's the protocol for dealing with magic numbers like this It's nice to put ...
6 years, 5 months ago (2014-07-16 22:17:57 UTC) #47
gpdavis
On 2014/07/16 22:17:57, kalman wrote: > > What's the protocol for dealing with magic numbers ...
6 years, 5 months ago (2014-07-17 23:18:03 UTC) #48
gpdavis
PTAL :)
6 years, 5 months ago (2014-07-21 17:18:07 UTC) #49
Yoyo Zhou
The gist of the test makes sense to me. https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/context_menu_matcher.cc#newcode20 chrome/browser/extensions/context_menu_matcher.cc:20: ...
6 years, 5 months ago (2014-07-22 00:44:33 UTC) #50
gpdavis
https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/context_menu_matcher.cc#newcode20 chrome/browser/extensions/context_menu_matcher.cc:20: extern const int ACTION_MENU_TOP_LEVEL_LIMIT; On 2014/07/22 00:44:32, Yoyo Zhou ...
6 years, 5 months ago (2014-07-22 18:52:53 UTC) #51
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/extension_context_menu_model_unittest.cc File chrome/browser/extensions/extension_context_menu_model_unittest.cc (right): https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/extension_context_menu_model_unittest.cc#newcode161 chrome/browser/extensions/extension_context_menu_model_unittest.cc:161: // items, and we limit the number of ...
6 years, 5 months ago (2014-07-22 21:35:43 UTC) #52
Yoyo Zhou
https://chromiumcodereview.appspot.com/359493005/diff/370001/chrome/common/extensions/api/context_menus.json File chrome/common/extensions/api/context_menus.json (right): https://chromiumcodereview.appspot.com/359493005/diff/370001/chrome/common/extensions/api/context_menus.json#newcode12 chrome/common/extensions/api/context_menus.json:12: "description": "The maximum number of top level extension items ...
6 years, 5 months ago (2014-07-22 21:37:09 UTC) #53
gpdavis
I've got a few very minor changes in some other files here. Could you guys ...
6 years, 5 months ago (2014-07-22 21:49:00 UTC) #54
not at google - send to devlin
https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/extension_context_menu_model_unittest.cc File chrome/browser/extensions/extension_context_menu_model_unittest.cc (right): https://chromiumcodereview.appspot.com/359493005/diff/330001/chrome/browser/extensions/extension_context_menu_model_unittest.cc#newcode161 chrome/browser/extensions/extension_context_menu_model_unittest.cc:161: // items, and we limit the number of top ...
6 years, 5 months ago (2014-07-22 22:58:07 UTC) #55
gpdavis
https://codereview.chromium.org/359493005/diff/370001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h (right): https://codereview.chromium.org/359493005/diff/370001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h#newcode152 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h:152: if (contexts.Contains(MenuItem::LAUNCHER)) { @yoyo, Since you pointed out the ...
6 years, 5 months ago (2014-07-23 23:09:52 UTC) #56
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/370001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h (right): https://codereview.chromium.org/359493005/diff/370001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h#newcode89 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h:89: // Not available for <webview>. On 2014/07/22 18:52:53, gpdavis ...
6 years, 5 months ago (2014-07-23 23:37:21 UTC) #57
gpdavis
https://codereview.chromium.org/359493005/diff/370001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h (right): https://codereview.chromium.org/359493005/diff/370001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h#newcode89 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h:89: // Not available for <webview>. On 2014/07/23 23:37:21, Yoyo ...
6 years, 5 months ago (2014-07-23 23:57:58 UTC) #58
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/390001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc (right): https://codereview.chromium.org/359493005/diff/390001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc#newcode21 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc:21: "Only packaged apps are allowed to use action contexts"; ...
6 years, 5 months ago (2014-07-24 00:17:58 UTC) #59
gpdavis
https://codereview.chromium.org/359493005/diff/390001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc (right): https://codereview.chromium.org/359493005/diff/390001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc#newcode21 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc:21: "Only packaged apps are allowed to use action contexts"; ...
6 years, 5 months ago (2014-07-24 00:23:32 UTC) #60
Yoyo Zhou
Great, LGTM
6 years, 5 months ago (2014-07-24 00:30:29 UTC) #61
Devlin
https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc (right): https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc#newcode20 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc:20: const char kActionNotAllowedError[] = here too, A < L ...
6 years, 5 months ago (2014-07-24 21:51:28 UTC) #62
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/extension_context_menu_model_unittest.cc File chrome/browser/extensions/extension_context_menu_model_unittest.cc (right): https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/extension_context_menu_model_unittest.cc#newcode124 chrome/browser/extensions/extension_context_menu_model_unittest.cc:124: MenuManager* manager = static_cast<MenuManager*>( What about creating a MenuManager ...
6 years, 5 months ago (2014-07-24 22:21:03 UTC) #63
gpdavis
https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc (right): https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc#newcode20 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc:20: const char kActionNotAllowedError[] = On 2014/07/24 21:51:26, Devlin wrote: ...
6 years, 4 months ago (2014-07-28 21:08:23 UTC) #64
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/extension_context_menu_model_unittest.cc File chrome/browser/extensions/extension_context_menu_model_unittest.cc (right): https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/extension_context_menu_model_unittest.cc#newcode35 chrome/browser/extensions/extension_context_menu_model_unittest.cc:35: scoped_refptr<Extension> BuildExtension(std::string action_type) { On 2014/07/28 21:08:22, gpdavis wrote: ...
6 years, 4 months ago (2014-07-28 23:23:26 UTC) #65
gpdavis
I went ahead and moved the Build method into the unit test, and added the ...
6 years, 4 months ago (2014-07-29 00:43:18 UTC) #66
Yoyo Zhou
Yes, LGTM. https://codereview.chromium.org/359493005/diff/450001/chrome/browser/extensions/extension_context_menu_model_unittest.cc File chrome/browser/extensions/extension_context_menu_model_unittest.cc (right): https://codereview.chromium.org/359493005/diff/450001/chrome/browser/extensions/extension_context_menu_model_unittest.cc#newcode47 chrome/browser/extensions/extension_context_menu_model_unittest.cc:47: static KeyedService* BuildInstanceForTesting( nit: Add function documentation.
6 years, 4 months ago (2014-07-29 01:38:19 UTC) #67
gpdavis
On 2014/07/22 21:49:00, gpdavis wrote: > I've got a few very minor changes in some ...
6 years, 4 months ago (2014-07-29 01:57:06 UTC) #68
Devlin
https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc (right): https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc#newcode20 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc:20: const char kActionNotAllowedError[] = On 2014/07/28 21:08:21, gpdavis wrote: ...
6 years, 4 months ago (2014-07-29 20:49:46 UTC) #69
msw
Rubber stamp lgtm for mechanical c/b/ui/app_list changes. Really, I'm deferring review to c/b/extensions/OWNERS.
6 years, 4 months ago (2014-07-29 23:25:55 UTC) #70
gpdavis
https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc File chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc (right): https://codereview.chromium.org/359493005/diff/410001/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc#newcode20 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc:20: const char kActionNotAllowedError[] = On 2014/07/29 20:49:45, Devlin wrote: ...
6 years, 4 months ago (2014-07-30 20:53:02 UTC) #71
Devlin
https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/context_menu_matcher.h File chrome/browser/extensions/context_menu_matcher.h (right): https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/context_menu_matcher.h#newcode17 chrome/browser/extensions/context_menu_matcher.h:17: class Profile; Don't need this. https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/extension_context_menu_model_unittest.cc File chrome/browser/extensions/extension_context_menu_model_unittest.cc (right): ...
6 years, 4 months ago (2014-07-30 21:32:58 UTC) #72
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/menu_manager_factory.h File chrome/browser/extensions/menu_manager_factory.h (right): https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/menu_manager_factory.h#newcode27 chrome/browser/extensions/menu_manager_factory.h:27: friend class ExtensionContextMenuModelTest; On 2014/07/30 21:32:58, Devlin wrote: > ...
6 years, 4 months ago (2014-07-30 21:49:33 UTC) #73
Devlin
https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/menu_manager_factory.h File chrome/browser/extensions/menu_manager_factory.h (right): https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/menu_manager_factory.h#newcode27 chrome/browser/extensions/menu_manager_factory.h:27: friend class ExtensionContextMenuModelTest; On 2014/07/30 21:49:33, Yoyo Zhou wrote: ...
6 years, 4 months ago (2014-07-30 21:54:15 UTC) #74
gpdavis
https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/context_menu_matcher.h File chrome/browser/extensions/context_menu_matcher.h (right): https://codereview.chromium.org/359493005/diff/530001/chrome/browser/extensions/context_menu_matcher.h#newcode17 chrome/browser/extensions/context_menu_matcher.h:17: class Profile; On 2014/07/30 21:32:57, Devlin wrote: > Don't ...
6 years, 4 months ago (2014-07-31 23:11:28 UTC) #75
gpdavis
On 2014/07/22 21:49:00, gpdavis wrote: > I've got a few very minor changes in some ...
6 years, 4 months ago (2014-08-04 17:40:16 UTC) #76
Devlin
lgtm
6 years, 4 months ago (2014-08-04 18:42:26 UTC) #77
brettw
https://codereview.chromium.org/359493005/diff/550001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/359493005/diff/550001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode586 chrome/browser/renderer_context_menu/render_view_context_menu.cc:586: for (std::vector<base::string16>::iterator iter = sorted_menu_titles.begin(); It's not clear to ...
6 years, 4 months ago (2014-08-04 20:17:48 UTC) #78
Devlin
https://codereview.chromium.org/359493005/diff/550001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/359493005/diff/550001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode586 chrome/browser/renderer_context_menu/render_view_context_menu.cc:586: for (std::vector<base::string16>::iterator iter = sorted_menu_titles.begin(); On 2014/08/04 20:17:47, brettw ...
6 years, 4 months ago (2014-08-04 20:23:02 UTC) #79
gpdavis
https://codereview.chromium.org/359493005/diff/550001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/359493005/diff/550001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode586 chrome/browser/renderer_context_menu/render_view_context_menu.cc:586: for (std::vector<base::string16>::iterator iter = sorted_menu_titles.begin(); On 2014/08/04 20:23:02, Devlin ...
6 years, 4 months ago (2014-08-04 20:52:32 UTC) #80
brettw
lgtm
6 years, 4 months ago (2014-08-04 21:51:41 UTC) #81
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-04 21:53:25 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/359493005/570001
6 years, 4 months ago (2014-08-04 21:55:57 UTC) #83
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 00:26:28 UTC) #84
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 00:31:54 UTC) #85
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/2738) android_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg/builds/3018)
6 years, 4 months ago (2014-08-05 00:31:56 UTC) #86
gpdavis
https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc#newcode11 chrome/browser/extensions/context_menu_matcher.cc:11: #include "chrome/common/extensions/api/context_menus.h" This appears to be the cause of ...
6 years, 4 months ago (2014-08-05 01:02:14 UTC) #87
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc#newcode11 chrome/browser/extensions/context_menu_matcher.cc:11: #include "chrome/common/extensions/api/context_menus.h" On 2014/08/05 01:02:13, gpdavis wrote: > This ...
6 years, 4 months ago (2014-08-05 01:06:35 UTC) #88
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-05 01:16:02 UTC) #89
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/359493005/610001
6 years, 4 months ago (2014-08-05 01:18:28 UTC) #90
gpdavis
https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc#newcode11 chrome/browser/extensions/context_menu_matcher.cc:11: #include "chrome/common/extensions/api/context_menus.h" On 2014/08/05 01:06:35, Yoyo Zhou wrote: > ...
6 years, 4 months ago (2014-08-05 01:52:29 UTC) #91
Yoyo Zhou
https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://codereview.chromium.org/359493005/diff/570001/chrome/browser/extensions/context_menu_matcher.cc#newcode11 chrome/browser/extensions/context_menu_matcher.cc:11: #include "chrome/common/extensions/api/context_menus.h" On 2014/08/05 01:52:28, gpdavis wrote: > On ...
6 years, 4 months ago (2014-08-05 02:16:52 UTC) #92
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 02:56:52 UTC) #93
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 03:02:56 UTC) #94
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg/builds/3067)
6 years, 4 months ago (2014-08-05 03:02:58 UTC) #95
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-05 21:14:09 UTC) #96
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/359493005/630001
6 years, 4 months ago (2014-08-05 21:15:34 UTC) #97
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-06 01:51:23 UTC) #98
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 02:25:54 UTC) #99
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/3112)
6 years, 4 months ago (2014-08-06 02:25:56 UTC) #100
gpdavis
Is the android_clang_dbg trybot flaky? The stdio gave a real compiler error before I made ...
6 years, 4 months ago (2014-08-06 17:07:41 UTC) #101
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-08 17:34:36 UTC) #102
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/359493005/630001
6 years, 4 months ago (2014-08-08 17:35:34 UTC) #103
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-08 19:22:20 UTC) #104
commit-bot: I haz the power
Change committed as 288418
6 years, 4 months ago (2014-08-08 20:01:16 UTC) #105
tommycli
A revert of this CL has been created in https://codereview.chromium.org/459493002/ by tommycli@chromium.org. The reason for ...
6 years, 4 months ago (2014-08-08 20:30:42 UTC) #106
gpdavis
https://codereview.chromium.org/359493005/diff/630001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://codereview.chromium.org/359493005/diff/630001/chrome/browser/extensions/context_menu_matcher.cc#newcode27 chrome/browser/extensions/context_menu_matcher.cc:27: api::context_menus::ACTION_MENU_TOP_LEVEL_LIMIT; Is this the problematic static initializer that's causing ...
6 years, 4 months ago (2014-08-08 21:01:53 UTC) #107
gpdavis
https://codereview.chromium.org/359493005/diff/650001/chrome/browser/extensions/context_menu_matcher.cc File chrome/browser/extensions/context_menu_matcher.cc (right): https://codereview.chromium.org/359493005/diff/650001/chrome/browser/extensions/context_menu_matcher.cc#newcode25 chrome/browser/extensions/context_menu_matcher.cc:25: int GetActionMenuTopLevelLimit() { @kalman, Is this what you had ...
6 years, 4 months ago (2014-08-11 18:39:01 UTC) #108
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-13 00:12:12 UTC) #109
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/359493005/650001
6 years, 4 months ago (2014-08-13 00:46:17 UTC) #110
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-13 01:12:06 UTC) #111
gpdavis
The CQ bit was unchecked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-13 01:20:12 UTC) #112
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-13 01:53:49 UTC) #113
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/359493005/670001
6 years, 4 months ago (2014-08-13 01:58:05 UTC) #114
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 08:25:48 UTC) #115
Message was sent while issue was closed.
Change committed as 289211

Powered by Google App Engine
This is Rietveld 408576698