 Chromium Code Reviews
 Chromium Code Reviews Issue 258373002:
  Towards moving guest management to chrome: Introduce GuestViewManager  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 258373002:
  Towards moving guest management to chrome: Introduce GuestViewManager  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: content/browser/browser_plugin/browser_plugin_guest.h | 
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h | 
| index 61d2d8edc8ce19d9d1d0b5054d8234780fdeb17c..09ffc7c157749e06308f21a4e5df391d38923382 100644 | 
| --- a/content/browser/browser_plugin/browser_plugin_guest.h | 
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h | 
| @@ -136,7 +136,7 @@ class CONTENT_EXPORT BrowserPluginGuest | 
| bool visible() const { return guest_visible_; } | 
| bool is_in_destruction() { return is_in_destruction_; } | 
| - BrowserPluginGuest* opener() const { return opener_.get(); } | 
| + BrowserPluginGuest* GetOpener(); | 
| 
lazyboy
2014/05/01 20:06:59
Add comment
 
Fady Samuel
2014/05/01 21:05:28
Done.
 | 
| // Returns whether the mouse pointer was unlocked. | 
| bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event); | 
| @@ -297,8 +297,7 @@ class CONTENT_EXPORT BrowserPluginGuest | 
| // |web_contents| has to stay valid for the lifetime of BrowserPluginGuest. | 
| BrowserPluginGuest(int instance_id, | 
| bool has_render_view, | 
| - WebContentsImpl* web_contents, | 
| - BrowserPluginGuest* opener); | 
| + WebContentsImpl* web_contents); | 
| // Destroy unattached new windows that have been opened by this | 
| // BrowserPluginGuest. | 
| @@ -488,7 +487,6 @@ class CONTENT_EXPORT BrowserPluginGuest | 
| typedef std::map<BrowserPluginGuest*, NewWindowInfo> PendingWindowMap; | 
| PendingWindowMap pending_new_windows_; | 
| - base::WeakPtr<BrowserPluginGuest> opener_; | 
| // A counter to generate a unique request id for a permission request. | 
| // We only need the ids to be unique for a given BrowserPluginGuest. | 
| int next_permission_request_id_; |