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

Issue 160276: mole expand/collapse API (Closed)

Created:
11 years, 4 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

mole expand/collapse API, callable from a toolstrip for manual operation Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22245

Patch Set 1 #

Patch Set 2 : work in progress #

Patch Set 3 : mole API #

Patch Set 4 : cleanup #

Patch Set 5 : added sample extension using API #

Total comments: 13

Patch Set 6 : changes for review comments. added client API test. #

Patch Set 7 : linux fixes #

Total comments: 2

Patch Set 8 : change GetHost to GetExtensionHost #

Patch Set 9 : fixed a couple of crashers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+715 lines, -128 lines) Patch
M chrome/browser/browser.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 5 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 3 4 5 6 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_shelf_model.h View 2 3 4 5 6 7 8 6 chunks +60 lines, -39 lines 0 comments Download
M chrome/browser/extensions/extension_shelf_model.cc View 2 3 4 5 6 7 8 10 chunks +47 lines, -24 lines 0 comments Download
M chrome/browser/extensions/extension_shelf_model_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A chrome/browser/extensions/extension_toolstrip_api.h View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_toolstrip_api.cc View 1 2 3 4 5 6 7 8 1 chunk +114 lines, -0 lines 0 comments Download
M chrome/browser/gtk/extension_shelf_gtk.h View 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/gtk/extension_shelf_gtk.cc View 7 8 5 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/views/extensions/extension_shelf.h View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/views/extensions/extension_shelf.cc View 1 2 3 4 5 6 7 8 14 chunks +110 lines, -38 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/common_resources.grd View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 2 chunks +31 lines, -1 line 0 comments Download
A chrome/common/extensions/docs/toolstrip.html View 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_api_client_unittest.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/samples/mappy/manifest.json View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/mappy/mappy_content_script.js View 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/mappy/mappy_toolstrip.html View 5 1 chunk +68 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Erik does not do reviews
I need to add a unit test, but I think the code is worth looking ...
11 years, 4 months ago (2009-07-29 23:08:25 UTC) #1
Aaron Boodman
This looks very exciting! http://codereview.chromium.org/160276/diff/1068/32 File chrome/browser/extensions/extension_toolstrip_api.h (right): http://codereview.chromium.org/160276/diff/1068/32#newcode17 Line 17: class ToolstripFunction : public ...
11 years, 4 months ago (2009-07-29 23:36:31 UTC) #2
Matt Perry
LGTM, handful of nits http://codereview.chromium.org/160276/diff/1068/29 File chrome/browser/extensions/extension_shelf_model.cc (right): http://codereview.chromium.org/160276/diff/1068/29#newcode157 Line 157: AddExtensions( trailing spaces http://codereview.chromium.org/160276/diff/1068/30 ...
11 years, 4 months ago (2009-07-30 00:39:41 UTC) #3
Erik does not do reviews
http://codereview.chromium.org/160276/diff/1068/29 File chrome/browser/extensions/extension_shelf_model.cc (right): http://codereview.chromium.org/160276/diff/1068/29#newcode157 Line 157: AddExtensions( On 2009/07/30 00:39:41, Matt Perry wrote: > ...
11 years, 4 months ago (2009-07-30 21:50:46 UTC) #4
Matt Perry
lgtm
11 years, 4 months ago (2009-07-30 22:05:04 UTC) #5
Erik does not do reviews
Paweł, could you please review the gtk changes I've added to this CL?
11 years, 4 months ago (2009-07-30 23:54:30 UTC) #6
Paweł Hajdan Jr.
Gtk changes LGTM. http://codereview.chromium.org/160276/diff/1100/1106 File chrome/browser/extensions/extension_host.h (right): http://codereview.chromium.org/160276/diff/1100/1106#newcode127 Line 127: virtual ExtensionHost* GetHost() { return ...
11 years, 4 months ago (2009-07-31 00:03:21 UTC) #7
Erik does not do reviews
11 years, 4 months ago (2009-07-31 00:33:02 UTC) #8
http://codereview.chromium.org/160276/diff/1100/1106
File chrome/browser/extensions/extension_host.h (right):

http://codereview.chromium.org/160276/diff/1100/1106#newcode127
Line 127: virtual ExtensionHost* GetHost() { return this; }
On 2009/07/31 00:03:21, Paweł Hajdan Jr. wrote:
> I would prefer a long name: GetExtensionHost.

good point.  fixed.

Powered by Google App Engine
This is Rietveld 408576698