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

Unified Diff: Source/platform/Widget.h

Issue 357443005: Oilpan: make shutdown of plugin container objects work better. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Conditionally define detach() Created 6 years, 6 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: Source/platform/Widget.h
diff --git a/Source/platform/Widget.h b/Source/platform/Widget.h
index 4b042fc06ef12b3acef6f99f45ed32dd08b8c3c5..ae57ae7c8f0fbe800a87fb990f2f09e62960fa88 100644
--- a/Source/platform/Widget.h
+++ b/Source/platform/Widget.h
@@ -39,6 +39,9 @@ namespace WebCore {
class Event;
class GraphicsContext;
class HostWindow;
+#if ENABLE(OILPAN)
tkent 2014/06/25 05:05:40 nit: You don't need to add |#if ENABLE(OILPAN)| to
+class ScriptController;
+#endif
// The Widget class serves as a base class for three kinds of objects:
// (1) Scrollable areas (ScrollView)
@@ -133,6 +136,12 @@ public:
// Notifies this widget that it will no longer be receiving events.
virtual void eventListenersRemoved() { }
+#if ENABLE(OILPAN)
+ virtual void detach() { }
+
+ virtual void setScriptController(ScriptController*) { }
+#endif
+
private:
Widget* m_parent;
IntRect m_frame;

Powered by Google App Engine
This is Rietveld 408576698