| 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 15 matching lines...) Expand all Loading... |
| 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 "WebPluginContainerImpl.h" | 32 #include "WebPluginContainerImpl.h" |
| 33 | 33 |
| 34 #include "Chrome.h" | 34 #include "Chrome.h" |
| 35 #include "ChromeClientImpl.h" | 35 #include "ChromeClientImpl.h" |
| 36 #include "ClipboardChromium.h" | |
| 37 #include "EventHandler.h" | 36 #include "EventHandler.h" |
| 38 #include "ScrollbarGroup.h" | 37 #include "ScrollbarGroup.h" |
| 39 #include "WebCursorInfo.h" | 38 #include "WebCursorInfo.h" |
| 40 #include "WebDataSourceImpl.h" | 39 #include "WebDataSourceImpl.h" |
| 41 #include "WebElement.h" | 40 #include "WebElement.h" |
| 42 #include "WebInputEvent.h" | 41 #include "WebInputEvent.h" |
| 43 #include "WebInputEventConversion.h" | 42 #include "WebInputEventConversion.h" |
| 44 #include "WebPlugin.h" | 43 #include "WebPlugin.h" |
| 45 #include "WebViewImpl.h" | 44 #include "WebViewImpl.h" |
| 46 #include "WrappedResourceResponse.h" | 45 #include "core/platform/chromium/ClipboardChromium.h" |
| 46 #include "core/platform/chromium/support/WrappedResourceResponse.h" |
| 47 | 47 |
| 48 #include "EventNames.h" | 48 #include "EventNames.h" |
| 49 #include "FocusController.h" | 49 #include "FocusController.h" |
| 50 #include "FormState.h" | 50 #include "FormState.h" |
| 51 #include "Frame.h" | 51 #include "Frame.h" |
| 52 #include "FrameLoadRequest.h" | 52 #include "FrameLoadRequest.h" |
| 53 #include "FrameView.h" | 53 #include "FrameView.h" |
| 54 #include "GestureEvent.h" | 54 #include "GestureEvent.h" |
| 55 #include "HTMLFormElement.h" | 55 #include "HTMLFormElement.h" |
| 56 #include "HTMLNames.h" | 56 #include "HTMLNames.h" |
| 57 #include "HTMLPlugInElement.h" | 57 #include "HTMLPlugInElement.h" |
| 58 #include "HitTestResult.h" | 58 #include "HitTestResult.h" |
| 59 #include "HostWindow.h" | 59 #include "HostWindow.h" |
| 60 #include "IFrameShimSupport.h" | 60 #include "IFrameShimSupport.h" |
| 61 #include "KeyboardCodes.h" | |
| 62 #include "KeyboardEvent.h" | 61 #include "KeyboardEvent.h" |
| 63 #include "MouseEvent.h" | 62 #include "MouseEvent.h" |
| 64 #include "Page.h" | 63 #include "Page.h" |
| 65 #include "PlatformGestureEvent.h" | 64 #include "PlatformGestureEvent.h" |
| 66 #include "RenderBox.h" | 65 #include "RenderBox.h" |
| 67 #include "ScriptController.h" | 66 #include "ScriptController.h" |
| 68 #include "ScrollAnimator.h" | 67 #include "ScrollAnimator.h" |
| 69 #include "ScrollView.h" | 68 #include "ScrollView.h" |
| 70 #include "ScrollbarTheme.h" | 69 #include "ScrollbarTheme.h" |
| 71 #include "ScrollingCoordinator.h" | 70 #include "ScrollingCoordinator.h" |
| 72 #include "TouchEvent.h" | 71 #include "TouchEvent.h" |
| 73 #include "UserGestureIndicator.h" | 72 #include "UserGestureIndicator.h" |
| 74 #include "WebPrintParams.h" | 73 #include "WebPrintParams.h" |
| 75 #include "WheelEvent.h" | 74 #include "WheelEvent.h" |
| 75 #include "core/platform/chromium/KeyboardCodes.h" |
| 76 #include "core/platform/graphics/GraphicsContext.h" | 76 #include "core/platform/graphics/GraphicsContext.h" |
| 77 #include "core/platform/graphics/chromium/GraphicsLayerChromium.h" | 77 #include "core/platform/graphics/chromium/GraphicsLayerChromium.h" |
| 78 #include <public/Platform.h> | 78 #include <public/Platform.h> |
| 79 #include <public/WebClipboard.h> | 79 #include <public/WebClipboard.h> |
| 80 #include <public/WebCompositorSupport.h> | 80 #include <public/WebCompositorSupport.h> |
| 81 #include <public/WebDragData.h> | 81 #include <public/WebDragData.h> |
| 82 #include <public/WebExternalTextureLayer.h> | 82 #include <public/WebExternalTextureLayer.h> |
| 83 #include <public/WebRect.h> | 83 #include <public/WebRect.h> |
| 84 #include <public/WebString.h> | 84 #include <public/WebString.h> |
| 85 #include <public/WebURL.h> | 85 #include <public/WebURL.h> |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 // Take our element and get the clip rect from the enclosing layer and | 850 // Take our element and get the clip rect from the enclosing layer and |
| 851 // frame view. | 851 // frame view. |
| 852 clipRect.intersect( | 852 clipRect.intersect( |
| 853 m_element->document()->view()->windowClipRectForFrameOwner(m_element
, true)); | 853 m_element->document()->view()->windowClipRectForFrameOwner(m_element
, true)); |
| 854 } | 854 } |
| 855 | 855 |
| 856 return clipRect; | 856 return clipRect; |
| 857 } | 857 } |
| 858 | 858 |
| 859 } // namespace WebKit | 859 } // namespace WebKit |
| OLD | NEW |