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

Issue 1305653002: Make the NTP apps page respect the enable hosted apps in windows flag. (Closed)

Created:
5 years, 4 months ago by dominickn
Modified:
5 years, 4 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, arv+watch_chromium.org, pedrosimonetti+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@add-enable-hosted-apps-in-windows
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the NTP apps page respect the enable hosted apps in windows flag. https://codereview.chromium.org/1300763002/ adds a new flag, --[enable|disable]-hosted-apps-in-windows on Mac. This flag controls whether hosted apps are allowed to open in windows independently of whether the new bookmark app system is enabled. This CL amends the logic in the NTP apps page to correctly display the launch options for apps for all permutations of --[enable|disable]-new-bookmark-apps and --[enable|disable]-hosted-apps-in-windows. This means that as the default values change for these options, the NTP will behave appropriately. BUG=517682, 520361 Committed: https://crrev.com/6710ac59fd1f094d55f734ad9a1eb884bce5fa71 Cr-Commit-Position: refs/heads/master@{#344979}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Addressing reviewer comments #

Total comments: 1

Patch Set 4 : Addressing reviewer feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -5 lines) Patch
M chrome/browser/resources/ntp4/apps_page.js View 1 2 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
dominickn
dbeam: please have a look - the CL adding the new flag is landing now. ...
5 years, 4 months ago (2015-08-20 01:21:46 UTC) #2
Dan Beam
https://codereview.chromium.org/1305653002/diff/20001/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://codereview.chromium.org/1305653002/diff/20001/chrome/browser/resources/ntp4/apps_page.js#newcode153 chrome/browser/resources/ntp4/apps_page.js:153: hasLaunchType = hasLaunchType || !launchTypeButton.hidden; if (!launchTypeButton.hidden) hasLaunchType = ...
5 years, 4 months ago (2015-08-20 18:25:57 UTC) #3
dominickn
Thanks! https://codereview.chromium.org/1305653002/diff/20001/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://codereview.chromium.org/1305653002/diff/20001/chrome/browser/resources/ntp4/apps_page.js#newcode153 chrome/browser/resources/ntp4/apps_page.js:153: hasLaunchType = hasLaunchType || !launchTypeButton.hidden; On 2015/08/20 18:25:57, ...
5 years, 4 months ago (2015-08-20 22:07:44 UTC) #4
Dan Beam
lgtm https://codereview.chromium.org/1305653002/diff/40001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (right): https://codereview.chromium.org/1305653002/diff/40001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#newcode483 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:483: bool hosted_apps_in_windows_enabled = nit: just inline this rather ...
5 years, 4 months ago (2015-08-22 06:36:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305653002/60001
5 years, 4 months ago (2015-08-22 10:38:01 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-22 12:11:59 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-22 12:13:11 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6710ac59fd1f094d55f734ad9a1eb884bce5fa71
Cr-Commit-Position: refs/heads/master@{#344979}

Powered by Google App Engine
This is Rietveld 408576698