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

Unified Diff: Source/core/dom/PopStateEvent.h

Issue 19457002: Make 'any'-typed attributes of events available in isolated worlds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Properly refactored Created 7 years, 5 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/core/dom/PopStateEvent.h
diff --git a/Source/core/dom/PopStateEvent.h b/Source/core/dom/PopStateEvent.h
index cbe4627905420624bad6653467bd8243690ab12b..df4794f2f0cd17d5a638f8455abce4a07010e050 100644
--- a/Source/core/dom/PopStateEvent.h
+++ b/Source/core/dom/PopStateEvent.h
@@ -31,11 +31,11 @@
namespace WebCore {
-typedef EventInit PopStateEventInit;
-
class History;
class SerializedScriptValue;
+typedef EventInit PopStateEventInit;
+
class PopStateEvent : public Event {
public:
virtual ~PopStateEvent();
@@ -44,6 +44,7 @@ public:
static PassRefPtr<PopStateEvent> create(const AtomicString&, const PopStateEventInit&);
SerializedScriptValue* serializedState() const { return m_serializedState.get(); }
+ void setSerializedState(PassRefPtr<SerializedScriptValue> state) { m_serializedState = state; }
History* history() const { return m_history.get(); }
virtual const AtomicString& interfaceName() const;

Powered by Google App Engine
This is Rietveld 408576698