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

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

Issue 2590273002: Move WebMouseEvent into its own header file. (Closed)
Patch Set: Fix android build Created 3 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/platform/WebMouseEvent.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, 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 MouseEvent_h 24 #ifndef MouseEvent_h
25 #define MouseEvent_h 25 #define MouseEvent_h
26 26
27 #include "core/CoreExport.h" 27 #include "core/CoreExport.h"
28 #include "core/events/EventDispatchMediator.h" 28 #include "core/events/EventDispatchMediator.h"
29 #include "core/events/MouseEventInit.h" 29 #include "core/events/MouseEventInit.h"
30 #include "core/events/UIEventWithKeyState.h" 30 #include "core/events/UIEventWithKeyState.h"
31 #include "platform/PlatformMouseEvent.h" 31 #include "platform/PlatformMouseEvent.h"
32 #include "public/platform/WebMouseEvent.h"
32 33
33 namespace blink { 34 namespace blink {
34 class DataTransfer; 35 class DataTransfer;
35 class EventDispatcher; 36 class EventDispatcher;
36 37
37 class CORE_EXPORT MouseEvent : public UIEventWithKeyState { 38 class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
38 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
39 40
40 public: 41 public:
41 static MouseEvent* create() { return new MouseEvent; } 42 static MouseEvent* create() { return new MouseEvent; }
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 MouseEvent& event() const; 281 MouseEvent& event() const;
281 282
282 DispatchEventResult dispatchEvent(EventDispatcher&) const override; 283 DispatchEventResult dispatchEvent(EventDispatcher&) const override;
283 }; 284 };
284 285
285 DEFINE_EVENT_TYPE_CASTS(MouseEvent); 286 DEFINE_EVENT_TYPE_CASTS(MouseEvent);
286 287
287 } // namespace blink 288 } // namespace blink
288 289
289 #endif // MouseEvent_h 290 #endif // MouseEvent_h
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/platform/WebMouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698