| Index: content/browser/web_contents/web_contents_impl.h
|
| diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
|
| index 2fda9db2e0e02ae4a224db704aa8f206b00e0cf1..64a85e53cb1864af0439773bc3311572ea4a00d4 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
|
|
|
| #include <map>
|
| +#include <set>
|
| #include <string>
|
|
|
| #include "base/compiler_specific.h"
|
| @@ -45,6 +46,7 @@ class JavaScriptDialogCreator;
|
| class RenderViewHost;
|
| class RenderViewHostDelegateView;
|
| class RenderViewHostImpl;
|
| +class RenderWidgetHostImpl;
|
| class SiteInstance;
|
| class TestWebContents;
|
| class WebContentsDelegate;
|
| @@ -415,6 +417,8 @@ class CONTENT_EXPORT WebContentsImpl
|
|
|
| // RenderWidgetHostDelegate --------------------------------------------------
|
|
|
| + virtual void RenderWidgetDeleted(
|
| + content::RenderWidgetHostImpl* render_widget_host) OVERRIDE;
|
| virtual bool PreHandleKeyboardEvent(
|
| const content::NativeWebKeyboardEvent& event,
|
| bool* is_keyboard_shortcut) OVERRIDE;
|
| @@ -831,6 +835,10 @@ class CONTENT_EXPORT WebContentsImpl
|
| // to the RVH through which the message was received.
|
| content::RenderViewHost* message_source_;
|
|
|
| + // All live RenderWidgetHostImpls that are created by this object and may
|
| + // outlive it.
|
| + std::set<content::RenderWidgetHostImpl*> created_widgets_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
|
| };
|
|
|
|
|