OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
5 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) | 5 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "core/editing/FrameSelection.h" | 44 #include "core/editing/FrameSelection.h" |
45 #include "core/editing/SelectionController.h" | 45 #include "core/editing/SelectionController.h" |
46 #include "core/events/EventPath.h" | 46 #include "core/events/EventPath.h" |
47 #include "core/events/GestureEvent.h" | 47 #include "core/events/GestureEvent.h" |
48 #include "core/events/KeyboardEvent.h" | 48 #include "core/events/KeyboardEvent.h" |
49 #include "core/events/MouseEvent.h" | 49 #include "core/events/MouseEvent.h" |
50 #include "core/events/PointerEvent.h" | 50 #include "core/events/PointerEvent.h" |
51 #include "core/events/TextEvent.h" | 51 #include "core/events/TextEvent.h" |
52 #include "core/events/TouchEvent.h" | 52 #include "core/events/TouchEvent.h" |
53 #include "core/events/WheelEvent.h" | 53 #include "core/events/WheelEvent.h" |
54 #include "core/fetch/ImageResourceContent.h" | |
55 #include "core/frame/Deprecation.h" | 54 #include "core/frame/Deprecation.h" |
56 #include "core/frame/EventHandlerRegistry.h" | 55 #include "core/frame/EventHandlerRegistry.h" |
57 #include "core/frame/FrameHost.h" | 56 #include "core/frame/FrameHost.h" |
58 #include "core/frame/FrameView.h" | 57 #include "core/frame/FrameView.h" |
59 #include "core/frame/LocalFrame.h" | 58 #include "core/frame/LocalFrame.h" |
60 #include "core/frame/Settings.h" | 59 #include "core/frame/Settings.h" |
61 #include "core/frame/UseCounter.h" | 60 #include "core/frame/UseCounter.h" |
62 #include "core/frame/VisualViewport.h" | 61 #include "core/frame/VisualViewport.h" |
63 #include "core/html/HTMLDialogElement.h" | 62 #include "core/html/HTMLDialogElement.h" |
64 #include "core/html/HTMLFrameElementBase.h" | 63 #include "core/html/HTMLFrameElementBase.h" |
65 #include "core/html/HTMLFrameSetElement.h" | 64 #include "core/html/HTMLFrameSetElement.h" |
66 #include "core/html/HTMLInputElement.h" | 65 #include "core/html/HTMLInputElement.h" |
67 #include "core/input/EventHandlingUtil.h" | 66 #include "core/input/EventHandlingUtil.h" |
68 #include "core/input/InputDeviceCapabilities.h" | 67 #include "core/input/InputDeviceCapabilities.h" |
69 #include "core/input/TouchActionUtil.h" | 68 #include "core/input/TouchActionUtil.h" |
70 #include "core/layout/HitTestRequest.h" | 69 #include "core/layout/HitTestRequest.h" |
71 #include "core/layout/HitTestResult.h" | 70 #include "core/layout/HitTestResult.h" |
72 #include "core/layout/LayoutPart.h" | 71 #include "core/layout/LayoutPart.h" |
73 #include "core/layout/LayoutView.h" | 72 #include "core/layout/LayoutView.h" |
74 #include "core/layout/api/LayoutViewItem.h" | 73 #include "core/layout/api/LayoutViewItem.h" |
75 #include "core/loader/DocumentLoader.h" | 74 #include "core/loader/DocumentLoader.h" |
76 #include "core/loader/FrameLoader.h" | 75 #include "core/loader/FrameLoader.h" |
77 #include "core/loader/FrameLoaderClient.h" | 76 #include "core/loader/FrameLoaderClient.h" |
| 77 #include "core/loader/resource/ImageResourceContent.h" |
78 #include "core/page/AutoscrollController.h" | 78 #include "core/page/AutoscrollController.h" |
79 #include "core/page/ChromeClient.h" | 79 #include "core/page/ChromeClient.h" |
80 #include "core/page/DragState.h" | 80 #include "core/page/DragState.h" |
81 #include "core/page/FocusController.h" | 81 #include "core/page/FocusController.h" |
82 #include "core/page/FrameTree.h" | 82 #include "core/page/FrameTree.h" |
83 #include "core/page/Page.h" | 83 #include "core/page/Page.h" |
84 #include "core/page/TouchAdjustment.h" | 84 #include "core/page/TouchAdjustment.h" |
85 #include "core/page/scrolling/ScrollState.h" | 85 #include "core/page/scrolling/ScrollState.h" |
86 #include "core/paint/PaintLayer.h" | 86 #include "core/paint/PaintLayer.h" |
87 #include "core/style/ComputedStyle.h" | 87 #include "core/style/ComputedStyle.h" |
(...skipping 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2128 } | 2128 } |
2129 | 2129 |
2130 FrameHost* EventHandler::frameHost() const { | 2130 FrameHost* EventHandler::frameHost() const { |
2131 if (!m_frame->page()) | 2131 if (!m_frame->page()) |
2132 return nullptr; | 2132 return nullptr; |
2133 | 2133 |
2134 return &m_frame->page()->frameHost(); | 2134 return &m_frame->page()->frameHost(); |
2135 } | 2135 } |
2136 | 2136 |
2137 } // namespace blink | 2137 } // namespace blink |
OLD | NEW |