| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PERSONAL_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/browser_signin.h" | 10 #include "chrome/browser/browser_signin.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 virtual void OnLoginSuccess(); | 43 virtual void OnLoginSuccess(); |
| 44 virtual void OnLoginFailure(const GoogleServiceAuthError& error); | 44 virtual void OnLoginFailure(const GoogleServiceAuthError& error); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 void ObserveThemeChanged(); | 47 void ObserveThemeChanged(); |
| 48 void ThemesReset(const ListValue* args); | 48 void ThemesReset(const ListValue* args); |
| 49 #if defined(TOOLKIT_GTK) | 49 #if defined(TOOLKIT_GTK) |
| 50 void ThemesSetGTK(const ListValue* args); | 50 void ThemesSetGTK(const ListValue* args); |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 void UpdateAutofillUI(); |
| 54 |
| 53 #if defined(OS_CHROMEOS) | 55 #if defined(OS_CHROMEOS) |
| 54 void LoadAccountPicture(const ListValue* args); | 56 void LoadAccountPicture(const ListValue* args); |
| 55 NotificationRegistrar registrar_; | 57 NotificationRegistrar registrar_; |
| 56 #endif | 58 #endif |
| 57 | 59 |
| 58 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 60 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
| 59 | 61 |
| 60 // True if the multiprofiles switch is enabled. | 62 // True if the multiprofiles switch is enabled. |
| 61 bool multiprofile_; | 63 bool multiprofile_; |
| 62 | 64 |
| 65 BooleanPrefMember autofill_enabled_; |
| 66 |
| 63 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); | 67 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); |
| 64 }; | 68 }; |
| 65 | 69 |
| 66 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 70 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
| OLD | NEW |