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

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

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits and rebase to ToT. Created 7 years, 9 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 | Annotate | Revision Log
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 "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // OptionsPageUIHandler implementation. 49 // OptionsPageUIHandler implementation.
50 virtual void GetLocalizedValues(DictionaryValue* values) OVERRIDE; 50 virtual void GetLocalizedValues(DictionaryValue* values) OVERRIDE;
51 virtual void PageLoadStarted() OVERRIDE; 51 virtual void PageLoadStarted() OVERRIDE;
52 virtual void InitializeHandler() OVERRIDE; 52 virtual void InitializeHandler() OVERRIDE;
53 virtual void InitializePage() OVERRIDE; 53 virtual void InitializePage() OVERRIDE;
54 virtual void RegisterMessages() OVERRIDE; 54 virtual void RegisterMessages() OVERRIDE;
55 55
56 // ProfileSyncServiceObserver implementation. 56 // ProfileSyncServiceObserver implementation.
57 virtual void OnStateChanged() OVERRIDE; 57 virtual void OnStateChanged() OVERRIDE;
58 58
59 // Will be called when the kSigninAllowed pref has changed.
60 void OnSigninAllowedPrefChange();
61
59 // ShellIntegration::DefaultWebClientObserver implementation. 62 // ShellIntegration::DefaultWebClientObserver implementation.
60 virtual void SetDefaultWebClientUIState( 63 virtual void SetDefaultWebClientUIState(
61 ShellIntegration::DefaultWebClientUIState state) OVERRIDE; 64 ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
62 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE; 65 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE;
63 66
64 // TemplateURLServiceObserver implementation. 67 // TemplateURLServiceObserver implementation.
65 virtual void OnTemplateURLServiceChanged() OVERRIDE; 68 virtual void OnTemplateURLServiceChanged() OVERRIDE;
66 69
67 // Create a Windows' profile specific desktop shortcut. 70 // Create a Windows' profile specific desktop shortcut.
68 static void CreateDesktopShortcutForProfile( 71 static void CreateDesktopShortcutForProfile(
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 StringPrefMember cloud_print_connector_email_; 284 StringPrefMember cloud_print_connector_email_;
282 BooleanPrefMember cloud_print_connector_enabled_; 285 BooleanPrefMember cloud_print_connector_enabled_;
283 bool cloud_print_connector_ui_enabled_; 286 bool cloud_print_connector_ui_enabled_;
284 scoped_ptr<CloudPrintSetupHandler> cloud_print_setup_handler_; 287 scoped_ptr<CloudPrintSetupHandler> cloud_print_setup_handler_;
285 #endif 288 #endif
286 289
287 StringPrefMember auto_open_files_; 290 StringPrefMember auto_open_files_;
288 IntegerPrefMember default_font_size_; 291 IntegerPrefMember default_font_size_;
289 DoublePrefMember default_zoom_level_; 292 DoublePrefMember default_zoom_level_;
290 293
291 #if !defined(OS_CHROMEOS) 294 PrefChangeRegistrar profile_pref_registrar_;
292 PrefChangeRegistrar proxy_prefs_;
293 #endif // !defined(OS_CHROMEOS)
294 295
295 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 296 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
296 }; 297 };
297 298
298 } // namespace options 299 } // namespace options
299 300
300 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 301 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_login_handler.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698