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

Issue 10119003: Pull shell window stuff out of ExtensionHost and put in ShellWindow (Closed)

Created:
8 years, 8 months ago by benwells
Modified:
8 years, 7 months ago
CC:
chromium-reviews, mihaip+watch_chromium.org, Matt Perry, asargent_no_longer_on_chrome, jeremya, stevenjb
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Pull shell window stuff out of ExtensionHost and put in ShellWindow This will let us iterate quicker on ShellWindow and platform apps and let them do things (like have TabContentsWrappers) that normal ExtensionHost windows shouldn't do. BUG=None TEST=Platform apps still work, browser tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136239

Patch Set 1 #

Total comments: 9

Patch Set 2 : More stuff #

Total comments: 17

Patch Set 3 : Rebase #

Total comments: 1

Patch Set 4 : Removed platform app host, merged into shell window #

Total comments: 4

Patch Set 5 : Updated #

Total comments: 2

Patch Set 6 : Rebase #

Patch Set 7 : Mac shell window #

Total comments: 20

Patch Set 8 : Rebase #

Patch Set 9 : Views #

Patch Set 10 : Comments and chromeos compile #

Patch Set 11 : Rebase #

Patch Set 12 : Views compiling #

Patch Set 13 : Chromeos compile still, debug output for browser tests on bots #

Patch Set 14 : Try jobs #

Total comments: 9

Patch Set 15 : Chromeos and Win aura fix #

Total comments: 4

Patch Set 16 : Rebase #

Patch Set 17 : Comments #

Total comments: 3

Patch Set 18 : Rebase #

