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

Side by Side Diff: sky/engine/core/events/Event.cpp

Issue 870073003: Remove mouse events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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, 2005, 2006, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 bool Event::hasInterface(const AtomicString& name) const 111 bool Event::hasInterface(const AtomicString& name) const
112 { 112 {
113 return interfaceName() == name; 113 return interfaceName() == name;
114 } 114 }
115 115
116 bool Event::isUIEvent() const 116 bool Event::isUIEvent() const
117 { 117 {
118 return false; 118 return false;
119 } 119 }
120 120
121 bool Event::isMouseEvent() const
122 {
123 return false;
124 }
125
126 bool Event::isFocusEvent() const 121 bool Event::isFocusEvent() const
127 { 122 {
128 return false; 123 return false;
129 } 124 }
130 125
131 bool Event::isKeyboardEvent() const 126 bool Event::isKeyboardEvent() const
132 { 127 {
133 return false; 128 return false;
134 } 129 }
135 130
136 bool Event::isTouchEvent() const 131 bool Event::isTouchEvent() const
137 { 132 {
138 return false; 133 return false;
139 } 134 }
140 135
141 bool Event::isGestureEvent() const 136 bool Event::isGestureEvent() const
142 { 137 {
143 return false; 138 return false;
144 } 139 }
145 140
146 bool Event::isWheelEvent() const
147 {
148 return false;
149 }
150
151 bool Event::isDragEvent() const 141 bool Event::isDragEvent() const
152 { 142 {
153 return false; 143 return false;
154 } 144 }
155 145
156 bool Event::isClipboardEvent() const 146 bool Event::isClipboardEvent() const
157 { 147 {
158 return false; 148 return false;
159 } 149 }
160 150
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 206 }
217 return StaticNodeList::createEmpty(); 207 return StaticNodeList::createEmpty();
218 } 208 }
219 209
220 EventTarget* Event::currentTarget() const 210 EventTarget* Event::currentTarget() const
221 { 211 {
222 return m_currentTarget.get(); 212 return m_currentTarget.get();
223 } 213 }
224 214
225 } // namespace blink 215 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698