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

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed)

Created:
7 years, 10 months ago by benwells
Modified:
7 years, 10 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Visibility:
Public.

Description

Move shell integration code from chrome/browser to apps This code is used by core apps systems. If apps is not to depend on chrome, it needs to move into apps. BUG=159366

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -2823 lines) Patch
M apps/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
M apps/apps.gypi View 1 chunk +7 lines, -0 lines 0 comments Download
A + apps/shell_integration.h View 2 chunks +3 lines, -3 lines 4 comments Download
A + apps/shell_integration.cc View 2 chunks +1 line, -3 lines 0 comments Download
A + apps/shell_integration_android.cc View 1 chunk +1 line, -1 line 0 comments Download
A + apps/shell_integration_linux.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + apps/shell_integration_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
A + apps/shell_integration_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
A + apps/shell_integration_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + apps/shell_integration_win.cc View 1 chunk +1 line, -1 line 0 comments Download
A + apps/shell_integration_win_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/chrome_main_app_mode_mac.mm View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/background/background_mode_manager_gtk.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/app_shortcut_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/external_protocol/external_protocol_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/first_run/first_run.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/first_run/first_run_linux.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/first_run/first_run_win.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/first_run/upgrade_util_win.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/importer/importer_list.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/jumplist_win.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/process_singleton_win.cc View 2 chunks +1 line, -1 line 0 comments Download
D chrome/browser/shell_integration.h View 1 chunk +0 lines, -327 lines 0 comments Download
D chrome/browser/shell_integration.cc View 1 chunk +0 lines, -295 lines 0 comments Download
D chrome/browser/shell_integration_android.cc View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/shell_integration_linux.h View 1 chunk +0 lines, -63 lines 0 comments Download
D chrome/browser/shell_integration_linux.cc View 1 chunk +0 lines, -733 lines 0 comments Download
D chrome/browser/shell_integration_mac.mm View 1 chunk +0 lines, -134 lines 0 comments Download
D chrome/browser/shell_integration_unittest.cc View 1 chunk +0 lines, -417 lines 0 comments Download
D chrome/browser/shell_integration_win.cc View 1 chunk +0 lines, -519 lines 0 comments Download
D chrome/browser/shell_integration_win_unittest.cc View 1 chunk +0 lines, -224 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/first_run_dialog.mm View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/first_run_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/unity_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/app_list/app_list_controller_win.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/native_app_window_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/shell_window_frame_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/panels/panel_stack_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/panels/panel_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/uninstall_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/set_as_default_browser_ui.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/web_applications/web_app.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_applications/web_app_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_applications/web_app_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
benwells
This isn't quite ready for review, it needs more deps moved over with it. But ...
7 years, 10 months ago (2013-02-25 08:09:33 UTC) #1
Ben Goodger (Google)
I could almost see a case for some of this low level shell stuff going ...
7 years, 10 months ago (2013-02-25 16:02:30 UTC) #2
tfarina
Looks like WATCHLIST is not working :/ Otherwise I would have been copied on this ...
7 years, 10 months ago (2013-02-25 23:26:48 UTC) #3
benwells
7 years, 10 months ago (2013-02-26 07:33:35 UTC) #4
On 2013/02/25 16:02:30, Ben Goodger (Google) wrote:
> I could almost see a case for some of this low level shell stuff going into
> ui/base/shell_integration.

Yes, that's what I was thinking. After looking more I'm not so sure. I was doing
this to prepare for moving the shortcut management code out of src/chrome.
Instead of moving shell_integration first I'm going trying a different approach
of moving the shortcut manager first.

That will be in a different patch, will close this one.

> 
> https://codereview.chromium.org/12321107/diff/1/apps/shell_integration.h
> File apps/shell_integration.h (right):
> 
>
https://codereview.chromium.org/12321107/diff/1/apps/shell_integration.h#newc...
> apps/shell_integration.h:5: #ifndef APPS_SHELL_INTEGRATION_H_
> I would consider putting this stuff in a subdir since there are so many files.
> 
>
https://codereview.chromium.org/12321107/diff/1/apps/shell_integration.h#newc...
> apps/shell_integration.h:31: static bool SetAsDefaultBrowserInteractive();
> All of these "default browser" functions should stay in src/chrome. I don't
> think they're needed here, right?
> 
>
https://codereview.chromium.org/12321107/diff/1/apps/shell_integration.h#newc...
> apps/shell_integration.h:84: static bool IsFirefoxDefaultBrowser();
> ditto for these two methods.
> 
>
https://codereview.chromium.org/12321107/diff/1/apps/shell_integration.h#newc...
> apps/shell_integration.h:284: class DefaultBrowserWorker : public
> DefaultWebClientWorker {
> etc.

Powered by Google App Engine
This is Rietveld 408576698