| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "core/layout/LayoutView.h" | 62 #include "core/layout/LayoutView.h" |
| 63 #include "core/layout/api/LayoutPartItem.h" | 63 #include "core/layout/api/LayoutPartItem.h" |
| 64 #include "core/layout/api/LayoutViewItem.h" | 64 #include "core/layout/api/LayoutViewItem.h" |
| 65 #include "core/loader/FrameLoadRequest.h" | 65 #include "core/loader/FrameLoadRequest.h" |
| 66 #include "core/page/FocusController.h" | 66 #include "core/page/FocusController.h" |
| 67 #include "core/page/Page.h" | 67 #include "core/page/Page.h" |
| 68 #include "core/page/scrolling/ScrollingCoordinator.h" | 68 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 69 #include "core/paint/LayoutObjectDrawingRecorder.h" | 69 #include "core/paint/LayoutObjectDrawingRecorder.h" |
| 70 #include "core/paint/PaintLayer.h" | 70 #include "core/paint/PaintLayer.h" |
| 71 #include "modules/plugins/PluginOcclusionSupport.h" | 71 #include "modules/plugins/PluginOcclusionSupport.h" |
| 72 #include "platform/HostWindow.h" | |
| 73 #include "platform/KeyboardCodes.h" | 72 #include "platform/KeyboardCodes.h" |
| 74 #include "platform/RuntimeEnabledFeatures.h" | 73 #include "platform/RuntimeEnabledFeatures.h" |
| 75 #include "platform/UserGestureIndicator.h" | 74 #include "platform/UserGestureIndicator.h" |
| 76 #include "platform/exported/WrappedResourceResponse.h" | 75 #include "platform/exported/WrappedResourceResponse.h" |
| 77 #include "platform/geometry/LayoutRect.h" | 76 #include "platform/geometry/LayoutRect.h" |
| 78 #include "platform/graphics/GraphicsContext.h" | 77 #include "platform/graphics/GraphicsContext.h" |
| 79 #include "platform/graphics/GraphicsLayer.h" | 78 #include "platform/graphics/GraphicsLayer.h" |
| 80 #include "platform/graphics/paint/CullRect.h" | 79 #include "platform/graphics/paint/CullRect.h" |
| 81 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" | 80 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" |
| 82 #include "platform/scroll/ScrollAnimatorBase.h" | 81 #include "platform/scroll/ScrollAnimatorBase.h" |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, | 1003 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, |
| 1005 unobscured_rect); | 1004 unobscured_rect); |
| 1006 } | 1005 } |
| 1007 GetPluginOcclusions(element_, parent_, frame_rect_, cut_out_rects); | 1006 GetPluginOcclusions(element_, parent_, frame_rect_, cut_out_rects); |
| 1008 // Convert to the plugin position. | 1007 // Convert to the plugin position. |
| 1009 for (size_t i = 0; i < cut_out_rects.size(); i++) | 1008 for (size_t i = 0; i < cut_out_rects.size(); i++) |
| 1010 cut_out_rects[i].Move(-frame_rect_.X(), -frame_rect_.Y()); | 1009 cut_out_rects[i].Move(-frame_rect_.X(), -frame_rect_.Y()); |
| 1011 } | 1010 } |
| 1012 | 1011 |
| 1013 } // namespace blink | 1012 } // namespace blink |
| OLD | NEW |