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

Side by Side Diff: third_party/WebKit/Source/core/events/PopStateEvent.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<Serialize dScriptValue> serializedState, History* history) 66 PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<Serialize dScriptValue> serializedState, History* history)
67 { 67 {
68 return adoptRefWillBeNoop(new PopStateEvent(serializedState, history)); 68 return adoptRefWillBeNoop(new PopStateEvent(serializedState, history));
69 } 69 }
70 70
71 PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer) 71 PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer)
72 { 72 {
73 return adoptRefWillBeNoop(new PopStateEvent(type, initializer)); 73 return adoptRefWillBeNoop(new PopStateEvent(type, initializer));
74 } 74 }
75 75
76 History* PopStateEvent::history() const
77 {
78 return m_history.get();
79 }
80
76 const AtomicString& PopStateEvent::interfaceName() const 81 const AtomicString& PopStateEvent::interfaceName() const
77 { 82 {
78 return EventNames::PopStateEvent; 83 return EventNames::PopStateEvent;
79 } 84 }
80 85
81 DEFINE_TRACE(PopStateEvent) 86 DEFINE_TRACE(PopStateEvent)
82 { 87 {
83 visitor->trace(m_history); 88 visitor->trace(m_history);
84 Event::trace(visitor); 89 Event::trace(visitor);
85 } 90 }
86 91
87 } // namespace blink 92 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/PopStateEvent.h ('k') | third_party/WebKit/Source/core/events/TextEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698