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

Unified Diff: extensions/browser/api/extensions_api_client.h

Issue 496873006: Move core web_view code to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dependency of web_view_internal_api.h 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | extensions/browser/api/extensions_api_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/extensions_api_client.h
diff --git a/extensions/browser/api/extensions_api_client.h b/extensions/browser/api/extensions_api_client.h
index 93fae579b7c6b75d206283715654266a3627d0e6..4a60df57da21d79a77d40aab1570674b6177214c 100644
--- a/extensions/browser/api/extensions_api_client.h
+++ b/extensions/browser/api/extensions_api_client.h
@@ -26,6 +26,10 @@ class HidService;
namespace extensions {
class AppViewGuestDelegate;
+class WebViewGuest;
+class WebViewGuestDelegate;
+class WebViewPermissionHelper;
+class WebViewPermissionHelperDelegate;
class SettingsObserver;
class SettingsStorageFactory;
class ValueStoreCache;
@@ -75,6 +79,17 @@ class ExtensionsAPIClient {
// Returns the HidService instance for this embedder.
virtual device::HidService* GetHidService();
+ // Returns a delegate for some of WebViewGuest's behavior. The caller owns the
+ // returned WebViewGuestDelegate.
+ virtual WebViewGuestDelegate* CreateWebViewGuestDelegate (
+ WebViewGuest* web_view_guest) const;
+
+ // Returns a delegate for some of WebViewPermissionHelper's behavior. The
+ // caller owns the returned WebViewPermissionHelperDelegate.
+ virtual WebViewPermissionHelperDelegate*
+ CreateWebViewPermissionHelperDelegate (
+ WebViewPermissionHelper* web_view_permission_helper) const;
+
virtual void RegisterGuestViewTypes() {}
// NOTE: If this interface gains too many methods (perhaps more than 20) it
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | extensions/browser/api/extensions_api_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698