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

Side by Side Diff: extensions/browser/api/extensions_api_client.h

Issue 873933002: Add <extensionview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial Created 5 years, 11 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 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 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 11 matching lines...) Expand all
22 class WebContents; 22 class WebContents;
23 } 23 }
24 24
25 namespace extensions { 25 namespace extensions {
26 26
27 class AppViewGuestDelegate; 27 class AppViewGuestDelegate;
28 class ContentRulesRegistry; 28 class ContentRulesRegistry;
29 class DevicePermissionsPrompt; 29 class DevicePermissionsPrompt;
30 class ExtensionOptionsGuest; 30 class ExtensionOptionsGuest;
31 class ExtensionOptionsGuestDelegate; 31 class ExtensionOptionsGuestDelegate;
32 class ExtensionViewGuest;
33 class ExtensionViewGuestDelegate;
32 class ManagementAPIDelegate; 34 class ManagementAPIDelegate;
33 class MimeHandlerViewGuest; 35 class MimeHandlerViewGuest;
34 class MimeHandlerViewGuestDelegate; 36 class MimeHandlerViewGuestDelegate;
35 class WebViewGuest; 37 class WebViewGuest;
36 class WebViewGuestDelegate; 38 class WebViewGuestDelegate;
37 class WebViewPermissionHelper; 39 class WebViewPermissionHelper;
38 class WebViewPermissionHelperDelegate; 40 class WebViewPermissionHelperDelegate;
39 class WebRequestEventRouterDelegate; 41 class WebRequestEventRouterDelegate;
40 class RulesCacheDelegate; 42 class RulesCacheDelegate;
41 class SettingsObserver; 43 class SettingsObserver;
(...skipping 26 matching lines...) Expand all
68 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches); 70 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches);
69 71
70 // Creates the AppViewGuestDelegate. 72 // Creates the AppViewGuestDelegate.
71 virtual AppViewGuestDelegate* CreateAppViewGuestDelegate() const; 73 virtual AppViewGuestDelegate* CreateAppViewGuestDelegate() const;
72 74
73 // Returns a delegate for ExtensionOptionsGuest. The caller owns the returned 75 // Returns a delegate for ExtensionOptionsGuest. The caller owns the returned
74 // ExtensionOptionsGuestDelegate. 76 // ExtensionOptionsGuestDelegate.
75 virtual ExtensionOptionsGuestDelegate* CreateExtensionOptionsGuestDelegate( 77 virtual ExtensionOptionsGuestDelegate* CreateExtensionOptionsGuestDelegate(
76 ExtensionOptionsGuest* guest) const; 78 ExtensionOptionsGuest* guest) const;
77 79
80 // Returns a delegate for ExtensionViewGuest.=
81 virtual ExtensionViewGuestDelegate* CreateExtensionViewGuestDelegate(
82 ExtensionViewGuest* guest) const;
83
78 // Creates a delegate for MimeHandlerViewGuest. 84 // Creates a delegate for MimeHandlerViewGuest.
79 virtual scoped_ptr<MimeHandlerViewGuestDelegate> 85 virtual scoped_ptr<MimeHandlerViewGuestDelegate>
80 CreateMimeHandlerViewGuestDelegate(MimeHandlerViewGuest* guest) const; 86 CreateMimeHandlerViewGuestDelegate(MimeHandlerViewGuest* guest) const;
81 87
82 // Returns a delegate for some of WebViewGuest's behavior. The caller owns the 88 // Returns a delegate for some of WebViewGuest's behavior. The caller owns the
83 // returned WebViewGuestDelegate. 89 // returned WebViewGuestDelegate.
84 virtual WebViewGuestDelegate* CreateWebViewGuestDelegate ( 90 virtual WebViewGuestDelegate* CreateWebViewGuestDelegate (
85 WebViewGuest* web_view_guest) const; 91 WebViewGuest* web_view_guest) const;
86 92
87 // Returns a delegate for some of WebViewPermissionHelper's behavior. The 93 // Returns a delegate for some of WebViewPermissionHelper's behavior. The
(...skipping 23 matching lines...) Expand all
111 // Creates a delegate for handling the management extension api. 117 // Creates a delegate for handling the management extension api.
112 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const; 118 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const;
113 119
114 // NOTE: If this interface gains too many methods (perhaps more than 20) it 120 // NOTE: If this interface gains too many methods (perhaps more than 20) it
115 // should be split into one interface per API. 121 // should be split into one interface per API.
116 }; 122 };
117 123
118 } // namespace extensions 124 } // namespace extensions
119 125
120 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 126 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698