| Index: extensions/browser/guest_view/web_view/web_view_guest.h
|
| diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
|
| index 31ca93e13aed2a8b086f149c177a7b92b23dd002..23139f7ebcfa2e2273caedcf2332573cf5b05b56 100644
|
| --- a/extensions/browser/guest_view/web_view/web_view_guest.h
|
| +++ b/extensions/browser/guest_view/web_view/web_view_guest.h
|
| @@ -57,6 +57,13 @@ class WebViewGuest : public GuestView<WebViewGuest>,
|
|
|
| static const char Type[];
|
|
|
| + // Return the stored rules registry ID of the given webview. Will generate
|
| + // an ID for the first query.
|
| + static int GetOrGenerateRulesRegistryID(
|
| + int embedder_process_id,
|
| + int web_view_instance_id,
|
| + content::BrowserContext* browser_context);
|
| +
|
| // Request navigating the guest to the provided |src| URL.
|
| void NavigateGuest(const std::string& src, bool force_navigation);
|
|
|
| @@ -236,6 +243,7 @@ class WebViewGuest : public GuestView<WebViewGuest>,
|
|
|
| private:
|
| friend class WebViewPermissionHelper;
|
| +
|
| WebViewGuest(content::BrowserContext* browser_context,
|
| int guest_instance_id);
|
|
|
| @@ -315,6 +323,9 @@ class WebViewGuest : public GuestView<WebViewGuest>,
|
|
|
| void SetUpAutoSize();
|
|
|
| + // Identifies the set of rules registries belonging to this guest.
|
| + int rules_registry_id_;
|
| +
|
| // Handles find requests and replies for the webview find API.
|
| WebViewFindHelper find_helper_;
|
|
|
|
|