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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment updated. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 // Updates the UI, allowing the user to change the avatar image if |managed| 220 // Updates the UI, allowing the user to change the avatar image if |managed|
221 // is |false| and preventing the user from changing the avatar image if 221 // is |false| and preventing the user from changing the avatar image if
222 // |managed| is |true|. 222 // |managed| is |true|.
223 void OnAccountPictureManagedChanged(bool managed); 223 void OnAccountPictureManagedChanged(bool managed);
224 224
225 // Updates the UI, allowing the user to change the wallpaper if |managed| is 225 // Updates the UI, allowing the user to change the wallpaper if |managed| is
226 // |false| and preventing the user from changing the wallpaper if |managed| is 226 // |false| and preventing the user from changing the wallpaper if |managed| is
227 // |true|. 227 // |true|.
228 void OnWallpaperManagedChanged(bool managed); 228 void OnWallpaperManagedChanged(bool managed);
229
230 // Updates the UI, allowing the user to change the wallpaper if
231 // kSystemTimezonePolicy is set and preventing the user from changing the
232 // wallpaper if kSystemTimezonePolicy is not set.
stevenjb 2015/01/05 17:34:21 s/wallpaper/time zone/
Alexander Alekseev 2015/01/15 18:59:02 Done.
233 void OnSystemTimezonePolicyChanged();
229 #endif 234 #endif
230 235
231 // Callback for the "selectDownloadLocation" message. This will prompt the 236 // Callback for the "selectDownloadLocation" message. This will prompt the
232 // user for a destination folder using platform-specific APIs. 237 // user for a destination folder using platform-specific APIs.
233 void HandleSelectDownloadLocation(const base::ListValue* args); 238 void HandleSelectDownloadLocation(const base::ListValue* args);
234 239
235 // Callback for the "autoOpenFileTypesResetToDefault" message. This will 240 // Callback for the "autoOpenFileTypesResetToDefault" message. This will
236 // remove all auto-open file-type settings. 241 // remove all auto-open file-type settings.
237 void HandleAutoOpenButton(const base::ListValue* args); 242 void HandleAutoOpenButton(const base::ListValue* args);
238 243
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 405
401 // Used to get WeakPtr to self for use on the UI thread. 406 // Used to get WeakPtr to self for use on the UI thread.
402 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 407 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
403 408
404 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 409 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
405 }; 410 };
406 411
407 } // namespace options 412 } // namespace options
408 413
409 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 414 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698