| 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 e566fb4710d0f8f0e23b7a3bfa0ec186c8c9cf90..890d17ca079d3eb9dbe117a0888d534513a2d7fd 100644
|
| --- a/extensions/browser/guest_view/web_view/web_view_guest.h
|
| +++ b/extensions/browser/guest_view/web_view/web_view_guest.h
|
| @@ -70,6 +70,18 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
|
| int embedder_process_id,
|
| int web_view_instance_id);
|
|
|
| + // Retrieve and return the extension ID for the WebView identified by
|
| + // |embedder_process_id| and |view_instance_id|. If no extension ID can be
|
| + // found for that GuestView, an empty string will be returned.
|
| + static std::string GetExtensionID(int embedder_process_id,
|
| + int view_instance_id);
|
| +
|
| + // Associate the extension ID |extension_id| with the WebView identified by
|
| + // |embedder_process_id| and |view_instance_id|.
|
| + static void RegisterExtensionID(const std::string& extension_id,
|
| + int embedder_process_id,
|
| + int view_instance_id);
|
| +
|
| // Get the current zoom.
|
| double GetZoom() const;
|
|
|
|
|