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

Issue 9958006: Create Linux platform app shortcuts to run in their own process. (Closed)

Created:
8 years, 8 months ago by benwells
Modified:
8 years, 8 months ago
Reviewers:
Elliot Glaysher, sail
CC:
chromium-reviews, Mihai Parparita -not on Chrome, Peng
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Create Linux platform app shortcuts to run in their own process. This change also reorganises the web_app::CreateShortcut code a bit to allow us to do this without losing any functionality on gtk. Specifically the ability to create a shortcut on the file thread and get a return value is still available for Linux, and goes through the web_app code path. Some of the variable names and comments in web_app.h were also updated to be clearer. BUG=None. TEST=Test that shortcut creation works on Linux, both for platform apps and normal hosted apps. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132151

Patch Set 1 #

Patch Set 2 : Updated mac, added some thread checks #

Patch Set 3 : Mac compile fix #

Patch Set 4 : Linux unittests #

Patch Set 5 : Rebase #

Patch Set 6 : Create updated shortcuts from NTP, add enable flag #

Total comments: 14

Patch Set 7 : Rebase #

Patch Set 8 : Moved new function into shell_integration_linux.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -65 lines) Patch
M chrome/browser/shell_integration.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/shell_integration.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/shell_integration_linux.h View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration_linux.cc View 1 2 3 4 5 6 7 9 chunks +53 lines, -21 lines 0 comments Download
M chrome/browser/shell_integration_unittest.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h View 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc View 1 2 3 4 5 4 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/web_applications/web_app.h View 1 2 3 4 5 6 2 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 2 3 4 5 6 2 chunks +22 lines, -7 lines 0 comments Download
M chrome/browser/web_applications/web_app_linux.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 4 5 6 5 chunks +10 lines, -13 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
benwells
8 years, 8 months ago (2012-04-02 07:02:58 UTC) #1
Elliot Glaysher
Do you mean on their own thread? I didn't see any process creation stuff in ...
8 years, 8 months ago (2012-04-02 17:15:20 UTC) #2
benwells
On 2012/04/02 17:15:20, Elliot Glaysher wrote: > Do you mean on their own thread? I ...
8 years, 8 months ago (2012-04-03 01:40:51 UTC) #3
Elliot Glaysher
lgtm
8 years, 8 months ago (2012-04-03 17:32:55 UTC) #4
benwells
sail: I'm thinking I'd still like to bring this change in (to make Linux and ...
8 years, 8 months ago (2012-04-12 05:09:51 UTC) #5
sail
http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h#newcode122 chrome/browser/shell_integration.h:122: #if defined(USE_X11) could you move this to shell_integration_linux.h? Since ...
8 years, 8 months ago (2012-04-12 15:06:29 UTC) #6
benwells
http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h#newcode122 chrome/browser/shell_integration.h:122: #if defined(USE_X11) On 2012/04/12 15:06:29, sail wrote: > could ...
8 years, 8 months ago (2012-04-13 01:48:48 UTC) #7
sail
http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h#newcode122 chrome/browser/shell_integration.h:122: #if defined(USE_X11) On 2012/04/13 01:48:48, benwells wrote: > On ...
8 years, 8 months ago (2012-04-13 01:59:14 UTC) #8
benwells
http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h#newcode122 chrome/browser/shell_integration.h:122: #if defined(USE_X11) On 2012/04/13 01:59:14, sail wrote: > On ...
8 years, 8 months ago (2012-04-13 02:09:02 UTC) #9
sail
http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h#newcode122 chrome/browser/shell_integration.h:122: #if defined(USE_X11) On 2012/04/13 02:09:02, benwells wrote: > On ...
8 years, 8 months ago (2012-04-13 02:16:41 UTC) #10
benwells
http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): http://codereview.chromium.org/9958006/diff/2015/chrome/browser/shell_integration.h#newcode122 chrome/browser/shell_integration.h:122: #if defined(USE_X11) On 2012/04/13 02:16:41, sail wrote: > On ...
8 years, 8 months ago (2012-04-13 04:55:29 UTC) #11
sail
Cool, LGTM!
8 years, 8 months ago (2012-04-13 05:03:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9958006/11004
8 years, 8 months ago (2012-04-13 05:24:42 UTC) #13
commit-bot: I haz the power
8 years, 8 months ago (2012-04-13 06:46:36 UTC) #14
Change committed as 132151

Powered by Google App Engine
This is Rietveld 408576698