OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/dom_ui/options/options_ui.h" | 9 #include "chrome/browser/dom_ui/options/options_ui.h" |
10 #include "chrome/browser/sync/profile_sync_service.h" | 10 #include "chrome/browser/sync/profile_sync_service.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 virtual void Observe(NotificationType type, | 29 virtual void Observe(NotificationType type, |
30 const NotificationSource& source, | 30 const NotificationSource& source, |
31 const NotificationDetails& details); | 31 const NotificationDetails& details); |
32 | 32 |
33 // ProfileSyncServiceObserver implementation. | 33 // ProfileSyncServiceObserver implementation. |
34 virtual void OnStateChanged(); | 34 virtual void OnStateChanged(); |
35 | 35 |
36 private: | 36 private: |
37 void ObserveThemeChanged(); | 37 void ObserveThemeChanged(); |
38 void ShowSyncLoginDialog(const ListValue* args); | 38 void ShowSyncLoginDialog(const ListValue* args); |
39 void OpenPrivacyDashboardTabAndActivate(const ListValue* args); | |
40 void ThemesReset(const ListValue* args); | 39 void ThemesReset(const ListValue* args); |
41 void ThemesGallery(const ListValue* args); | |
42 #if defined(TOOLKIT_GTK) | 40 #if defined(TOOLKIT_GTK) |
43 void ThemesSetGTK(const ListValue* args); | 41 void ThemesSetGTK(const ListValue* args); |
44 #endif | 42 #endif |
45 | 43 |
46 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 44 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
47 | 45 |
48 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); | 46 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); |
49 }; | 47 }; |
50 | 48 |
51 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ | 49 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ |
OLD | NEW |