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

Issue 1004263002: Disable surprise me automatically if the current wallpaper was set by a third party application. (Closed)

Created:
5 years, 9 months ago by xdai1
Modified:
5 years, 9 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

If the current wallpaper was set by a third party application, we should disable surprise me feature, otherwise the wallpaper will still be changed periodically. Also fix the issue that wallpaper picker application can't load the local resource: chrome://resources/css/text_defaults.css. BUG=466709 TEST=Manually tested Committed: https://crrev.com/bba16e7a9323bca8d411ff5f51a94093d889df2b Cr-Commit-Position: refs/heads/master@{#320972}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Address the code review comments. #

Total comments: 3

Patch Set 3 : Address Biao's comments. #

Total comments: 1

Patch Set 4 : Address kalman@'s review comment. #

Patch Set 5 : Address kalman@'s comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -4 lines) Patch
M chrome/browser/chromeos/extensions/wallpaper_api.cc View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/event_page.js View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_images_grid.js View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js View 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/main.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/wallpaper_private.json View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
xdai1
Biao, could you help to review the CL, please? Thanks!
5 years, 9 months ago (2015-03-13 20:44:40 UTC) #3
xdai1
https://codereview.chromium.org/1004263002/diff/20001/chrome/browser/resources/chromeos/wallpaper_manager/main.html File chrome/browser/resources/chromeos/wallpaper_manager/main.html (right): https://codereview.chromium.org/1004263002/diff/20001/chrome/browser/resources/chromeos/wallpaper_manager/main.html#newcode12 chrome/browser/resources/chromeos/wallpaper_manager/main.html:12: <link rel="stylesheet" href="../../../../../ui/webui/resources/css/text_defaults.css"> This could also be fixed by ...
5 years, 9 months ago (2015-03-13 20:56:31 UTC) #4
bshe
Interesting case. In general, I feel like that we should disable surprise me feature when ...
5 years, 9 months ago (2015-03-13 21:02:45 UTC) #5
xdai1
On 2015/03/13 21:02:45, bshe wrote: > Interesting case. In general, I feel like that we ...
5 years, 9 months ago (2015-03-14 01:22:31 UTC) #6
bshe
https://codereview.chromium.org/1004263002/diff/40001/chrome/browser/chromeos/extensions/wallpaper_api.cc File chrome/browser/chromeos/extensions/wallpaper_api.cc (right): https://codereview.chromium.org/1004263002/diff/40001/chrome/browser/chromeos/extensions/wallpaper_api.cc#newcode132 chrome/browser/chromeos/extensions/wallpaper_api.cc:132: event.Pass()); We should send the event only after we ...
5 years, 9 months ago (2015-03-16 14:02:41 UTC) #7
xdai1
On 2015/03/16 14:02:41, bshe wrote: > https://codereview.chromium.org/1004263002/diff/40001/chrome/browser/chromeos/extensions/wallpaper_api.cc > File chrome/browser/chromeos/extensions/wallpaper_api.cc (right): > > https://codereview.chromium.org/1004263002/diff/40001/chrome/browser/chromeos/extensions/wallpaper_api.cc#newcode132 > ...
5 years, 9 months ago (2015-03-16 17:26:02 UTC) #8
xdai1
Add kalman@ for review of chrome/common/extensions/api/wallpaper_private.json file. Thanks!
5 years, 9 months ago (2015-03-17 01:06:15 UTC) #10
not at google - send to devlin
lgtm with 1 comment https://codereview.chromium.org/1004263002/diff/60001/chrome/common/extensions/api/wallpaper_private.json File chrome/common/extensions/api/wallpaper_private.json (right): https://codereview.chromium.org/1004263002/diff/60001/chrome/common/extensions/api/wallpaper_private.json#newcode263 chrome/common/extensions/api/wallpaper_private.json:263: "name": "OnWallpaperChangedBy3rdParty", "on" not "On"
5 years, 9 months ago (2015-03-17 13:42:16 UTC) #11
bshe
lgtm
5 years, 9 months ago (2015-03-17 13:50:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1004263002/100001
5 years, 9 months ago (2015-03-17 20:39:52 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 9 months ago (2015-03-17 21:08:38 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 21:09:52 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bba16e7a9323bca8d411ff5f51a94093d889df2b
Cr-Commit-Position: refs/heads/master@{#320972}

Powered by Google App Engine
This is Rietveld 408576698