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

Unified Diff: extensions/renderer/guest_view/guest_view_internal_custom_bindings.h

Issue 910073003: <webview>: Make contentWindow available prior to attachment (on display:none). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 years, 9 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
Index: extensions/renderer/guest_view/guest_view_internal_custom_bindings.h
diff --git a/extensions/renderer/guest_view/guest_view_internal_custom_bindings.h b/extensions/renderer/guest_view/guest_view_internal_custom_bindings.h
index 0c29435f411e6e029cea109fe61fd3480cf7362f..2c191373f4460cf477bf916a33d0f44e4082c011 100644
--- a/extensions/renderer/guest_view/guest_view_internal_custom_bindings.h
+++ b/extensions/renderer/guest_view/guest_view_internal_custom_bindings.h
@@ -40,6 +40,10 @@ class GuestViewInternalCustomBindings : public ObjectBackedNativeHandler {
// been detached.
void DetachGuest(const v8::FunctionCallbackInfo<v8::Value>& args);
+ // GetContentWindow takes in a RenderView routing ID and returns the
+ // Window JavaScript object for that RenderView.
+ void GetContentWindow(const v8::FunctionCallbackInfo<v8::Value>& args);
+
// RegisterDestructionCallback registers a JavaScript callback function to be
// called when the guestview's container is destroyed.
// RegisterDestructionCallback takes in a single paramater, |callback|.

Powered by Google App Engine
This is Rietveld 408576698