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

Side by Side Diff: chrome/browser/ui/webui/options2/browser_options_handler2.h

Issue 10453041: Support for interactive set-chrome-as-default in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the reviewer's remark. Created 8 years, 6 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_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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt.cc ('k') | chrome/browser/ui/webui/options2/browser_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698