OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) | 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 14 matching lines...) Expand all Loading... |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "EventHandler.h" | 29 #include "EventHandler.h" |
30 | 30 |
31 #include "AutoscrollController.h" | 31 #include "AutoscrollController.h" |
32 #include "CachedImage.h" | 32 #include "CachedImage.h" |
33 #include "Chrome.h" | 33 #include "Chrome.h" |
34 #include "ChromeClient.h" | 34 #include "ChromeClient.h" |
35 #include "Cursor.h" | |
36 #include "CursorList.h" | 35 #include "CursorList.h" |
37 #include "Document.h" | 36 #include "Document.h" |
38 #include "DocumentEventQueue.h" | 37 #include "DocumentEventQueue.h" |
39 #include "DragController.h" | 38 #include "DragController.h" |
40 #include "DragState.h" | 39 #include "DragState.h" |
41 #include "Editor.h" | 40 #include "Editor.h" |
42 #include "EditorClient.h" | 41 #include "EditorClient.h" |
43 #include "EventNames.h" | 42 #include "EventNames.h" |
44 #include "EventPathWalker.h" | 43 #include "EventPathWalker.h" |
45 #include "ExceptionCodePlaceholder.h" | 44 #include "ExceptionCodePlaceholder.h" |
46 #include "FocusController.h" | 45 #include "FocusController.h" |
47 #include "Frame.h" | 46 #include "Frame.h" |
48 #include "FrameLoader.h" | 47 #include "FrameLoader.h" |
49 #include "FrameSelection.h" | 48 #include "FrameSelection.h" |
50 #include "FrameTree.h" | 49 #include "FrameTree.h" |
51 #include "FrameView.h" | 50 #include "FrameView.h" |
52 #include "HTMLFrameElementBase.h" | 51 #include "HTMLFrameElementBase.h" |
53 #include "HTMLFrameSetElement.h" | 52 #include "HTMLFrameSetElement.h" |
54 #include "HTMLInputElement.h" | 53 #include "HTMLInputElement.h" |
55 #include "HTMLNames.h" | 54 #include "HTMLNames.h" |
56 #include "HitTestRequest.h" | 55 #include "HitTestRequest.h" |
57 #include "HitTestResult.h" | 56 #include "HitTestResult.h" |
58 #include "InspectorInstrumentation.h" | 57 #include "InspectorInstrumentation.h" |
59 #include "KeyboardEvent.h" | 58 #include "KeyboardEvent.h" |
60 #include "MouseEvent.h" | 59 #include "MouseEvent.h" |
61 #include "MouseEventWithHitTestResults.h" | 60 #include "MouseEventWithHitTestResults.h" |
62 #include "NotImplemented.h" | |
63 #include "Page.h" | 61 #include "Page.h" |
64 #include "PlatformEvent.h" | |
65 #include "PlatformGestureEvent.h" | |
66 #include "PlatformKeyboardEvent.h" | |
67 #include "PlatformTouchEvent.h" | |
68 #include "PlatformWheelEvent.h" | |
69 #include "PluginDocument.h" | 62 #include "PluginDocument.h" |
70 #include "RenderFrameSet.h" | 63 #include "RenderFrameSet.h" |
71 #include "RenderLayer.h" | 64 #include "RenderLayer.h" |
72 #include "RenderTextControlSingleLine.h" | 65 #include "RenderTextControlSingleLine.h" |
73 #include "RenderView.h" | 66 #include "RenderView.h" |
74 #include "RenderWidget.h" | 67 #include "RenderWidget.h" |
75 #include "ScrollAnimator.h" | |
76 #include "Scrollbar.h" | |
77 #include "Settings.h" | 68 #include "Settings.h" |
78 #include "ShadowRoot.h" | 69 #include "ShadowRoot.h" |
79 #include "SpatialNavigation.h" | 70 #include "SpatialNavigation.h" |
80 #include "StaticHashSetNodeList.h" | 71 #include "StaticHashSetNodeList.h" |
81 #include "StyleCachedImage.h" | 72 #include "StyleCachedImage.h" |
82 #include "TextEvent.h" | 73 #include "TextEvent.h" |
83 #include "TextIterator.h" | 74 #include "TextIterator.h" |
84 #include "TouchAdjustment.h" | 75 #include "TouchAdjustment.h" |
85 #include "TouchEvent.h" | 76 #include "TouchEvent.h" |
86 #include "TouchList.h" | 77 #include "TouchList.h" |
87 #include "UserTypingGestureIndicator.h" | 78 #include "UserTypingGestureIndicator.h" |
88 #include "WheelEvent.h" | 79 #include "WheelEvent.h" |
89 #include "WindowsKeyboardCodes.h" | |
90 #include "core/accessibility/AXObjectCache.h" | 80 #include "core/accessibility/AXObjectCache.h" |
| 81 #include "core/platform/Cursor.h" |
| 82 #include "core/platform/NotImplemented.h" |
| 83 #include "core/platform/PlatformEvent.h" |
| 84 #include "core/platform/PlatformGestureEvent.h" |
| 85 #include "core/platform/PlatformKeyboardEvent.h" |
| 86 #include "core/platform/PlatformTouchEvent.h" |
| 87 #include "core/platform/PlatformWheelEvent.h" |
| 88 #include "core/platform/ScrollAnimator.h" |
| 89 #include "core/platform/Scrollbar.h" |
| 90 #include "core/platform/WindowsKeyboardCodes.h" |
91 #include "core/platform/chromium/ChromiumDataObject.h" | 91 #include "core/platform/chromium/ChromiumDataObject.h" |
92 #include "core/platform/chromium/ClipboardChromium.h" | 92 #include "core/platform/chromium/ClipboardChromium.h" |
93 #include "core/platform/graphics/FloatPoint.h" | 93 #include "core/platform/graphics/FloatPoint.h" |
94 #include "core/platform/graphics/FloatRect.h" | 94 #include "core/platform/graphics/FloatRect.h" |
95 #include "core/platform/graphics/Image.h" | 95 #include "core/platform/graphics/Image.h" |
96 #include "htmlediting.h" | 96 #include "htmlediting.h" |
97 #include <wtf/Assertions.h> | 97 #include <wtf/Assertions.h> |
98 #include <wtf/CurrentTime.h> | 98 #include <wtf/CurrentTime.h> |
99 #include <wtf/StdLibExtras.h> | 99 #include <wtf/StdLibExtras.h> |
100 #include <wtf/TemporaryChange.h> | 100 #include <wtf/TemporaryChange.h> |
(...skipping 3872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3973 unsigned EventHandler::accessKeyModifiers() | 3973 unsigned EventHandler::accessKeyModifiers() |
3974 { | 3974 { |
3975 #if OS(DARWIN) | 3975 #if OS(DARWIN) |
3976 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 3976 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
3977 #else | 3977 #else |
3978 return PlatformEvent::AltKey; | 3978 return PlatformEvent::AltKey; |
3979 #endif | 3979 #endif |
3980 } | 3980 } |
3981 | 3981 |
3982 } // namespace WebCore | 3982 } // namespace WebCore |
OLD | NEW |