OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 21 matching lines...) Expand all Loading... |
32 #include "IFrameShimSupport.h" | 32 #include "IFrameShimSupport.h" |
33 | 33 |
34 #include "Element.h" | 34 #include "Element.h" |
35 #include "Frame.h" | 35 #include "Frame.h" |
36 #include "FrameView.h" | 36 #include "FrameView.h" |
37 #include "HTMLElement.h" | 37 #include "HTMLElement.h" |
38 #include "HTMLFrameOwnerElement.h" | 38 #include "HTMLFrameOwnerElement.h" |
39 #include "HTMLNames.h" | 39 #include "HTMLNames.h" |
40 #include "RenderBox.h" | 40 #include "RenderBox.h" |
41 #include "RenderObject.h" | 41 #include "RenderObject.h" |
42 #include "Widget.h" | 42 #include "core/platform/Widget.h" |
43 | 43 |
44 #include <wtf/HashSet.h> | 44 #include <wtf/HashSet.h> |
45 | 45 |
46 // This file provides plugin-related utility functions for iframe shims and is s
hared by platforms that inherit | 46 // This file provides plugin-related utility functions for iframe shims and is s
hared by platforms that inherit |
47 // from PluginView (e.g. Qt) and those that do not (e.g. Chromium). | 47 // from PluginView (e.g. Qt) and those that do not (e.g. Chromium). |
48 | 48 |
49 namespace WebCore { | 49 namespace WebCore { |
50 | 50 |
51 static void getObjectStack(const RenderObject* ro, Vector<const RenderObject*>*
roStack) | 51 static void getObjectStack(const RenderObject* ro, Vector<const RenderObject*>*
roStack) |
52 { | 52 { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 IntPoint point = roundedIntPoint(iframeRenderer->localToAbsolute
()); | 159 IntPoint point = roundedIntPoint(iframeRenderer->localToAbsolute
()); |
160 RenderBox* rbox = toRenderBox(iframeRenderer); | 160 RenderBox* rbox = toRenderBox(iframeRenderer); |
161 IntSize size(rbox->width(), rbox->height()); | 161 IntSize size(rbox->width(), rbox->height()); |
162 occlusions.append(IntRect(point, size)); | 162 occlusions.append(IntRect(point, size)); |
163 } | 163 } |
164 } | 164 } |
165 } | 165 } |
166 } | 166 } |
167 | 167 |
168 } // namespace WebCore | 168 } // namespace WebCore |
OLD | NEW |