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

Side by Side Diff: Source/core/events/KeyboardEvent.h

Issue 656683009: Clean up forward declarations in Source/core/events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/events/FocusEvent.h ('k') | Source/core/html/track/TextTrackCue.h » ('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, 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 12 matching lines...) Expand all
23 23
24 #ifndef KeyboardEvent_h 24 #ifndef KeyboardEvent_h
25 #define KeyboardEvent_h 25 #define KeyboardEvent_h
26 26
27 #include "core/events/EventDispatchMediator.h" 27 #include "core/events/EventDispatchMediator.h"
28 #include "core/events/UIEventWithKeyState.h" 28 #include "core/events/UIEventWithKeyState.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class EventDispatcher; 32 class EventDispatcher;
33 class Node;
34 class PlatformKeyboardEvent; 33 class PlatformKeyboardEvent;
35 34
36 struct KeyboardEventInit : public UIEventInit { 35 struct KeyboardEventInit : public UIEventInit {
37 KeyboardEventInit(); 36 KeyboardEventInit();
38 37
39 String keyIdentifier; 38 String keyIdentifier;
40 unsigned location; 39 unsigned location;
41 bool ctrlKey; 40 bool ctrlKey;
42 bool altKey; 41 bool altKey;
43 bool shiftKey; 42 bool shiftKey;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 private: 120 private:
122 explicit KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent> ); 121 explicit KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent> );
123 virtual bool dispatchEvent(EventDispatcher*) const override; 122 virtual bool dispatchEvent(EventDispatcher*) const override;
124 }; 123 };
125 124
126 DEFINE_EVENT_TYPE_CASTS(KeyboardEvent); 125 DEFINE_EVENT_TYPE_CASTS(KeyboardEvent);
127 126
128 } // namespace blink 127 } // namespace blink
129 128
130 #endif // KeyboardEvent_h 129 #endif // KeyboardEvent_h
OLDNEW
« no previous file with comments | « Source/core/events/FocusEvent.h ('k') | Source/core/html/track/TextTrackCue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698