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

Issue 106713002: Move LaunchContainer enum to extension_constants.h. (Closed)

Created:
7 years ago by Daniel Erat
Modified:
7 years ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, amit, jeremya+watch_chromium.org, stevenjb+watch_chromium.org, extensions-reviews_chromium.org, jar (doing other things), Ilya Sherman, kalyank, pedrosimonetti+watch_chromium.org, dbeam+watch-ntp_chromium.org, jamiewalch+watch_chromium.org, asvitkine+watch_chromium.org, dcaiafa+watch_chromium.org, wez+watch_chromium.org, sanjeevr, weitaosu+watch_chromium.org, rmsousa+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, sergeyu+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, hclam+watch_chromium.org, tfarina, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, robertshield, davemoore+watch_chromium.org, estade+watch_chromium.org, alexeypa+watch_chromium.org, ben+ash_chromium.org
Visibility:
Public.

Description

Move LaunchContainer enum to extension_constants.h. Move the Chrome-specific LaunchContainer enum out of extensions/common/constants.h and into chrome/common/extensions/extension_constants.h (it can't live under chrome/browser/extensions since it's used by AppLaunchInfo). For consistency, also move the LaunchType enum to extension_constants.h. Rename LaunchContainer's values from LAUNCH_* to LAUNCH_CONTAINER_*, and also rename the LAUNCH_TYPE_* values in AppContextMenu to USE_LAUNCH_TYPE_* to avoid confusion with the LaunchType enum. BUG=180083 TBR=sky@chromium.org,jar@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239202

Patch Set 1 #

Total comments: 4

Patch Set 2 : apply review feedback #

Patch Set 3 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -152 lines) Patch
M chrome/browser/apps/app_browsertest.cc View 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/apps/app_browsertest_util.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/apps/app_window_browsertest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_manager_util.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/first_run/first_run.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/management/management_apitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_apitest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/launch_util.h View 2 chunks +4 lines, -20 lines 0 comments Download
M chrome/browser/extensions/launch_util.cc View 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_context_menu.cc View 1 6 chunks +26 lines, -26 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 6 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/extensions/application_launch.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 6 chunks +13 lines, -14 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/common/extensions/manifest_handlers/app_launch_info.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest_handlers/app_launch_info.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/remoting/remote_desktop_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M extensions/common/constants.h View 1 chunk +0 lines, -12 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Daniel Erat
yoz@ and benwells@: Mind looking at the extensions part of this? xiyuan@: Adding you mostly ...
7 years ago (2013-12-05 15:50:32 UTC) #1
Daniel Erat
7 years ago (2013-12-05 15:51:06 UTC) #2
Yoyo Zhou
LGTM https://codereview.chromium.org/106713002/diff/1/chrome/browser/ui/app_list/app_context_menu.cc File chrome/browser/ui/app_list/app_context_menu.cc (right): https://codereview.chromium.org/106713002/diff/1/chrome/browser/ui/app_list/app_context_menu.cc#newcode118 chrome/browser/ui/app_list/app_context_menu.cc:118: // Streamlined hosted apps can only toggle between ...
7 years ago (2013-12-05 22:37:02 UTC) #3
benwells
Bits I own not already covered lgtm
7 years ago (2013-12-05 23:22:04 UTC) #4
Daniel Erat
https://codereview.chromium.org/106713002/diff/1/chrome/browser/ui/app_list/app_context_menu.cc File chrome/browser/ui/app_list/app_context_menu.cc (right): https://codereview.chromium.org/106713002/diff/1/chrome/browser/ui/app_list/app_context_menu.cc#newcode118 chrome/browser/ui/app_list/app_context_menu.cc:118: // Streamlined hosted apps can only toggle between LAUNCH_TYPE_WINDOW ...
7 years ago (2013-12-06 03:14:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/106713002/40001
7 years ago (2013-12-06 04:17:42 UTC) #6
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=32398
7 years ago (2013-12-06 05:52:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/106713002/40001
7 years ago (2013-12-06 13:31:21 UTC) #8
commit-bot: I haz the power
7 years ago (2013-12-06 14:05:37 UTC) #9
Message was sent while issue was closed.
Change committed as 239202

Powered by Google App Engine
This is Rietveld 408576698