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

Unified Diff: public/web/WebDevToolsFrontend.h

Issue 1008163003: Oilpan: move WebDevToolsFrontend to the heap. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: trace WebLocalFrameImpl's reference 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
« no previous file with comments | « Source/web/web.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDevToolsFrontend.h
diff --git a/public/web/WebDevToolsFrontend.h b/public/web/WebDevToolsFrontend.h
index d457c63b6263af647fb582f37335cb4e9aec7e1e..2f0c57914ef15e8fb32da522438b71eb822ee4e1 100644
--- a/public/web/WebDevToolsFrontend.h
+++ b/public/web/WebDevToolsFrontend.h
@@ -32,10 +32,17 @@
#define WebDevToolsFrontend_h
#include "../platform/WebCommon.h"
+#include "../platform/WebPrivatePtr.h"
+
+#if BLINK_IMPLEMENTATION
+#include "platform/heap/Handle.h"
+#include "wtf/Forward.h"
+#endif
namespace blink {
class WebDevToolsFrontendClient;
+class WebDevToolsFrontendPrivate;
class WebLocalFrame;
class WebString;
class WebView;
@@ -44,6 +51,12 @@ class WebView;
// direct and delegate Apis to the host.
class WebDevToolsFrontend {
public:
+#if BLINK_IMPLEMENTATION
+ WebDevToolsFrontend(PassRefPtrWillBeRawPtr<WebDevToolsFrontendPrivate> devtoolsFrontend);
+#endif
+
+ virtual ~WebDevToolsFrontend();
+
// FIXME: remove once migrated to the WebLocalFrame.
BLINK_EXPORT static WebDevToolsFrontend* create(
WebView*,
@@ -55,9 +68,12 @@ public:
WebDevToolsFrontendClient*,
const WebString& applicationLocale);
- virtual ~WebDevToolsFrontend() {}
+private:
+ WebDevToolsFrontend();
+
+ WebPrivatePtr<WebDevToolsFrontendPrivate> m_private;
};
} // namespace blink
-#endif
+#endif // WebDevToolsFrontend_h
« no previous file with comments | « Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698