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

Side by Side Diff: chrome/browser/extensions/chrome_extensions_browser_client.h

Issue 426713002: Revert of Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 OVERRIDE; 74 OVERRIDE;
75 virtual PrefService* GetPrefServiceForContext( 75 virtual PrefService* GetPrefServiceForContext(
76 content::BrowserContext* context) OVERRIDE; 76 content::BrowserContext* context) OVERRIDE;
77 virtual void GetEarlyExtensionPrefsObservers( 77 virtual void GetEarlyExtensionPrefsObservers(
78 content::BrowserContext* context, 78 content::BrowserContext* context,
79 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE; 79 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE;
80 virtual ProcessManagerDelegate* GetProcessManagerDelegate() const OVERRIDE; 80 virtual ProcessManagerDelegate* GetProcessManagerDelegate() const OVERRIDE;
81 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() 81 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate()
82 OVERRIDE; 82 OVERRIDE;
83 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; 83 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
84 virtual void PermitExternalProtocolHandler() OVERRIDE;
84 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; 85 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE;
85 virtual bool IsRunningInForcedAppMode() OVERRIDE; 86 virtual bool IsRunningInForcedAppMode() OVERRIDE;
86 virtual ApiActivityMonitor* GetApiActivityMonitor( 87 virtual ApiActivityMonitor* GetApiActivityMonitor(
87 content::BrowserContext* context) OVERRIDE; 88 content::BrowserContext* context) OVERRIDE;
88 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 89 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
89 virtual void RegisterExtensionFunctions( 90 virtual void RegisterExtensionFunctions(
90 ExtensionFunctionRegistry* registry) const OVERRIDE; 91 ExtensionFunctionRegistry* registry) const OVERRIDE;
91 virtual scoped_ptr<extensions::RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 92 virtual scoped_ptr<extensions::RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
92 content::BrowserContext* context) const OVERRIDE; 93 content::BrowserContext* context) const OVERRIDE;
93 virtual ComponentExtensionResourceManager* 94 virtual ComponentExtensionResourceManager*
(...skipping 15 matching lines...) Expand all
109 #endif 110 #endif
110 111
111 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 112 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
112 113
113 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 114 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
114 }; 115 };
115 116
116 } // namespace extensions 117 } // namespace extensions
117 118
118 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 119 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698