| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void GetLocalizedValues(DictionaryValue* values) OVERRIDE; | 50 virtual void GetLocalizedValues(DictionaryValue* values) OVERRIDE; |
| 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, |
| 61 ShellIntegration::SetDefaultWebClientResult unused_result) OVERRIDE; |
| 61 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE; | 62 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE; |
| 62 | 63 |
| 63 // TemplateURLServiceObserver implementation. | 64 // TemplateURLServiceObserver implementation. |
| 64 virtual void OnTemplateURLServiceChanged() OVERRIDE; | 65 virtual void OnTemplateURLServiceChanged() OVERRIDE; |
| 65 | 66 |
| 66 private: | 67 private: |
| 67 // content::NotificationObserver implementation. | 68 // content::NotificationObserver implementation. |
| 68 virtual void Observe(int type, | 69 virtual void Observe(int type, |
| 69 const content::NotificationSource& source, | 70 const content::NotificationSource& source, |
| 70 const content::NotificationDetails& details) OVERRIDE; | 71 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 #if !defined(OS_CHROMEOS) | 316 #if !defined(OS_CHROMEOS) |
| 316 scoped_ptr<PrefSetObserver> proxy_prefs_; | 317 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 317 #endif // !defined(OS_CHROMEOS) | 318 #endif // !defined(OS_CHROMEOS) |
| 318 | 319 |
| 319 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 320 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 320 }; | 321 }; |
| 321 | 322 |
| 322 } // namespace options2 | 323 } // namespace options2 |
| 323 | 324 |
| 324 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ | 325 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ |
| OLD | NEW |