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

Issue 16702003: Move ShellWindow into apps component. (Closed)

Created:
7 years, 6 months ago by benwells
Modified:
7 years, 5 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, tzik+watch_chromium.org, ahutter, Raman Kakilate, kinuko+watch, Ilya Sherman, extensions-reviews_chromium.org, ben+watch_chromium.org, benquan, stevenjb+watch_chromium.org, dbeam+watch-autofill_chromium.org, marja+watch_chromium.org, chromium-apps-reviews_chromium.org, jeremya+watch_chromium.org, oshima+watch_chromium.org, Albert Bodenhamer, rouslan+autofillwatch_chromium.org, tfarina, Dane Wallinga, dyu1, estade+watch_chromium.org, davemoore+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Move ShellWindow into apps component. This involves creating a new delegate type, ShellWindow::Delegate, which is implemented in chrome. BUG=159366 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208927 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209371

Patch Set 1 #

Patch Set 2 : Interactive UI test compile #

Patch Set 3 : Self review #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Feedback #

Total comments: 16

Patch Set 6 : Rebase #

Patch Set 7 : Feedback #

Patch Set 8 : Added TODO #

Patch Set 9 : Rebase #

Patch Set 10 : woops #

Patch Set 11 : Chromeos browsertests #

Patch Set 12 : Fix patch clash #

Patch Set 13 : Rebase #

