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

Issue 3200007: Added prefs ui for enabling/disabling background mode on windows. (Closed)

Created:
10 years, 4 months ago by Andrew T Wilson (Slow)
Modified:
9 years, 7 months ago
Reviewers:
John Gregg
CC:
chromium-reviews, finnur+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Added prefs ui for enabling/disabling background mode on windows. BUG=53173 TEST=none yet (will add tests when BackgroundModeManager handles prefs notifications) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57225

Patch Set 1 #

Total comments: 7

Patch Set 2 : Updated per review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -0 lines) Patch
M chrome/app/chromium_strings.grd View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings.grd View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/options_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/options/advanced_contents_view.cc View 1 2 chunks +88 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Andrew T Wilson (Slow)
10 years, 4 months ago (2010-08-24 16:25:04 UTC) #1
John Gregg
LGTM, just a couple minor comments. http://codereview.chromium.org/3200007/diff/1/3 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3200007/diff/1/3#newcode5592 chrome/app/generated_resources.grd:5592: Allow installed apps ...
10 years, 4 months ago (2010-08-24 16:40:19 UTC) #2
Andrew T Wilson (Slow)
10 years, 4 months ago (2010-08-24 19:47:10 UTC) #3
http://codereview.chromium.org/3200007/diff/1/3
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/3200007/diff/1/3#newcode5592
chrome/app/generated_resources.grd:5592: Allow installed apps to run in the
background and launch on system start
On 2010/08/24 16:40:19, John Gregg wrote:
> this may not be a question for you, but noticing we use both "applications"
and
> "apps" in these strings.  should we be consistent?

Great point. I clarified with the apps team, and now use "web apps" everywhere
(instead of "apps" or "applications").

http://codereview.chromium.org/3200007/diff/1/7
File chrome/browser/views/options/advanced_contents_view.cc (right):

http://codereview.chromium.org/3200007/diff/1/7#newcode1327
chrome/browser/views/options/advanced_contents_view.cc:1327: if (source ==
learn_more_link_) {
On 2010/08/24 16:40:19, John Gregg wrote:
> you DCHECK above, probably should here too, it's the only link in the view...

Done.

http://codereview.chromium.org/3200007/diff/1/7#newcode1364
chrome/browser/views/options/advanced_contents_view.cc:1364:
enable_background_mode_.GetValue());
On 2010/08/24 16:40:19, John Gregg wrote:
> i guess this BooleanPrefMember is always kept up to date?  or GetValue()
returns
> the current?  in that case ok.
> 
> add { } though, since i think this counts as a multi-line if even if though
it's
> one statement.

Done. Actually had this edit locally, but I guess I forgot to upload it.

Powered by Google App Engine
This is Rietveld 408576698