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

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

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix 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 /* 1 /*
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 13 matching lines...) Expand all
24 #ifndef Event_h 24 #ifndef Event_h
25 #define Event_h 25 #define Event_h
26 26
27 #include "bindings/core/v8/ScriptWrappable.h" 27 #include "bindings/core/v8/ScriptWrappable.h"
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/dom/DOMHighResTimeStamp.h" 29 #include "core/dom/DOMHighResTimeStamp.h"
30 #include "core/dom/DOMTimeStamp.h" 30 #include "core/dom/DOMTimeStamp.h"
31 #include "core/events/EventInit.h" 31 #include "core/events/EventInit.h"
32 #include "core/events/EventPath.h" 32 #include "core/events/EventPath.h"
33 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "wtf/RefCounted.h"
35 #include "wtf/text/AtomicString.h" 34 #include "wtf/text/AtomicString.h"
36 35
37 namespace blink { 36 namespace blink {
38 37
39 class DOMWrapperWorld; 38 class DOMWrapperWorld;
40 class EventTarget; 39 class EventTarget;
41 class ExecutionContext; 40 class ExecutionContext;
42 41
43 class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>, public Scrip tWrappable { 42 class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>, public Scrip tWrappable {
44 DEFINE_WRAPPERTYPEINFO(); 43 DEFINE_WRAPPERTYPEINFO();
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // WebInputEvent instance. 253 // WebInputEvent instance.
255 double m_platformTimeStamp; 254 double m_platformTimeStamp;
256 }; 255 };
257 256
258 #define DEFINE_EVENT_TYPE_CASTS(typeName) \ 257 #define DEFINE_EVENT_TYPE_CASTS(typeName) \
259 DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##t ypeName()) 258 DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##t ypeName())
260 259
261 } // namespace blink 260 } // namespace blink
262 261
263 #endif // Event_h 262 #endif // Event_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698