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

Side by Side Diff: extensions/browser/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
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/api/api.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "extensions/browser/extension_prefs_observer.h" 12 #include "extensions/browser/extension_prefs_observer.h"
13 #include "url/gurl.h"
13 14
14 class ExtensionFunctionRegistry; 15 class ExtensionFunctionRegistry;
15 class PrefService; 16 class PrefService;
16 17
17 namespace base { 18 namespace base {
18 class CommandLine; 19 class CommandLine;
19 class FilePath; 20 class FilePath;
20 } 21 }
21 22
22 namespace content { 23 namespace content {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // management-related events such as update and installation on behalf of the 173 // management-related events such as update and installation on behalf of the
173 // core runtime API implementation. 174 // core runtime API implementation.
174 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 175 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
175 content::BrowserContext* context) const = 0; 176 content::BrowserContext* context) const = 0;
176 177
177 // Returns the manager of resource bundles used in extensions. Returns NULL if 178 // Returns the manager of resource bundles used in extensions. Returns NULL if
178 // the manager doesn't exist. 179 // the manager doesn't exist.
179 virtual ComponentExtensionResourceManager* 180 virtual ComponentExtensionResourceManager*
180 GetComponentExtensionResourceManager() = 0; 181 GetComponentExtensionResourceManager() = 0;
181 182
183 // Completes the creation of a WebContents associated with the provided
184 // |guest_extension_id|. Returns whether the operation was completed
185 // successfully.
186 virtual bool CompletePendingEmbedRequest(
not at google - send to devlin 2014/07/10 19:44:16 kinda weird that there is a "complete" in this int
James Cook 2014/07/10 19:58:06 I think the primary problem here is that: 1. <appv
187 const GURL& url,
188 int guest_instance_id,
189 content::BrowserContext* browser_context,
190 const std::string& guest_extension_id) = 0;
191
182 // Returns the single instance of |this|. 192 // Returns the single instance of |this|.
183 static ExtensionsBrowserClient* Get(); 193 static ExtensionsBrowserClient* Get();
184 194
185 // Initialize the single instance. 195 // Initialize the single instance.
186 static void Set(ExtensionsBrowserClient* client); 196 static void Set(ExtensionsBrowserClient* client);
187 }; 197 };
188 198
189 } // namespace extensions 199 } // namespace extensions
190 200
191 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 201 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698