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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 1657933003: Fixes the interactive default browser UX for policy setting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge issue Created 4 years, 10 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
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_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // SigninManagerBase::Observer implementation. 87 // SigninManagerBase::Observer implementation.
88 void GoogleSigninSucceeded(const std::string& account_id, 88 void GoogleSigninSucceeded(const std::string& account_id,
89 const std::string& username, 89 const std::string& username,
90 const std::string& password) override; 90 const std::string& password) override;
91 void GoogleSignedOut(const std::string& account_id, 91 void GoogleSignedOut(const std::string& account_id,
92 const std::string& username) override; 92 const std::string& username) override;
93 93
94 // shell_integration::DefaultWebClientObserver implementation. 94 // shell_integration::DefaultWebClientObserver implementation.
95 void SetDefaultWebClientUIState( 95 void SetDefaultWebClientUIState(
96 shell_integration::DefaultWebClientUIState state) override; 96 shell_integration::DefaultWebClientUIState state) override;
97 bool IsInteractiveSetDefaultPermitted() override;
98 97
99 // TemplateURLServiceObserver implementation. 98 // TemplateURLServiceObserver implementation.
100 void OnTemplateURLServiceChanged() override; 99 void OnTemplateURLServiceChanged() override;
101 100
102 // extensions::ExtensionRegistryObserver: 101 // extensions::ExtensionRegistryObserver:
103 void OnExtensionLoaded(content::BrowserContext* browser_context, 102 void OnExtensionLoaded(content::BrowserContext* browser_context,
104 const extensions::Extension* extension) override; 103 const extensions::Extension* extension) override;
105 void OnExtensionUnloaded( 104 void OnExtensionUnloaded(
106 content::BrowserContext* browser_context, 105 content::BrowserContext* browser_context,
107 const extensions::Extension* extension, 106 const extensions::Extension* extension,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 411
413 // Used to get WeakPtr to self for use on the UI thread. 412 // Used to get WeakPtr to self for use on the UI thread.
414 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 413 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
415 414
416 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 415 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
417 }; 416 };
418 417
419 } // namespace options 418 } // namespace options
420 419
421 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 420 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698