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

Side by Side Diff: Source/modules/presentation/DefaultSessionStartEvent.h

Issue 995923002: Oilpan: fix build after r191643 (4e6a640c). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/modules/presentation/DefaultSessionStartEvent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DefaultSessionStartEvent_h 5 #ifndef DefaultSessionStartEvent_h
6 #define DefaultSessionStartEvent_h 6 #define DefaultSessionStartEvent_h
7 7
8 #include "modules/EventModules.h" 8 #include "modules/EventModules.h"
9 #include "modules/presentation/PresentationSession.h" 9 #include "modules/presentation/PresentationSession.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 static PassRefPtrWillBeRawPtr<DefaultSessionStartEvent> create(const AtomicS tring& eventType, const DefaultSessionStartEventInit& initializer) 32 static PassRefPtrWillBeRawPtr<DefaultSessionStartEvent> create(const AtomicS tring& eventType, const DefaultSessionStartEventInit& initializer)
33 { 33 {
34 return adoptRefWillBeNoop(new DefaultSessionStartEvent(eventType, initia lizer)); 34 return adoptRefWillBeNoop(new DefaultSessionStartEvent(eventType, initia lizer));
35 } 35 }
36 36
37 PresentationSession* session() { return m_session.get(); } 37 PresentationSession* session() { return m_session.get(); }
38 38
39 virtual const AtomicString& interfaceName() const override; 39 virtual const AtomicString& interfaceName() const override;
40 40
41 DECLARE_VIRTUAL_TRACE();
42
41 private: 43 private:
42 DefaultSessionStartEvent(); 44 DefaultSessionStartEvent();
43 DefaultSessionStartEvent(const AtomicString& eventType, PresentationSession* ); 45 DefaultSessionStartEvent(const AtomicString& eventType, PresentationSession* );
44 DefaultSessionStartEvent(const AtomicString& eventType, const DefaultSession StartEventInit& initializer); 46 DefaultSessionStartEvent(const AtomicString& eventType, const DefaultSession StartEventInit& initializer);
45 47
46 Persistent<PresentationSession> m_session; 48 PersistentWillBeMember<PresentationSession> m_session;
47 }; 49 };
48 50
49 DEFINE_TYPE_CASTS(DefaultSessionStartEvent, Event, event, event->interfaceName() == EventNames::DefaultSessionStartEvent, event.interfaceName() == EventNames::D efaultSessionStartEvent); 51 DEFINE_TYPE_CASTS(DefaultSessionStartEvent, Event, event, event->interfaceName() == EventNames::DefaultSessionStartEvent, event.interfaceName() == EventNames::D efaultSessionStartEvent);
50 52
51 } // namespace blink 53 } // namespace blink
52 54
53 #endif // DefaultSessionStartEvent_h 55 #endif // DefaultSessionStartEvent_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/presentation/DefaultSessionStartEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698