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

Unified Diff: components/guest_view/browser/guest_view_manager.h

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: add basic postMessage test Created 5 years, 7 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: components/guest_view/browser/guest_view_manager.h
diff --git a/components/guest_view/browser/guest_view_manager.h b/components/guest_view/browser/guest_view_manager.h
index 278c2cbaadc644153554c3960b7589383d0ea5a0..007f8ba97b575b151b7a03c8ea9b890487515627 100644
--- a/components/guest_view/browser/guest_view_manager.h
+++ b/components/guest_view/browser/guest_view_manager.h
@@ -67,6 +67,10 @@ class GuestViewManager : public content::BrowserPluginGuestManager,
int guest_instance_id,
const base::DictionaryValue& attach_params);
+ // Relax GetGuestByInstanceID for now, so we can wildly access a guest by
+ // its guest_instance_id.
+ content::WebContents* GetGuestByInstanceIDHack(int guest_instance_id);
+
// Removes the association between |element_instance_id| and a guest instance
// ID if one exists.
void DetachGuest(GuestViewBase* guest);

Powered by Google App Engine
This is Rietveld 408576698