Patch Set 19 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -227 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +7 lines, -23 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +24 lines, -27 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +19 lines, -38 lines 0 comments Download
A chrome/browser/extensions/shell_window_registry.h View 1 2 3 4 5 6 7 8 9 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/extensions/shell_window_registry.cc View 1 2 3 4 5 6 7 8 9 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager_resource_providers.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager_resource_providers.cc View 1 2 3 4 13 3 chunks +26 lines, -18 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +50 lines, -18 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +86 lines, -48 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/shell_window_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/shell_window_gtk.cc View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/extensions/shell_window_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +21 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/extensions/shell_window_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +75 lines, -14 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
benwells
This is a rough version of splitting out PlatformAppHost. It needs the changes in http://codereview.chromium.org/10116017/ ...
8 years, 8 months ago (2012-04-18 08:34:58 UTC) #1
benwells
https://chromiumcodereview.appspot.com/10119003/diff/1/chrome/browser/extensions/base_extension_host.h File chrome/browser/extensions/base_extension_host.h (right): https://chromiumcodereview.appspot.com/10119003/diff/1/chrome/browser/extensions/base_extension_host.h#newcode32 chrome/browser/extensions/base_extension_host.h:32: class BaseExtensionHost { If this class stays it could ...
8 years, 8 months ago (2012-04-18 12:08:44 UTC) #2
Matt Perry
https://chromiumcodereview.appspot.com/10119003/diff/1/chrome/browser/extensions/base_extension_host.h File chrome/browser/extensions/base_extension_host.h (right): https://chromiumcodereview.appspot.com/10119003/diff/1/chrome/browser/extensions/base_extension_host.h#newcode31 chrome/browser/extensions/base_extension_host.h:31: // extension type specific functionality delegated out. The delegate ...
8 years, 8 months ago (2012-04-18 19:00:00 UTC) #3
Aaron Boodman
I discussed this at length with Matt today at lunch. I still think we should ...
8 years, 8 months ago (2012-04-18 21:33:22 UTC) #4
benwells
Still WIP. BaseExtensionHost is gone. Platform apps don't use ExtensionView anymore but that probably won't ...
8 years, 8 months ago (2012-04-19 09:03:54 UTC) #5
Aaron Boodman
https://chromiumcodereview.appspot.com/10119003/diff/7001/chrome/browser/extensions/platform_app_host.cc File chrome/browser/extensions/platform_app_host.cc (right): https://chromiumcodereview.appspot.com/10119003/diff/7001/chrome/browser/extensions/platform_app_host.cc#newcode77 chrome/browser/extensions/platform_app_host.cc:77: associated_web_contents_(NULL), This is always NULL and can be removed, ...
8 years, 8 months ago (2012-04-20 07:05:53 UTC) #6
benwells
Platform app host gone. After EPM refactor lands I'll update this patch to create some ...
8 years, 8 months ago (2012-04-24 08:35:32 UTC) #7
jeremya
just fyi: when I did this refactor originally, I tried the 'put everything in ShellWindow' ...
8 years, 8 months ago (2012-04-25 02:21:37 UTC) #8
benwells
On 2012/04/25 02:21:37, jeremya wrote: > just fyi: when I did this refactor originally, I ...
8 years, 8 months ago (2012-04-25 04:03:37 UTC) #9
Matt Perry
https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc#newcode152 chrome/browser/ui/extensions/shell_window.cc:152: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); This line is a good example of why ...
8 years, 7 months ago (2012-04-25 19:31:58 UTC) #10
Matt Perry
https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc#newcode152 chrome/browser/ui/extensions/shell_window.cc:152: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); On 2012/04/25 19:31:58, Matt Perry wrote: > This ...
8 years, 7 months ago (2012-04-25 22:34:59 UTC) #11
benwells
http://codereview.chromium.org/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): http://codereview.chromium.org/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc#newcode152 chrome/browser/ui/extensions/shell_window.cc:152: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); On 2012/04/25 22:35:00, Matt Perry wrote: > On ...
8 years, 7 months ago (2012-04-25 23:25:25 UTC) #12
benwells
This is getting closer - apart from the views and cocoa implementation, this is now ...
8 years, 7 months ago (2012-04-26 08:36:32 UTC) #13
Aaron Boodman
https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc#newcode152 chrome/browser/ui/extensions/shell_window.cc:152: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); On 2012/04/25 23:25:25, benwells wrote: > On 2012/04/25 ...
8 years, 7 months ago (2012-04-27 16:20:31 UTC) #14
Aaron Boodman
On 2012/04/27 16:20:31, Aaron Boodman wrote: > https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc > File chrome/browser/ui/extensions/shell_window.cc (right): > > https://chromiumcodereview.appspot.com/10119003/diff/19001/chrome/browser/ui/extensions/shell_window.cc#newcode152 ...
8 years, 7 months ago (2012-04-27 16:21:53 UTC) #15
Aaron Boodman
One more thing I forgot to say: Ben: Awesome change is awesome. I really like ...
8 years, 7 months ago (2012-04-27 16:22:33 UTC) #16
benwells
+mihaip as reviewer http://codereview.chromium.org/10119003/diff/40004/chrome/browser/extensions/platform_app_registry.h File chrome/browser/extensions/platform_app_registry.h (right): http://codereview.chromium.org/10119003/diff/40004/chrome/browser/extensions/platform_app_registry.h#newcode19 chrome/browser/extensions/platform_app_registry.h:19: // The PlatformAppRegistry tracks the ShellWindows ...
8 years, 7 months ago (2012-05-03 09:22:40 UTC) #17
benwells
Try jobs are looking pretty good, there is still some suspicious failures on chromeos but ...
8 years, 7 months ago (2012-05-03 20:39:33 UTC) #18
benwells
ChromeOS bots are now happy. Please review!
8 years, 7 months ago (2012-05-04 18:38:53 UTC) #19
Matt Perry
lgtm http://codereview.chromium.org/10119003/diff/67002/chrome/browser/extensions/extension_host.cc File chrome/browser/extensions/extension_host.cc (right): http://codereview.chromium.org/10119003/diff/67002/chrome/browser/extensions/extension_host.cc#newcode530 chrome/browser/extensions/extension_host.cc:530: Browser::RunFileChooserHelper(tab, params); Can ShellWindow apps call alert() or ...
8 years, 7 months ago (2012-05-05 00:51:38 UTC) #20
jeremya
I'd like the ShellWindowViews stuff to be structured a little differently (as mentioned below), but ...
8 years, 7 months ago (2012-05-07 00:54:37 UTC) #21
Aaron Boodman
LGTM
8 years, 7 months ago (2012-05-07 02:47:44 UTC) #22
benwells
Merged with stevenjb's patch. Adding reviewers: + estade for chrome/browser/ui/gtk + sail for chrome/browser/ui/cocoa + ...
8 years, 7 months ago (2012-05-07 08:46:15 UTC) #23
sky
LGTM http://codereview.chromium.org/10119003/diff/74012/chrome/browser/ui/views/extensions/shell_window_views.h File chrome/browser/ui/views/extensions/shell_window_views.h (right): http://codereview.chromium.org/10119003/diff/74012/chrome/browser/ui/views/extensions/shell_window_views.h#newcode21 chrome/browser/ui/views/extensions/shell_window_views.h:21: explicit ShellWindowViews(Profile* profile, remove explicit
8 years, 7 months ago (2012-05-07 15:48:28 UTC) #24
sail
cocoa/* LGTM!
8 years, 7 months ago (2012-05-07 16:32:09 UTC) #25
Evan Stade
rubber stamp lgtm on gtk http://codereview.chromium.org/10119003/diff/74012/chrome/browser/ui/extensions/shell_window.h File chrome/browser/ui/extensions/shell_window.h (right): http://codereview.chromium.org/10119003/diff/74012/chrome/browser/ui/extensions/shell_window.h#newcode26 chrome/browser/ui/extensions/shell_window.h:26: please add a file ...
8 years, 7 months ago (2012-05-08 00:58:16 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10119003/82005
8 years, 7 months ago (2012-05-10 00:22:05 UTC) #27
commit-bot: I haz the power
8 years, 7 months ago (2012-05-10 03:45:11 UTC) #28
Change committed as 136239

Powered by Google App Engine
This is Rietveld 408576698