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

Side by Side Diff: apps/shell/browser/shell_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 APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual bool IsRunningInForcedAppMode() OVERRIDE; 70 virtual bool IsRunningInForcedAppMode() OVERRIDE;
71 virtual ApiActivityMonitor* GetApiActivityMonitor( 71 virtual ApiActivityMonitor* GetApiActivityMonitor(
72 content::BrowserContext* context) OVERRIDE; 72 content::BrowserContext* context) OVERRIDE;
73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
74 virtual void RegisterExtensionFunctions( 74 virtual void RegisterExtensionFunctions(
75 ExtensionFunctionRegistry* registry) const OVERRIDE; 75 ExtensionFunctionRegistry* registry) const OVERRIDE;
76 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 76 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
77 content::BrowserContext* context) const OVERRIDE; 77 content::BrowserContext* context) const OVERRIDE;
78 virtual ComponentExtensionResourceManager* 78 virtual ComponentExtensionResourceManager*
79 GetComponentExtensionResourceManager() OVERRIDE; 79 GetComponentExtensionResourceManager() OVERRIDE;
80 virtual bool CompletePendingEmbedRequest(
81 const GURL& url,
82 int guest_instance_id,
83 content::BrowserContext* browser_context,
84 const std::string& guest_extension_id) OVERRIDE;
80 85
81 private: 86 private:
82 // The single BrowserContext for app_shell. Not owned. 87 // The single BrowserContext for app_shell. Not owned.
83 content::BrowserContext* browser_context_; 88 content::BrowserContext* browser_context_;
84 89
85 // Support for extension APIs. 90 // Support for extension APIs.
86 scoped_ptr<ExtensionsAPIClient> api_client_; 91 scoped_ptr<ExtensionsAPIClient> api_client_;
87 92
88 // The PrefService for |browser_context_|. 93 // The PrefService for |browser_context_|.
89 scoped_ptr<PrefService> prefs_; 94 scoped_ptr<PrefService> prefs_;
90 95
91 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 96 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
92 }; 97 };
93 98
94 } // namespace extensions 99 } // namespace extensions
95 100
96 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 101 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | apps/shell/browser/shell_extensions_browser_client.cc » ('j') | extensions/browser/extensions_browser_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698