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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.h

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 PresentationConnection_h 5 #ifndef PresentationConnection_h
6 #define PresentationConnection_h 6 #define PresentationConnection_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"
11 #include "core/frame/DOMWindowProperty.h" 11 #include "core/frame/DOMWindowProperty.h"
12 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
13 #include "public/platform/modules/presentation/WebPresentationConnectionClient.h " 13 #include "public/platform/modules/presentation/WebPresentationConnectionClient.h "
14 #include "wtf/OwnPtr.h" 14 #include "wtf/OwnPtr.h"
15 #include "wtf/text/WTFString.h" 15 #include "wtf/text/WTFString.h"
16 16
17 namespace WTF { 17 namespace WTF {
18 class AtomicString; 18 class AtomicString;
19 } // namespace WTF 19 } // namespace WTF
20 20
21 namespace blink { 21 namespace blink {
22 22
23 class DOMArrayBuffer; 23 class DOMArrayBuffer;
24 class DOMArrayBufferView; 24 class DOMArrayBufferView;
25 class PresentationController; 25 class PresentationController;
26 class PresentationRequest; 26 class PresentationRequest;
27 27
28 class PresentationConnection final 28 class PresentationConnection final
29 : public RefCountedGarbageCollectedEventTargetWithInlineData<PresentationCon nection> 29 : public EventTargetWithInlineData
30 , public DOMWindowProperty { 30 , public DOMWindowProperty {
31 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationConnection); 31 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationConnection);
32 USING_GARBAGE_COLLECTED_MIXIN(PresentationConnection); 32 USING_GARBAGE_COLLECTED_MIXIN(PresentationConnection);
33 DEFINE_WRAPPERTYPEINFO(); 33 DEFINE_WRAPPERTYPEINFO();
34 public: 34 public:
35 // For CallbackPromiseAdapter. 35 // For CallbackPromiseAdapter.
36 using WebType = OwnPtr<WebPresentationConnectionClient>; 36 using WebType = OwnPtr<WebPresentationConnectionClient>;
37 37
38 static PresentationConnection* take(ScriptPromiseResolver*, PassOwnPtr<WebPr esentationConnectionClient>, PresentationRequest*); 38 static PresentationConnection* take(ScriptPromiseResolver*, PassOwnPtr<WebPr esentationConnectionClient>, PresentationRequest*);
39 static PresentationConnection* take(PresentationController*, PassOwnPtr<WebP resentationConnectionClient>, PresentationRequest*); 39 static PresentationConnection* take(PresentationController*, PassOwnPtr<WebP resentationConnectionClient>, PresentationRequest*);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // For Blob data handling. 116 // For Blob data handling.
117 Member<BlobLoader> m_blobLoader; 117 Member<BlobLoader> m_blobLoader;
118 HeapDeque<Member<Message>> m_messages; 118 HeapDeque<Member<Message>> m_messages;
119 119
120 BinaryType m_binaryType; 120 BinaryType m_binaryType;
121 }; 121 };
122 122
123 } // namespace blink 123 } // namespace blink
124 124
125 #endif // PresentationConnection_h 125 #endif // PresentationConnection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698