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

Side by Side Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.h

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 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 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 PromiseRejectionEvent_h 5 #ifndef PromiseRejectionEvent_h
6 #define PromiseRejectionEvent_h 6 #define PromiseRejectionEvent_h
7 7
8 #include "bindings/core/v8/DOMWrapperWorld.h"
9 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
11 #include "bindings/core/v8/ScriptValue.h" 10 #include "bindings/core/v8/ScriptValue.h"
12 #include "bindings/core/v8/TraceWrapperV8Reference.h" 11 #include "bindings/core/v8/TraceWrapperV8Reference.h"
13 #include "core/CoreExport.h" 12 #include "core/CoreExport.h"
14 #include "core/events/Event.h" 13 #include "core/events/Event.h"
15 #include "core/events/PromiseRejectionEventInit.h" 14 #include "core/events/PromiseRejectionEventInit.h"
15 #include "platform/bindings/DOMWrapperWorld.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class CORE_EXPORT PromiseRejectionEvent final : public Event { 19 class CORE_EXPORT PromiseRejectionEvent final : public Event {
20 DEFINE_WRAPPERTYPEINFO(); 20 DEFINE_WRAPPERTYPEINFO();
21 USING_PRE_FINALIZER(PromiseRejectionEvent, Dispose); 21 USING_PRE_FINALIZER(PromiseRejectionEvent, Dispose);
22 22
23 public: 23 public:
24 static PromiseRejectionEvent* Create( 24 static PromiseRejectionEvent* Create(
25 ScriptState* state, 25 ScriptState* state,
(...skipping 23 matching lines...) Expand all
49 void Dispose(); 49 void Dispose();
50 50
51 RefPtr<DOMWrapperWorld> world_; 51 RefPtr<DOMWrapperWorld> world_;
52 TraceWrapperV8Reference<v8::Value> promise_; 52 TraceWrapperV8Reference<v8::Value> promise_;
53 TraceWrapperV8Reference<v8::Value> reason_; 53 TraceWrapperV8Reference<v8::Value> reason_;
54 }; 54 };
55 55
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif // PromiseRejectionEvent_h 58 #endif // PromiseRejectionEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/MouseEvent.cpp ('k') | third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698