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

Issue 12095023: Allow platform apps to add themselves to the Action Box. (Closed)

Created:
7 years, 10 months ago by Rune Fevang
Modified:
7 years, 10 months ago
CC:
chromium-reviews, Aaron Boodman, tfarina, sail+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Allow platform apps to add themselves to the Action Box. This change allows apps to declare a page_launcher key in the manifest to add themselves to the action box. When the corresponding action is clicked, the app will receive a pageLauncher.onClicked event. ActionBox design document: https://docs.google.com/a/google.com/document/d/1Qxiey4vnbX0YwCRi5BGQbeCuH3DxHGMOtYnQOjBpcCI/edit BUG=125307 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181837

Patch Set 1 #

Patch Set 2 : Missing space #

Total comments: 1

Patch Set 3 : Comments in idl file #

Patch Set 4 : Rebase #

Total comments: 6

Patch Set 5 : Travis comments #

Patch Set 6 : Rebase #

Patch Set 7 : #

Total comments: 37

Patch Set 8 : kalman comments #

Patch Set 9 : Rebase #

Total comments: 10

Patch Set 10 : sky comments #

Patch Set 11 : Use raw pointer + IconImage signature changed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -165 lines) Patch
A chrome/browser/extensions/api/page_launcher/page_launcher_api.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/page_launcher/page_launcher_api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/plus_decoration.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/action_box_button_controller.h View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/ui/toolbar/action_box_button_controller.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +64 lines, -65 lines 0 comments Download
M chrome/browser/ui/toolbar/action_box_menu_model.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/action_box_menu.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -33 lines 0 comments Download
M chrome/browser/ui/views/action_box_menu.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +41 lines, -56 lines 0 comments Download
M chrome/browser/ui/views/location_bar/action_box_button_view.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_action/action_info.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_action/action_info.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/page_launcher.idl View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/page_launcher/page_launcher_handler.h View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/page_launcher/page_launcher_handler.cc View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Rune Fevang
7 years, 10 months ago (2013-01-28 22:53:48 UTC) #1
skare_
lgtm https://codereview.chromium.org/12095023/diff/24/chrome/common/extensions/api/_manifest_features.json File chrome/common/extensions/api/_manifest_features.json (right): https://codereview.chromium.org/12095023/diff/24/chrome/common/extensions/api/_manifest_features.json#newcode238 chrome/common/extensions/api/_manifest_features.json:238: "channel": "stable", should we be on dev at ...
7 years, 10 months ago (2013-01-30 00:49:50 UTC) #2
Rune Fevang
https://codereview.chromium.org/12095023/diff/8038/chrome/browser/extensions/api/page_launcher/page_launcher_api.h File chrome/browser/extensions/api/page_launcher/page_launcher_api.h (right): https://codereview.chromium.org/12095023/diff/8038/chrome/browser/extensions/api/page_launcher/page_launcher_api.h#newcode47 chrome/browser/extensions/api/page_launcher/page_launcher_api.h:47: #endif // CHROME_BROWSER_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_API_H_ On 2013/01/30 00:49:51, Travis Skare wrote: ...
7 years, 10 months ago (2013-01-30 01:32:12 UTC) #3
Rune Fevang
7 years, 10 months ago (2013-01-30 23:48:40 UTC) #4
not at google - send to devlin
Cool, mostly nits. https://codereview.chromium.org/12095023/diff/13005/chrome/browser/extensions/api/page_launcher/page_launcher_api.cc File chrome/browser/extensions/api/page_launcher/page_launcher_api.cc (right): https://codereview.chromium.org/12095023/diff/13005/chrome/browser/extensions/api/page_launcher/page_launcher_api.cc#newcode32 chrome/browser/extensions/api/page_launcher/page_launcher_api.cc:32: const std::string& url, GURL? https://codereview.chromium.org/12095023/diff/13005/chrome/browser/ui/toolbar/action_box_button_controller.cc File ...
7 years, 10 months ago (2013-02-01 16:39:47 UTC) #5
Rune Fevang
https://codereview.chromium.org/12095023/diff/13005/chrome/browser/extensions/api/page_launcher/page_launcher_api.cc File chrome/browser/extensions/api/page_launcher/page_launcher_api.cc (right): https://codereview.chromium.org/12095023/diff/13005/chrome/browser/extensions/api/page_launcher/page_launcher_api.cc#newcode32 chrome/browser/extensions/api/page_launcher/page_launcher_api.cc:32: const std::string& url, On 2013/02/01 16:39:47, kalman wrote: > ...
7 years, 10 months ago (2013-02-01 22:12:54 UTC) #6
not at google - send to devlin
lgtm https://codereview.chromium.org/12095023/diff/13005/chrome/common/extensions/api/page_launcher.idl File chrome/common/extensions/api/page_launcher.idl (right): https://codereview.chromium.org/12095023/diff/13005/chrome/common/extensions/api/page_launcher.idl#newcode19 chrome/common/extensions/api/page_launcher.idl:19: // |pageData| : The details of the page ...
7 years, 10 months ago (2013-02-01 22:17:11 UTC) #7
not at google - send to devlin
btw I'd be nice to test, but I don't know how invokable the action box ...
7 years, 10 months ago (2013-02-01 22:18:34 UTC) #8
Rune Fevang
sky, could you do an OWNERS review of the /ui stuff? Thanks.
7 years, 10 months ago (2013-02-07 00:20:25 UTC) #9
sky
LGTM https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h File chrome/browser/extensions/api/page_launcher/page_launcher_api.h (right): https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h#newcode28 chrome/browser/extensions/api/page_launcher/page_launcher_api.h:28: scoped_ptr<std::string> page_title, Why does this take scoped_ptr<std::string> why ...
7 years, 10 months ago (2013-02-11 16:37:09 UTC) #10
Rune Fevang
https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h File chrome/browser/extensions/api/page_launcher/page_launcher_api.h (right): https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h#newcode28 chrome/browser/extensions/api/page_launcher/page_launcher_api.h:28: scoped_ptr<std::string> page_title, On 2013/02/11 16:37:09, sky wrote: > Why ...
7 years, 10 months ago (2013-02-11 20:52:51 UTC) #11
sky
https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h File chrome/browser/extensions/api/page_launcher/page_launcher_api.h (right): https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h#newcode28 chrome/browser/extensions/api/page_launcher/page_launcher_api.h:28: scoped_ptr<std::string> page_title, On 2013/02/11 20:52:52, Rune Fevang wrote: > ...
7 years, 10 months ago (2013-02-11 21:57:47 UTC) #12
Rune Fevang
https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h File chrome/browser/extensions/api/page_launcher/page_launcher_api.h (right): https://codereview.chromium.org/12095023/diff/25001/chrome/browser/extensions/api/page_launcher/page_launcher_api.h#newcode28 chrome/browser/extensions/api/page_launcher/page_launcher_api.h:28: scoped_ptr<std::string> page_title, On 2013/02/11 21:57:47, sky wrote: > On ...
7 years, 10 months ago (2013-02-11 23:36:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rfevang@chromium.org/12095023/37001
7 years, 10 months ago (2013-02-12 00:04:53 UTC) #14
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 03:46:14 UTC) #15
Message was sent while issue was closed.
Change committed as 181837

Powered by Google App Engine
This is Rietveld 408576698