diff options
author | Patrick Scott <phanna@android.com> | 2010-04-02 09:43:08 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2010-04-02 09:43:08 -0400 |
commit | 9dbbb4da177ba7592aaf8d18fbd85a9525bbb5f7 (patch) | |
tree | 1f9fd47ce61dbbb0f553838c3556d7c092460562 /WebCore/rendering | |
parent | 4535cd9bbf6839dfeab97e7d826d401b523fedec (diff) | |
download | external_webkit-9dbbb4da177ba7592aaf8d18fbd85a9525bbb5f7.zip external_webkit-9dbbb4da177ba7592aaf8d18fbd85a9525bbb5f7.tar.gz external_webkit-9dbbb4da177ba7592aaf8d18fbd85a9525bbb5f7.tar.bz2 |
On demand plugins are now per-page, not per-object.
Traverse the frame tree and enable all plugins currently on the page. Remember
the setting for any future plugins that are created. Reset the setting in
makeRepresentation as that seems to be called for all new documents.
Bug: 2564543
Change-Id: I558f068992719ee0236ba40f76b918b10cfe0ed9
Diffstat (limited to 'WebCore/rendering')
-rw-r--r-- | WebCore/rendering/RenderView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderView.h b/WebCore/rendering/RenderView.h index c287579..faa2465 100644 --- a/WebCore/rendering/RenderView.h +++ b/WebCore/rendering/RenderView.h @@ -105,6 +105,9 @@ public: void updateWidgetPositions(); void addWidget(RenderWidget*); void removeWidget(RenderWidget*); +#ifdef ANDROID_PLUGINS + const HashSet<RenderWidget*>& widgets() const { return m_widgets; } +#endif // layoutDelta is used transiently during layout to store how far an object has moved from its // last layout location, in order to repaint correctly. |