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

Issue 115419: extensions chrome.self.getViews() (Closed)

Created:
11 years, 7 months ago by rafaelw
Modified:
9 years, 7 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

extensions chrome.self.getViews(): extension toolstrips and background pages can now retrieve a list of the other "views" (window objects) in their extension and script them directly R=mpComplete Committed: http://src.chromium.org/viewvc/16222

Patch Set 1 #

Total comments: 12

Patch Set 2 : CR changes #

Patch Set 3 : remove line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -2 lines) Patch
M chrome/renderer/extensions/extension_process_bindings.h View 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_process_bindings.cc View 1 5 chunks +84 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 chunks +16 lines, -1 line 0 comments Download
A chrome/test/data/extensions/samples/getviews/bg.html View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/getviews/common.css View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/getviews/common.js View 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/getviews/manifest.json View 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/getviews/ts1.html View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/getviews/ts2.html View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rafaelw
11 years, 7 months ago (2009-05-15 21:35:54 UTC) #1
Matt Perry
Good stuff! Couple comments. http://codereview.chromium.org/115419/diff/1/2 File chrome/renderer/extensions/extension_process_bindings.cc (right): http://codereview.chromium.org/115419/diff/1/2#newcode76 Line 76: return (*Singleton<ExtensionViewContexts>::get())[extension_id]; careful: Singleton ...
11 years, 7 months ago (2009-05-15 21:50:48 UTC) #2
rafaelw
http://codereview.chromium.org/115419/diff/1/2 File chrome/renderer/extensions/extension_process_bindings.cc (right): http://codereview.chromium.org/115419/diff/1/2#newcode76 Line 76: return (*Singleton<ExtensionViewContexts>::get())[extension_id]; On 2009/05/15 21:50:49, Matt Perry wrote: ...
11 years, 7 months ago (2009-05-15 22:32:25 UTC) #3
Matt Perry
11 years, 7 months ago (2009-05-15 22:38:51 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698