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

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

Issue 2675793005: Track constant InputDeviceCapabilities objects per-window. (Closed)
Patch Set: test tidying Created 3 years, 10 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, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
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 11 matching lines...) Expand all
22 */ 22 */
23 23
24 #ifndef UIEvent_h 24 #ifndef UIEvent_h
25 #define UIEvent_h 25 #define UIEvent_h
26 26
27 #include "core/CoreExport.h" 27 #include "core/CoreExport.h"
28 #include "core/events/Event.h" 28 #include "core/events/Event.h"
29 #include "core/events/EventDispatchMediator.h" 29 #include "core/events/EventDispatchMediator.h"
30 #include "core/events/UIEventInit.h" 30 #include "core/events/UIEventInit.h"
31 #include "core/frame/DOMWindow.h" 31 #include "core/frame/DOMWindow.h"
32 #include "core/input/InputDeviceCapabilities.h"
33 32
34 namespace blink { 33 namespace blink {
35 34
35 class InputDeviceCapabilities;
36
36 // FIXME: Get rid of this type alias. 37 // FIXME: Get rid of this type alias.
37 using AbstractView = DOMWindow; 38 using AbstractView = DOMWindow;
38 39
39 class CORE_EXPORT UIEvent : public Event { 40 class CORE_EXPORT UIEvent : public Event {
40 DEFINE_WRAPPERTYPEINFO(); 41 DEFINE_WRAPPERTYPEINFO();
41 42
42 public: 43 public:
43 static UIEvent* create() { return new UIEvent; } 44 static UIEvent* create() { return new UIEvent; }
44 static UIEvent* create(const AtomicString& type, 45 static UIEvent* create(const AtomicString& type,
45 const UIEventInit& initializer) { 46 const UIEventInit& initializer) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 88
88 private: 89 private:
89 Member<AbstractView> m_view; 90 Member<AbstractView> m_view;
90 int m_detail; 91 int m_detail;
91 Member<InputDeviceCapabilities> m_sourceCapabilities; 92 Member<InputDeviceCapabilities> m_sourceCapabilities;
92 }; 93 };
93 94
94 } // namespace blink 95 } // namespace blink
95 96
96 #endif // UIEvent_h 97 #endif // UIEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/TouchEvent.cpp ('k') | third_party/WebKit/Source/core/events/UIEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698