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

Issue 1241453005: ChromeOS: Time zone setting dropdown should be grayed out once we enable the Automatically resolve … (Closed)

Created:
5 years, 5 months ago by Alexander Alekseev
Modified:
5 years, 5 months ago
Reviewers:
stevenjb, *michaelpg
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ChromeOS: Time zone setting dropdown should be grayed out once we enable the Automatically resolve timezone by geo location. This CL fixes race in timezone section of settings page. BUG=489588 TEST=manual Committed: https://crrev.com/e5464ad117e2b1dce2ba6417884714a1fc90936c Cr-Commit-Position: refs/heads/master@{#340043}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Subscribe to Preferences JS interface. #

Patch Set 3 : Remove duplicate setting. #

Patch Set 4 : Convert updateTimezoneSectionState_() method to argumentless. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -16 lines) Patch
M chrome/browser/resources/options/browser_options.js View 1 2 3 3 chunks +49 lines, -16 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Alexander Alekseev
There is no way to catch event "$('resolve-timezone-by-geolocation').checked has changed it's value" in JS, so ...
5 years, 5 months ago (2015-07-15 22:24:01 UTC) #2
stevenjb
-> michaelpg@ who is more familiar with this UI
5 years, 5 months ago (2015-07-20 17:38:03 UTC) #5
michaelpg
$('resolve-timezone-by-geolocation') is tied to a preference, so you can listen to that preference to trigger ...
5 years, 5 months ago (2015-07-20 21:40:51 UTC) #6
Alexander Alekseev
https://codereview.chromium.org/1241453005/diff/1/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/1241453005/diff/1/chrome/browser/resources/options/browser_options.js#newcode113 chrome/browser/resources/options/browser_options.js:113: * Current status of "Resolve Timezone by Geolocation" checkbox. ...
5 years, 5 months ago (2015-07-21 05:34:29 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1241453005/40001
5 years, 5 months ago (2015-07-21 05:49:58 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-21 06:41:55 UTC) #11
michaelpg
lgtm https://codereview.chromium.org/1241453005/diff/1/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/1241453005/diff/1/chrome/browser/resources/options/browser_options.js#newcode1667 chrome/browser/resources/options/browser_options.js:1667: if (this.systemTimezoneIsManaged_) { On 2015/07/21 05:34:29, Alexander Alekseev ...
5 years, 5 months ago (2015-07-21 23:47:36 UTC) #12
Alexander Alekseev
stevenjb@, PTAL I need your OWNER's approval.
5 years, 5 months ago (2015-07-22 02:43:41 UTC) #13
stevenjb
OWNER lgtm
5 years, 5 months ago (2015-07-22 22:13:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1241453005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1241453005/60001
5 years, 5 months ago (2015-07-23 04:26:02 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-23 05:29:57 UTC) #18
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 05:30:52 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e5464ad117e2b1dce2ba6417884714a1fc90936c
Cr-Commit-Position: refs/heads/master@{#340043}

Powered by Google App Engine
This is Rietveld 408576698