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

Side by Side Diff: Source/core/events/WheelEvent.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/events/WebKitAnimationEvent.cpp ('k') | Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void WheelEvent::initWebKitWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<A bstractView> view, 106 void WheelEvent::initWebKitWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<A bstractView> view,
107 int screenX, int screenY, int pageX, int p ageY, 107 int screenX, int screenY, int pageX, int p ageY,
108 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) 108 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
109 { 109 {
110 initWheelEvent(rawDeltaX, rawDeltaY, view, screenX, screenY, pageX, pageY, 110 initWheelEvent(rawDeltaX, rawDeltaY, view, screenX, screenY, pageX, pageY,
111 ctrlKey, altKey, shiftKey, metaKey); 111 ctrlKey, altKey, shiftKey, metaKey);
112 } 112 }
113 113
114 const AtomicString& WheelEvent::interfaceName() const 114 const AtomicString& WheelEvent::interfaceName() const
115 { 115 {
116 return eventNames().interfaceForWheelEvent; 116 return EventNames::WheelEvent;
117 } 117 }
118 118
119 bool WheelEvent::isMouseEvent() const 119 bool WheelEvent::isMouseEvent() const
120 { 120 {
121 return false; 121 return false;
122 } 122 }
123 123
124 bool WheelEvent::isWheelEvent() const 124 bool WheelEvent::isWheelEvent() const
125 { 125 {
126 return true; 126 return true;
(...skipping 24 matching lines...) Expand all
151 return static_cast<WheelEvent*>(EventDispatchMediator::event()); 151 return static_cast<WheelEvent*>(EventDispatchMediator::event());
152 } 152 }
153 153
154 bool WheelEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) cons t 154 bool WheelEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) cons t
155 { 155 {
156 ASSERT(event()); 156 ASSERT(event());
157 return EventDispatchMediator::dispatchEvent(dispatcher) && !event()->default Handled(); 157 return EventDispatchMediator::dispatchEvent(dispatcher) && !event()->default Handled();
158 } 158 }
159 159
160 } // namespace WebCore 160 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/events/WebKitAnimationEvent.cpp ('k') | Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698