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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" | |
60 #include "IFrameShimSupport.h" | 59 #include "IFrameShimSupport.h" |
61 #include "KeyboardEvent.h" | 60 #include "KeyboardEvent.h" |
62 #include "MouseEvent.h" | 61 #include "MouseEvent.h" |
63 #include "Page.h" | 62 #include "Page.h" |
64 #include "PlatformGestureEvent.h" | |
65 #include "RenderBox.h" | 63 #include "RenderBox.h" |
66 #include "ScriptController.h" | 64 #include "ScriptController.h" |
67 #include "ScrollAnimator.h" | |
68 #include "ScrollView.h" | |
69 #include "ScrollbarTheme.h" | |
70 #include "ScrollingCoordinator.h" | 65 #include "ScrollingCoordinator.h" |
71 #include "TouchEvent.h" | 66 #include "TouchEvent.h" |
72 #include "UserGestureIndicator.h" | 67 #include "UserGestureIndicator.h" |
73 #include "WebPrintParams.h" | 68 #include "WebPrintParams.h" |
74 #include "WheelEvent.h" | 69 #include "WheelEvent.h" |
| 70 #include "core/platform/HostWindow.h" |
| 71 #include "core/platform/PlatformGestureEvent.h" |
| 72 #include "core/platform/ScrollAnimator.h" |
| 73 #include "core/platform/ScrollView.h" |
| 74 #include "core/platform/ScrollbarTheme.h" |
75 #include "core/platform/chromium/KeyboardCodes.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> |
(...skipping 765 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 |