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

Issue 79070: createWindow api call. (Closed)

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

Description

Implement tabs.createWindow extension api call. Required: (a) new RVHDelegate & TabContentsDelegate method(s) CreateExtensionFunctionDispatcher() so that the dispatcher could be created with (an optional) browser attached to it, while avoiding having render_host depend on browser.h BUG=11092 : R=aa,mpComplete,darin,pkasting Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14710

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 30

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 8

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -22 lines) Patch
M chrome/browser/browser.h View 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browser.cc View 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/browser_list.h View 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_list.cc View 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +76 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_view.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_view.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_view_unittest.cc View 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/external_tab_container.h View 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/external_tab_container.cc View 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_delegate.h View 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/views/blocked_popup_container.h View 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/views/blocked_popup_container.cc View 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/dragged_tab_controller.h View 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/dragged_tab_controller.cc View 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/window_sizer.h View 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/window_sizer.cc View 2 3 4 5 6 7 8 9 10 4 chunks +29 lines, -13 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.h View 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.cc View 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
rafaelw
11 years, 8 months ago (2009-04-18 01:19:25 UTC) #1
Aaron Boodman
LGTM Also, once you merge, consider using Erik's EXTENSION_FUNCTION_VALIDATE macro to validate the input more ...
11 years, 8 months ago (2009-04-20 04:23:19 UTC) #2
darin (slow to review)
http://codereview.chromium.org/79070/diff/1/9 File chrome/browser/renderer_host/render_view_host_delegate.h (right): http://codereview.chromium.org/79070/diff/1/9#newcode23 Line 23: class Browser; it is wrong for this file ...
11 years, 8 months ago (2009-04-20 07:51:13 UTC) #3
darin (slow to review)
if you want to talk to the Browser, you need to do so indirectly. The ...
11 years, 8 months ago (2009-04-20 07:52:41 UTC) #4
Aaron Boodman
On 2009/04/20 07:52:41, darin wrote: > if you want to talk to the Browser, you ...
11 years, 8 months ago (2009-04-20 17:45:17 UTC) #5
Matt Perry
http://codereview.chromium.org/79070/diff/1/6 File chrome/browser/extensions/extension_function_dispatcher.h (right): http://codereview.chromium.org/79070/diff/1/6#newcode34 Line 34: RenderViewHostDelegate *GetRenderViewHostDelegate(); use: Type* name(); http://codereview.chromium.org/79070/diff/1/7 File chrome/browser/extensions/extension_tabs_module.cc ...
11 years, 8 months ago (2009-04-20 19:00:27 UTC) #6
rafaelw
Made Matt & Aaron's changes. Backed out GetBrowser() call from RVHDelegate per Darin's request and ...
11 years, 8 months ago (2009-04-22 21:47:10 UTC) #7
Peter Kasting
Parts you asked me to review generally look OK, lots of small things. http://codereview.chromium.org/79070/diff/6001/6007 File ...
11 years, 8 months ago (2009-04-22 21:57:42 UTC) #8
Matt Perry
looks mostly good http://codereview.chromium.org/79070/diff/6001/6006 File chrome/browser/extensions/extension_function_dispatcher.h (right): http://codereview.chromium.org/79070/diff/6001/6006#newcode37 Line 37: Browser* GetBrowser() { return browser_; ...
11 years, 8 months ago (2009-04-22 22:00:25 UTC) #9
rafaelw
Made changes for Matt & Peter's comments. http://codereview.chromium.org/79070/diff/6001/6006 File chrome/browser/extensions/extension_function_dispatcher.h (right): http://codereview.chromium.org/79070/diff/6001/6006#newcode37 Line 37: Browser* ...
11 years, 8 months ago (2009-04-22 23:13:44 UTC) #10
Matt Perry
LGTM
11 years, 8 months ago (2009-04-22 23:14:27 UTC) #11
Peter Kasting
LGTM with nits http://codereview.chromium.org/79070/diff/5078/5084 File chrome/browser/extensions/extension_tabs_module.cc (right): http://codereview.chromium.org/79070/diff/5078/5084#newcode94 Line 94: // its position can be ...
11 years, 8 months ago (2009-04-22 23:18:02 UTC) #12
Matt Perry
http://codereview.chromium.org/79070/diff/5078/5084 File chrome/browser/extensions/extension_tabs_module.cc (right): http://codereview.chromium.org/79070/diff/5078/5084#newcode97 Line 97: browser = BrowserList::GetLastActive(); Erik brought up a good ...
11 years, 8 months ago (2009-04-22 23:37:06 UTC) #13
rafaelw
http://codereview.chromium.org/79070/diff/5078/5084 File chrome/browser/extensions/extension_tabs_module.cc (right): http://codereview.chromium.org/79070/diff/5078/5084#newcode94 Line 94: // its position can be set relative to ...
11 years, 8 months ago (2009-04-23 21:04:11 UTC) #14
darin (slow to review)
Please add a more detailed CL description. Be sure to reference a bug number (BUG=XXX) ...
11 years, 8 months ago (2009-04-27 16:11:52 UTC) #15
Aaron Boodman
lgtm http://codereview.chromium.org/79070/diff/8099/9047 File chrome/browser/browser.h (right): http://codereview.chromium.org/79070/diff/8099/9047#newcode415 Line 415: Extraneous newline http://codereview.chromium.org/79070/diff/8099/9035 File chrome/browser/extensions/extension_function.h (right): http://codereview.chromium.org/79070/diff/8099/9035#newcode74 ...
11 years, 8 months ago (2009-04-27 21:10:43 UTC) #16
rafaelw
http://codereview.chromium.org/79070/diff/8099/9047 File chrome/browser/browser.h (right): http://codereview.chromium.org/79070/diff/8099/9047#newcode415 Line 415: On 2009/04/27 21:10:43, Aaron Boodman wrote: > Extraneous ...
11 years, 8 months ago (2009-04-28 00:41:47 UTC) #17
Aaron Boodman
11 years, 8 months ago (2009-04-28 00:54:18 UTC) #18
LGTM

Powered by Google App Engine
This is Rietveld 408576698