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

Side by Side Diff: extensions/shell/browser/shell_extensions_browser_client.cc

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
« no previous file with comments | « extensions/shell/browser/shell_extensions_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "extensions/shell/browser/shell_extensions_browser_client.h" 5 #include "extensions/shell/browser/shell_extensions_browser_client.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/prefs/pref_service_factory.h" 8 #include "base/prefs/pref_service_factory.h"
9 #include "base/prefs/testing_pref_store.h" 9 #include "base/prefs/testing_pref_store.h"
10 #include "components/pref_registry/pref_registry_syncable.h" 10 #include "components/pref_registry/pref_registry_syncable.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 scoped_ptr<ExtensionHostDelegate> 193 scoped_ptr<ExtensionHostDelegate>
194 ShellExtensionsBrowserClient::CreateExtensionHostDelegate() { 194 ShellExtensionsBrowserClient::CreateExtensionHostDelegate() {
195 return scoped_ptr<ExtensionHostDelegate>(new ShellExtensionHostDelegate); 195 return scoped_ptr<ExtensionHostDelegate>(new ShellExtensionHostDelegate);
196 } 196 }
197 197
198 bool ShellExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { 198 bool ShellExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) {
199 // TODO(jamescook): We might want to tell extensions when app_shell updates. 199 // TODO(jamescook): We might want to tell extensions when app_shell updates.
200 return false; 200 return false;
201 } 201 }
202 202
203 void ShellExtensionsBrowserClient::PermitExternalProtocolHandler() {
204 }
205
203 scoped_ptr<AppSorting> ShellExtensionsBrowserClient::CreateAppSorting() { 206 scoped_ptr<AppSorting> ShellExtensionsBrowserClient::CreateAppSorting() {
204 return scoped_ptr<AppSorting>(new ShellAppSorting); 207 return scoped_ptr<AppSorting>(new ShellAppSorting);
205 } 208 }
206 209
207 bool ShellExtensionsBrowserClient::IsRunningInForcedAppMode() { 210 bool ShellExtensionsBrowserClient::IsRunningInForcedAppMode() {
208 return false; 211 return false;
209 } 212 }
210 213
211 ApiActivityMonitor* ShellExtensionsBrowserClient::GetApiActivityMonitor( 214 ApiActivityMonitor* ShellExtensionsBrowserClient::GetApiActivityMonitor(
212 BrowserContext* context) { 215 BrowserContext* context) {
(...skipping 24 matching lines...) Expand all
237 ComponentExtensionResourceManager* 240 ComponentExtensionResourceManager*
238 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() { 241 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() {
239 return NULL; 242 return NULL;
240 } 243 }
241 244
242 net::NetLog* ShellExtensionsBrowserClient::GetNetLog() { 245 net::NetLog* ShellExtensionsBrowserClient::GetNetLog() {
243 return NULL; 246 return NULL;
244 } 247 }
245 248
246 } // namespace extensions 249 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_extensions_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698