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 27 matching lines...) Expand all Loading... |
38 #include "WebElement.h" | 38 #include "WebElement.h" |
39 #include "WebInputEvent.h" | 39 #include "WebInputEvent.h" |
40 #include "WebInputEventConversion.h" | 40 #include "WebInputEventConversion.h" |
41 #include "WebPlugin.h" | 41 #include "WebPlugin.h" |
42 #include "WebViewImpl.h" | 42 #include "WebViewImpl.h" |
43 #include "core/page/Chrome.h" | 43 #include "core/page/Chrome.h" |
44 #include "core/page/EventHandler.h" | 44 #include "core/page/EventHandler.h" |
45 #include "core/platform/chromium/ClipboardChromium.h" | 45 #include "core/platform/chromium/ClipboardChromium.h" |
46 #include "core/platform/chromium/support/WrappedResourceResponse.h" | 46 #include "core/platform/chromium/support/WrappedResourceResponse.h" |
47 | 47 |
48 #include "EventNames.h" | |
49 #include "GestureEvent.h" | |
50 #include "HTMLFormElement.h" | 48 #include "HTMLFormElement.h" |
51 #include "HTMLNames.h" | 49 #include "HTMLNames.h" |
52 #include "HTMLPlugInElement.h" | 50 #include "HTMLPlugInElement.h" |
53 #include "IFrameShimSupport.h" | 51 #include "IFrameShimSupport.h" |
54 #include "KeyboardEvent.h" | |
55 #include "MouseEvent.h" | |
56 #include "ScriptController.h" | 52 #include "ScriptController.h" |
57 #include "TouchEvent.h" | |
58 #include "UserGestureIndicator.h" | |
59 #include "WebPrintParams.h" | 53 #include "WebPrintParams.h" |
60 #include "WheelEvent.h" | 54 #include "core/dom/EventNames.h" |
| 55 #include "core/dom/GestureEvent.h" |
| 56 #include "core/dom/KeyboardEvent.h" |
| 57 #include "core/dom/MouseEvent.h" |
| 58 #include "core/dom/TouchEvent.h" |
| 59 #include "core/dom/UserGestureIndicator.h" |
| 60 #include "core/dom/WheelEvent.h" |
61 #include "core/loader/FormState.h" | 61 #include "core/loader/FormState.h" |
62 #include "core/loader/FrameLoadRequest.h" | 62 #include "core/loader/FrameLoadRequest.h" |
63 #include "core/page/FocusController.h" | 63 #include "core/page/FocusController.h" |
64 #include "core/page/Frame.h" | 64 #include "core/page/Frame.h" |
65 #include "core/page/FrameView.h" | 65 #include "core/page/FrameView.h" |
66 #include "core/page/Page.h" | 66 #include "core/page/Page.h" |
67 #include "core/page/scrolling/ScrollingCoordinator.h" | 67 #include "core/page/scrolling/ScrollingCoordinator.h" |
68 #include "core/platform/HostWindow.h" | 68 #include "core/platform/HostWindow.h" |
69 #include "core/platform/PlatformGestureEvent.h" | 69 #include "core/platform/PlatformGestureEvent.h" |
70 #include "core/platform/ScrollAnimator.h" | 70 #include "core/platform/ScrollAnimator.h" |
(...skipping 779 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 |