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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 PresentationSession_h 5 #ifndef PresentationSession_h
6 #define PresentationSession_h 6 #define PresentationSession_h
7 7
8 #include "core/events/EventTarget.h" 8 #include "core/events/EventTarget.h"
9 #include "core/fileapi/Blob.h" 9 #include "core/fileapi/Blob.h"
10 #include "core/fileapi/FileError.h" 10 #include "core/fileapi/FileError.h"
(...skipping 14 matching lines...) Expand all
25 class PresentationController; 25 class PresentationController;
26 26
27 class PresentationSession final 27 class PresentationSession final
28 : public RefCountedGarbageCollectedEventTargetWithInlineData<PresentationSes sion> 28 : public RefCountedGarbageCollectedEventTargetWithInlineData<PresentationSes sion>
29 , public DOMWindowProperty { 29 , public DOMWindowProperty {
30 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationSession); 30 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationSession);
31 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationSession); 31 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationSession);
32 DEFINE_WRAPPERTYPEINFO(); 32 DEFINE_WRAPPERTYPEINFO();
33 public: 33 public:
34 static PresentationSession* take(WebPresentationSessionClient*, Presentation *); 34 static PresentationSession* take(WebPresentationSessionClient*, Presentation *);
35 virtual ~PresentationSession(); 35 ~PresentationSession() override;
36 36
37 // EventTarget implementation. 37 // EventTarget implementation.
38 virtual const AtomicString& interfaceName() const override; 38 const AtomicString& interfaceName() const override;
39 virtual ExecutionContext* executionContext() const override; 39 ExecutionContext* executionContext() const override;
40 40
41 DECLARE_VIRTUAL_TRACE(); 41 DECLARE_VIRTUAL_TRACE();
42 42
43 const String id() const { return m_id; } 43 const String id() const { return m_id; }
44 const WTF::AtomicString& state() const; 44 const WTF::AtomicString& state() const;
45 45
46 void send(const String& message, ExceptionState&); 46 void send(const String& message, ExceptionState&);
47 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&); 47 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&);
48 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&); 48 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&);
49 void send(Blob*, ExceptionState&); 49 void send(Blob*, ExceptionState&);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // For Blob data handling. 114 // For Blob data handling.
115 Member<BlobLoader> m_blobLoader; 115 Member<BlobLoader> m_blobLoader;
116 Deque<OwnPtr<Message>> m_messages; 116 Deque<OwnPtr<Message>> m_messages;
117 117
118 BinaryType m_binaryType; 118 BinaryType m_binaryType;
119 }; 119 };
120 120
121 } // namespace blink 121 } // namespace blink
122 122
123 #endif // PresentationSession_h 123 #endif // PresentationSession_h
OLDNEW
« no previous file with comments | « Source/modules/presentation/PresentationController.h ('k') | Source/modules/presentation/PresentationSessionClientCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698