Patch Set 14 : yar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -1273 lines) Patch
M apps/DEPS View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M apps/app_lifetime_monitor.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M apps/app_restore_service.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M apps/app_shim/extension_app_shim_handler_mac.cc View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M apps/apps.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
A + apps/shell_window.h View 1 2 3 4 5 9 chunks +58 lines, -6 lines 0 comments Download
A + apps/shell_window.cc View 1 2 3 4 5 21 chunks +49 lines, -103 lines 0 comments Download
M chrome/browser/chromeos/app_mode/app_session_lifetime.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/DEPS View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h View 13 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/app_window/app_window_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/app_window/app_window_apitest.cc View 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/entry_picker.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.h View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.cc View 1 2 3 4 5 4 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 2 3 4 5 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/ash_panel_contents.h View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/tabs/ash_panel_contents.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 3 4 5 5 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/extensions/app_window_contents.h View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/app_window_contents.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tab_util.cc View 1 2 3 4 5 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.h View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.cc View 1 2 3 4 5 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/extensions/shell_window_registry.h View 1 2 3 4 6 chunks +22 lines, -16 lines 0 comments Download
M chrome/browser/extensions/shell_window_registry.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/web_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/web_view_interactive_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_id.h View 1 chunk +0 lines, -2 lines 0 comments Download
A chrome/browser/ui/apps/chrome_shell_window_delegate.h View 1 2 3 4 5 6 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/ui/apps/chrome_shell_window_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +156 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app_browsertest.cc View 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_controller.h View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h View 4 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.h View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/apps_metro_handler_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/extensions/native_app_window.h View 2 chunks +5 lines, -4 lines 0 comments Download
D chrome/browser/ui/extensions/shell_window.h View 1 2 3 4 5 1 chunk +0 lines, -328 lines 0 comments Download
D chrome/browser/ui/extensions/shell_window.cc View 1 2 3 4 5 1 chunk +0 lines, -703 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/native_app_window_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/native_app_window_views.h View 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/extensions/native_app_window_views.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/select_file_dialog_extension.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
benwells
miket@, could you do a full review? I'll send to non-apps and non-extensions owners once ...
7 years, 6 months ago (2013-06-13 05:01:06 UTC) #1
benwells
On 2013/06/13 05:01:06, benwells wrote: > miket@, could you do a full review? I'll send ...
7 years, 6 months ago (2013-06-14 01:04:20 UTC) #2
miket_OOO
lgtm https://chromiumcodereview.appspot.com/16702003/diff/12001/apps/shell_window.cc File apps/shell_window.cc (right): https://chromiumcodereview.appspot.com/16702003/diff/12001/apps/shell_window.cc#newcode345 apps/shell_window.cc:345: while ((match_index = title.find(L'\n', current_index)) != string16::npos) { ...
7 years, 6 months ago (2013-06-14 20:07:50 UTC) #3
benwells
+sky for - non-extensions chrome/browser changes - addition of a chrome/browser/ui/apps folder - new DEPS ...
7 years, 6 months ago (2013-06-19 09:00:20 UTC) #4
Jói
DEP to //components/web_modal LGTM.
7 years, 6 months ago (2013-06-19 09:53:04 UTC) #5
sky
I didn't look at DEPS changes since they're in apps and extensions. I'm assuming someone ...
7 years, 6 months ago (2013-06-19 14:16:04 UTC) #6
benwells
+rockot to review the changes to the #ifdeffery Sorry for the delay, I've been travelling. ...
7 years, 6 months ago (2013-06-25 08:36:03 UTC) #7
Ken Rockot(use gerrit already)
On 2013/06/25 08:36:03, benwells wrote: > +rockot to review the changes to the #ifdeffery > ...
7 years, 6 months ago (2013-06-25 14:01:05 UTC) #8
sky
Even though you're just moving code I want to make sure the issues I've raised ...
7 years, 6 months ago (2013-06-25 15:59:41 UTC) #9
Ken Rockot(use gerrit already)
sky please see my comments https://codereview.chromium.org/16702003/diff/24001/chrome/browser/ui/apps/chrome_shell_window_delegate.cc File chrome/browser/ui/apps/chrome_shell_window_delegate.cc (right): https://codereview.chromium.org/16702003/diff/24001/chrome/browser/ui/apps/chrome_shell_window_delegate.cc#newcode43 chrome/browser/ui/apps/chrome_shell_window_delegate.cc:43: delete source; source is ...
7 years, 6 months ago (2013-06-25 17:18:11 UTC) #10
sky
https://codereview.chromium.org/16702003/diff/24001/chrome/browser/ui/apps/chrome_shell_window_delegate.cc File chrome/browser/ui/apps/chrome_shell_window_delegate.cc (right): https://codereview.chromium.org/16702003/diff/24001/chrome/browser/ui/apps/chrome_shell_window_delegate.cc#newcode43 chrome/browser/ui/apps/chrome_shell_window_delegate.cc:43: delete source; It doesn't matter than source is a ...
7 years, 6 months ago (2013-06-25 17:53:36 UTC) #11
Ken Rockot(use gerrit already)
https://codereview.chromium.org/16702003/diff/24001/chrome/browser/ui/apps/chrome_shell_window_delegate.cc File chrome/browser/ui/apps/chrome_shell_window_delegate.cc (right): https://codereview.chromium.org/16702003/diff/24001/chrome/browser/ui/apps/chrome_shell_window_delegate.cc#newcode43 chrome/browser/ui/apps/chrome_shell_window_delegate.cc:43: delete source; The call site in this case is ...
7 years, 6 months ago (2013-06-25 22:25:51 UTC) #12
sky
As long as its safe, I'm fine with it. Could you add a test for ...
7 years, 6 months ago (2013-06-25 22:40:56 UTC) #13
benwells
On 2013/06/25 22:40:56, sky wrote: > As long as its safe, I'm fine with it. ...
7 years, 6 months ago (2013-06-26 02:05:16 UTC) #14
sky
TODO is fine, LGTM
7 years, 6 months ago (2013-06-26 04:12:16 UTC) #15
benwells
+reed for reals this time for new DEPS onto skia
7 years, 6 months ago (2013-06-26 05:15:22 UTC) #16
reed1
rubber-stamp lgtm for mentioning skia
7 years, 6 months ago (2013-06-27 00:42:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/50001
7 years, 6 months ago (2013-06-27 00:45:00 UTC) #18
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-06-27 01:04:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/72001
7 years, 6 months ago (2013-06-27 03:45:16 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-27 04:12:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/93001
7 years, 6 months ago (2013-06-27 05:35:10 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-27 06:06:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/107001
7 years, 5 months ago (2013-06-27 07:54:40 UTC) #24
commit-bot: I haz the power
Change committed as 208927
7 years, 5 months ago (2013-06-27 15:12:09 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/127001
7 years, 5 months ago (2013-06-28 02:42:00 UTC) #26
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-06-28 04:06:43 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/134003
7 years, 5 months ago (2013-06-28 05:57:35 UTC) #28
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, chrome_frame_net_tests, ...
7 years, 5 months ago (2013-06-28 06:33:13 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/134003
7 years, 5 months ago (2013-06-28 18:28:42 UTC) #30
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/gtk/extensions/native_app_window_gtk.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-06-28 18:29:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/163001
7 years, 5 months ago (2013-07-01 04:09:51 UTC) #32
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-01 04:17:23 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/16702003/163001
7 years, 5 months ago (2013-07-01 04:18:45 UTC) #34
commit-bot: I haz the power
7 years, 5 months ago (2013-07-01 07:07:43 UTC) #35
Message was sent while issue was closed.
Change committed as 209371

Powered by Google App Engine
This is Rietveld 408576698