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

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

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Fixed app_shell_browsertests build Created 6 years, 5 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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual bool IsRunningInForcedAppMode() OVERRIDE; 87 virtual bool IsRunningInForcedAppMode() OVERRIDE;
88 virtual ApiActivityMonitor* GetApiActivityMonitor( 88 virtual ApiActivityMonitor* GetApiActivityMonitor(
89 content::BrowserContext* context) OVERRIDE; 89 content::BrowserContext* context) OVERRIDE;
90 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 90 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
91 virtual void RegisterExtensionFunctions( 91 virtual void RegisterExtensionFunctions(
92 ExtensionFunctionRegistry* registry) const OVERRIDE; 92 ExtensionFunctionRegistry* registry) const OVERRIDE;
93 virtual scoped_ptr<extensions::RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 93 virtual scoped_ptr<extensions::RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
94 content::BrowserContext* context) const OVERRIDE; 94 content::BrowserContext* context) const OVERRIDE;
95 virtual ComponentExtensionResourceManager* 95 virtual ComponentExtensionResourceManager*
96 GetComponentExtensionResourceManager() OVERRIDE; 96 GetComponentExtensionResourceManager() OVERRIDE;
97 virtual bool CompletePendingEmbedRequest(
98 const GURL& url,
99 int guest_instance_id,
100 content::BrowserContext* browser_context,
101 const std::string& guest_extension_id) OVERRIDE;
97 102
98 private: 103 private:
99 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; 104 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>;
100 105
101 // Observer for Chrome-specific notifications. 106 // Observer for Chrome-specific notifications.
102 ChromeNotificationObserver notification_observer_; 107 ChromeNotificationObserver notification_observer_;
103 108
104 #if defined(ENABLE_EXTENSIONS) 109 #if defined(ENABLE_EXTENSIONS)
105 // Client for API implementations. 110 // Client for API implementations.
106 scoped_ptr<ChromeExtensionsAPIClient> api_client_; 111 scoped_ptr<ChromeExtensionsAPIClient> api_client_;
107 #endif 112 #endif
108 113
109 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 114 scoped_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
110 115
111 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 116 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
112 }; 117 };
113 118
114 } // namespace extensions 119 } // namespace extensions
115 120
116 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 121 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698