OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "core/frame/EventHandlerRegistry.h" | 51 #include "core/frame/EventHandlerRegistry.h" |
52 #include "core/frame/FrameView.h" | 52 #include "core/frame/FrameView.h" |
53 #include "core/frame/LocalFrame.h" | 53 #include "core/frame/LocalFrame.h" |
54 #include "core/frame/csp/ContentSecurityPolicy.h" | 54 #include "core/frame/csp/ContentSecurityPolicy.h" |
55 #include "core/html/HTMLFormElement.h" | 55 #include "core/html/HTMLFormElement.h" |
56 #include "core/html/HTMLPlugInElement.h" | 56 #include "core/html/HTMLPlugInElement.h" |
57 #include "core/input/EventHandler.h" | 57 #include "core/input/EventHandler.h" |
58 #include "core/layout/HitTestResult.h" | 58 #include "core/layout/HitTestResult.h" |
59 #include "core/layout/LayoutBox.h" | 59 #include "core/layout/LayoutBox.h" |
60 #include "core/layout/LayoutView.h" | 60 #include "core/layout/LayoutView.h" |
| 61 #include "core/layout/api/LayoutPartItem.h" |
| 62 #include "core/layout/api/LayoutViewItem.h" |
61 #include "core/loader/FrameLoadRequest.h" | 63 #include "core/loader/FrameLoadRequest.h" |
62 #include "core/page/FocusController.h" | 64 #include "core/page/FocusController.h" |
63 #include "core/page/Page.h" | 65 #include "core/page/Page.h" |
64 #include "core/page/scrolling/ScrollingCoordinator.h" | 66 #include "core/page/scrolling/ScrollingCoordinator.h" |
65 #include "core/paint/LayoutObjectDrawingRecorder.h" | 67 #include "core/paint/LayoutObjectDrawingRecorder.h" |
66 #include "core/paint/PaintLayer.h" | 68 #include "core/paint/PaintLayer.h" |
67 #include "modules/plugins/PluginOcclusionSupport.h" | 69 #include "modules/plugins/PluginOcclusionSupport.h" |
68 #include "platform/HostWindow.h" | 70 #include "platform/HostWindow.h" |
69 #include "platform/KeyboardCodes.h" | 71 #include "platform/KeyboardCodes.h" |
70 #include "platform/PlatformGestureEvent.h" | 72 #include "platform/PlatformGestureEvent.h" |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 // frame view. | 939 // frame view. |
938 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec
t); | 940 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec
t); |
939 } | 941 } |
940 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); | 942 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); |
941 // Convert to the plugin position. | 943 // Convert to the plugin position. |
942 for (size_t i = 0; i < cutOutRects.size(); i++) | 944 for (size_t i = 0; i < cutOutRects.size(); i++) |
943 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); | 945 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); |
944 } | 946 } |
945 | 947 |
946 } // namespace blink | 948 } // namespace blink |
OLD | NEW |