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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "core/input/EventHandler.h" | 29 #include "core/input/EventHandler.h" |
30 | 30 |
31 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 31 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
32 #include "core/HTMLNames.h" | 32 #include "core/HTMLNames.h" |
33 #include "core/InputTypeNames.h" | 33 #include "core/InputTypeNames.h" |
34 #include "core/clipboard/DataObject.h" | 34 #include "core/clipboard/DataObject.h" |
35 #include "core/clipboard/DataTransfer.h" | 35 #include "core/clipboard/DataTransfer.h" |
36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/ImageResource.h" |
37 #include "core/dom/TouchList.h" | 38 #include "core/dom/TouchList.h" |
38 #include "core/dom/shadow/ComposedTreeTraversal.h" | 39 #include "core/dom/shadow/ComposedTreeTraversal.h" |
39 #include "core/dom/shadow/ShadowRoot.h" | 40 #include "core/dom/shadow/ShadowRoot.h" |
40 #include "core/editing/Editor.h" | 41 #include "core/editing/Editor.h" |
41 #include "core/editing/FrameSelection.h" | 42 #include "core/editing/FrameSelection.h" |
42 #include "core/editing/SelectionController.h" | 43 #include "core/editing/SelectionController.h" |
43 #include "core/events/EventPath.h" | 44 #include "core/events/EventPath.h" |
44 #include "core/events/KeyboardEvent.h" | 45 #include "core/events/KeyboardEvent.h" |
45 #include "core/events/MouseEvent.h" | 46 #include "core/events/MouseEvent.h" |
46 #include "core/events/PointerEvent.h" | 47 #include "core/events/PointerEvent.h" |
47 #include "core/events/TextEvent.h" | 48 #include "core/events/TextEvent.h" |
48 #include "core/events/TouchEvent.h" | 49 #include "core/events/TouchEvent.h" |
49 #include "core/events/WheelEvent.h" | 50 #include "core/events/WheelEvent.h" |
50 #include "core/fetch/ImageResource.h" | |
51 #include "core/frame/EventHandlerRegistry.h" | 51 #include "core/frame/EventHandlerRegistry.h" |
52 #include "core/frame/FrameHost.h" | 52 #include "core/frame/FrameHost.h" |
53 #include "core/frame/FrameView.h" | 53 #include "core/frame/FrameView.h" |
54 #include "core/frame/LocalFrame.h" | 54 #include "core/frame/LocalFrame.h" |
55 #include "core/frame/PinchViewport.h" | 55 #include "core/frame/PinchViewport.h" |
56 #include "core/frame/Settings.h" | 56 #include "core/frame/Settings.h" |
57 #include "core/html/HTMLDialogElement.h" | 57 #include "core/html/HTMLDialogElement.h" |
58 #include "core/html/HTMLFrameElementBase.h" | 58 #include "core/html/HTMLFrameElementBase.h" |
59 #include "core/html/HTMLFrameSetElement.h" | 59 #include "core/html/HTMLFrameSetElement.h" |
60 #include "core/html/HTMLInputElement.h" | 60 #include "core/html/HTMLInputElement.h" |
(...skipping 3829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3890 unsigned EventHandler::accessKeyModifiers() | 3890 unsigned EventHandler::accessKeyModifiers() |
3891 { | 3891 { |
3892 #if OS(MACOSX) | 3892 #if OS(MACOSX) |
3893 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 3893 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
3894 #else | 3894 #else |
3895 return PlatformEvent::AltKey; | 3895 return PlatformEvent::AltKey; |
3896 #endif | 3896 #endif |
3897 } | 3897 } |
3898 | 3898 |
3899 } // namespace blink | 3899 } // namespace blink |
OLD | NEW |