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

Issue 10700130: Introduce LaunchParams struct for opening chrome apps. (Closed)

Created:
8 years, 5 months ago by benwells
Modified:
8 years, 5 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, mihaip-chromium-reviews_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, kkania, Dmitry Titov, dcheng, Aaron Boodman, rginda+watch_chromium.org, jennb, robertshield, jianli, oshima+watch_chromium.org, estade+watch_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Introduce LaunchParams struct for opening chrome apps. This makes it easier to update the parameters used when changing how apps are launched without updating many call sites with unused parameters. BUG=None TEST=Covered by automated tests. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146554

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Moar cleanup #

Total comments: 8

Patch Set 4 : Rebase #

Patch Set 5 : Comments #

Patch Set 6 : Comments #

Total comments: 1

Patch Set 7 : Rebase #

Patch Set 8 : Comment #

Patch Set 9 : Typo #

Patch Set 10 : Fix bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -195 lines) Patch
M chrome/browser/autocomplete/extension_app_provider.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager_util.cc View 1 2 3 4 5 6 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/extensions/app_notification_browsertest.cc View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 2 3 4 5 6 1 chunk +5 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_management_api.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.cc View 1 2 3 4 5 6 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.h View 1 2 3 4 5 6 7 1 chunk +30 lines, -37 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 1 2 3 4 5 6 7 8 9 3 chunks +106 lines, -75 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/ash/extension_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 1 chunk +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 5 6 3 chunks +15 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
benwells
I need to add a new parameter to the OpenApplication call, so am making this ...
8 years, 5 months ago (2012-07-09 07:19:34 UTC) #1
benwells
This time with reviewers added... I need to add a new parameter to the OpenApplication ...
8 years, 5 months ago (2012-07-10 22:29:07 UTC) #2
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10700130/diff/4002/chrome/browser/ui/extensions/application_launch.h File chrome/browser/ui/extensions/application_launch.h (right): http://codereview.chromium.org/10700130/diff/4002/chrome/browser/ui/extensions/application_launch.h#newcode57 chrome/browser/ui/extensions/application_launch.h:57: content::WebContents* OpenApplicationPanel( Can these other methods be removed from ...
8 years, 5 months ago (2012-07-11 00:38:35 UTC) #3
Dmitry Titov
http://codereview.chromium.org/10700130/diff/4002/chrome/browser/ui/extensions/application_launch.h File chrome/browser/ui/extensions/application_launch.h (right): http://codereview.chromium.org/10700130/diff/4002/chrome/browser/ui/extensions/application_launch.h#newcode57 chrome/browser/ui/extensions/application_launch.h:57: content::WebContents* OpenApplicationPanel( On 2012/07/11 00:38:36, Mihai Parparita wrote: > ...
8 years, 5 months ago (2012-07-11 01:03:24 UTC) #4
benwells
http://codereview.chromium.org/10700130/diff/4002/chrome/browser/ui/extensions/application_launch.h File chrome/browser/ui/extensions/application_launch.h (right): http://codereview.chromium.org/10700130/diff/4002/chrome/browser/ui/extensions/application_launch.h#newcode57 chrome/browser/ui/extensions/application_launch.h:57: content::WebContents* OpenApplicationPanel( On 2012/07/11 00:38:36, Mihai Parparita wrote: > ...
8 years, 5 months ago (2012-07-12 04:21:02 UTC) #5
Mihai Parparita -not on Chrome
LGTM http://codereview.chromium.org/10700130/diff/39/chrome/browser/ui/extensions/application_launch.h File chrome/browser/ui/extensions/application_launch.h (right): http://codereview.chromium.org/10700130/diff/39/chrome/browser/ui/extensions/application_launch.h#newcode70 chrome/browser/ui/extensions/application_launch.h:70: bool update_shortcut); Unless Code Search is lying, the ...
8 years, 5 months ago (2012-07-12 04:34:20 UTC) #6
Ben Goodger (Google)
lgtm
8 years, 5 months ago (2012-07-12 15:44:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10700130/7018
8 years, 5 months ago (2012-07-13 03:38:58 UTC) #8
commit-bot: I haz the power
Try job failure for 10700130-7018 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-07-13 03:58:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10700130/10020
8 years, 5 months ago (2012-07-13 04:45:48 UTC) #10
commit-bot: I haz the power
Try job failure for 10700130-10020 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-07-13 05:12:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10700130/11004
8 years, 5 months ago (2012-07-13 06:49:33 UTC) #12
commit-bot: I haz the power
Try job failure for 10700130-11004 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-13 07:44:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10700130/11004
8 years, 5 months ago (2012-07-13 07:47:39 UTC) #14
commit-bot: I haz the power
8 years, 5 months ago (2012-07-13 08:42:25 UTC) #15
Try job failure for 10700130-11004 (retry) on mac_rel for step "browser_tests".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698