OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "web/WebPluginContainerImpl.h" | 32 #include "web/WebPluginContainerImpl.h" |
33 | 33 |
34 #include "core/page/Chrome.h" | 34 #include "bindings/core/v8/ScriptController.h" |
35 #include "core/page/EventHandler.h" | |
36 #include "platform/exported/WrappedResourceResponse.h" | |
37 #include "public/web/WebElement.h" | |
38 #include "public/web/WebInputEvent.h" | |
39 #include "public/web/WebPlugin.h" | |
40 #include "public/web/WebViewClient.h" | |
41 #include "web/ChromeClientImpl.h" | |
42 #include "web/ScrollbarGroup.h" | |
43 #include "web/WebDataSourceImpl.h" | |
44 #include "web/WebInputEventConversion.h" | |
45 #include "web/WebViewImpl.h" | |
46 | |
47 #include "bindings/v8/ScriptController.h" | |
48 #include "core/HTMLNames.h" | 35 #include "core/HTMLNames.h" |
49 #include "core/clipboard/DataObject.h" | 36 #include "core/clipboard/DataObject.h" |
50 #include "core/clipboard/DataTransfer.h" | 37 #include "core/clipboard/DataTransfer.h" |
51 #include "core/events/GestureEvent.h" | 38 #include "core/events/GestureEvent.h" |
52 #include "core/events/KeyboardEvent.h" | 39 #include "core/events/KeyboardEvent.h" |
53 #include "core/events/MouseEvent.h" | 40 #include "core/events/MouseEvent.h" |
54 #include "core/events/TouchEvent.h" | 41 #include "core/events/TouchEvent.h" |
55 #include "core/events/WheelEvent.h" | 42 #include "core/events/WheelEvent.h" |
56 #include "core/frame/FrameView.h" | 43 #include "core/frame/FrameView.h" |
57 #include "core/frame/LocalFrame.h" | 44 #include "core/frame/LocalFrame.h" |
58 #include "core/html/HTMLFormElement.h" | 45 #include "core/html/HTMLFormElement.h" |
59 #include "core/html/HTMLPlugInElement.h" | 46 #include "core/html/HTMLPlugInElement.h" |
60 #include "core/loader/FormState.h" | 47 #include "core/loader/FormState.h" |
61 #include "core/loader/FrameLoadRequest.h" | 48 #include "core/loader/FrameLoadRequest.h" |
| 49 #include "core/page/Chrome.h" |
| 50 #include "core/page/EventHandler.h" |
62 #include "core/page/FocusController.h" | 51 #include "core/page/FocusController.h" |
63 #include "core/page/Page.h" | 52 #include "core/page/Page.h" |
64 #include "core/page/scrolling/ScrollingCoordinator.h" | 53 #include "core/page/scrolling/ScrollingCoordinator.h" |
65 #include "core/plugins/PluginOcclusionSupport.h" | 54 #include "core/plugins/PluginOcclusionSupport.h" |
66 #include "core/rendering/HitTestResult.h" | 55 #include "core/rendering/HitTestResult.h" |
67 #include "core/rendering/RenderBox.h" | 56 #include "core/rendering/RenderBox.h" |
68 #include "core/rendering/RenderLayer.h" | 57 #include "core/rendering/RenderLayer.h" |
69 #include "platform/HostWindow.h" | 58 #include "platform/HostWindow.h" |
70 #include "platform/KeyboardCodes.h" | 59 #include "platform/KeyboardCodes.h" |
71 #include "platform/PlatformGestureEvent.h" | 60 #include "platform/PlatformGestureEvent.h" |
72 #include "platform/UserGestureIndicator.h" | 61 #include "platform/UserGestureIndicator.h" |
| 62 #include "platform/exported/WrappedResourceResponse.h" |
73 #include "platform/graphics/GraphicsContext.h" | 63 #include "platform/graphics/GraphicsContext.h" |
74 #include "platform/graphics/GraphicsLayer.h" | 64 #include "platform/graphics/GraphicsLayer.h" |
75 #include "platform/scroll/ScrollAnimator.h" | 65 #include "platform/scroll/ScrollAnimator.h" |
76 #include "platform/scroll/ScrollView.h" | 66 #include "platform/scroll/ScrollView.h" |
77 #include "platform/scroll/ScrollbarTheme.h" | 67 #include "platform/scroll/ScrollbarTheme.h" |
78 #include "public/platform/Platform.h" | 68 #include "public/platform/Platform.h" |
79 #include "public/platform/WebClipboard.h" | 69 #include "public/platform/WebClipboard.h" |
80 #include "public/platform/WebCompositorSupport.h" | 70 #include "public/platform/WebCompositorSupport.h" |
81 #include "public/platform/WebCursorInfo.h" | 71 #include "public/platform/WebCursorInfo.h" |
82 #include "public/platform/WebDragData.h" | 72 #include "public/platform/WebDragData.h" |
83 #include "public/platform/WebExternalTextureLayer.h" | 73 #include "public/platform/WebExternalTextureLayer.h" |
84 #include "public/platform/WebRect.h" | 74 #include "public/platform/WebRect.h" |
85 #include "public/platform/WebString.h" | 75 #include "public/platform/WebString.h" |
86 #include "public/platform/WebURL.h" | 76 #include "public/platform/WebURL.h" |
87 #include "public/platform/WebURLError.h" | 77 #include "public/platform/WebURLError.h" |
88 #include "public/platform/WebURLRequest.h" | 78 #include "public/platform/WebURLRequest.h" |
89 #include "public/platform/WebVector.h" | 79 #include "public/platform/WebVector.h" |
| 80 #include "public/web/WebElement.h" |
| 81 #include "public/web/WebInputEvent.h" |
| 82 #include "public/web/WebPlugin.h" |
90 #include "public/web/WebPrintParams.h" | 83 #include "public/web/WebPrintParams.h" |
| 84 #include "public/web/WebViewClient.h" |
| 85 #include "web/ChromeClientImpl.h" |
| 86 #include "web/ScrollbarGroup.h" |
| 87 #include "web/WebDataSourceImpl.h" |
| 88 #include "web/WebInputEventConversion.h" |
| 89 #include "web/WebViewImpl.h" |
| 90 |
91 | 91 |
92 using namespace WebCore; | 92 using namespace WebCore; |
93 | 93 |
94 namespace blink { | 94 namespace blink { |
95 | 95 |
96 // Public methods -------------------------------------------------------------- | 96 // Public methods -------------------------------------------------------------- |
97 | 97 |
98 void WebPluginContainerImpl::setFrameRect(const IntRect& frameRect) | 98 void WebPluginContainerImpl::setFrameRect(const IntRect& frameRect) |
99 { | 99 { |
100 Widget::setFrameRect(frameRect); | 100 Widget::setFrameRect(frameRect); |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 | 938 |
939 return clipRect; | 939 return clipRect; |
940 } | 940 } |
941 | 941 |
942 bool WebPluginContainerImpl::pluginShouldPersist() const | 942 bool WebPluginContainerImpl::pluginShouldPersist() const |
943 { | 943 { |
944 return m_webPlugin->shouldPersist(); | 944 return m_webPlugin->shouldPersist(); |
945 } | 945 } |
946 | 946 |
947 } // namespace blink | 947 } // namespace blink |
OLD | NEW |