OLD | NEW |
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_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual void InitializeHandler() OVERRIDE; | 51 virtual void InitializeHandler() OVERRIDE; |
52 virtual void InitializePage() OVERRIDE; | 52 virtual void InitializePage() OVERRIDE; |
53 virtual void RegisterMessages() OVERRIDE; | 53 virtual void RegisterMessages() OVERRIDE; |
54 | 54 |
55 // ProfileSyncServiceObserver implementation. | 55 // ProfileSyncServiceObserver implementation. |
56 virtual void OnStateChanged() OVERRIDE; | 56 virtual void OnStateChanged() OVERRIDE; |
57 | 57 |
58 // ShellIntegration::DefaultWebClientObserver implementation. | 58 // ShellIntegration::DefaultWebClientObserver implementation. |
59 virtual void SetDefaultWebClientUIState( | 59 virtual void SetDefaultWebClientUIState( |
60 ShellIntegration::DefaultWebClientUIState state) OVERRIDE; | 60 ShellIntegration::DefaultWebClientUIState state) OVERRIDE; |
| 61 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE; |
61 | 62 |
62 // TemplateURLServiceObserver implementation. | 63 // TemplateURLServiceObserver implementation. |
63 virtual void OnTemplateURLServiceChanged() OVERRIDE; | 64 virtual void OnTemplateURLServiceChanged() OVERRIDE; |
64 | 65 |
65 private: | 66 private: |
66 // content::NotificationObserver implementation. | 67 // content::NotificationObserver implementation. |
67 virtual void Observe(int type, | 68 virtual void Observe(int type, |
68 const content::NotificationSource& source, | 69 const content::NotificationSource& source, |
69 const content::NotificationDetails& details) OVERRIDE; | 70 const content::NotificationDetails& details) OVERRIDE; |
70 | 71 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 #if !defined(OS_CHROMEOS) | 315 #if !defined(OS_CHROMEOS) |
315 scoped_ptr<PrefSetObserver> proxy_prefs_; | 316 scoped_ptr<PrefSetObserver> proxy_prefs_; |
316 #endif // !defined(OS_CHROMEOS) | 317 #endif // !defined(OS_CHROMEOS) |
317 | 318 |
318 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 319 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
319 }; | 320 }; |
320 | 321 |
321 } // namespace options2 | 322 } // namespace options2 |
322 | 323 |
323 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 324 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
OLD | NEW |