| 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 15 matching lines...) Expand all Loading... |
| 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #include "web/WebPluginContainerImpl.h" | 32 #include "web/WebPluginContainerImpl.h" |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptController.h" | 34 #include "bindings/core/v8/ScriptController.h" |
| 35 #include "bindings/core/v8/ScriptSourceCode.h" | 35 #include "bindings/core/v8/ScriptSourceCode.h" |
| 36 #include "bindings/core/v8/V8Binding.h" | 36 #include "bindings/core/v8/V8BindingForCore.h" |
| 37 #include "bindings/core/v8/V8Element.h" | 37 #include "bindings/core/v8/V8Element.h" |
| 38 #include "core/HTMLNames.h" | 38 #include "core/HTMLNames.h" |
| 39 #include "core/clipboard/DataObject.h" | 39 #include "core/clipboard/DataObject.h" |
| 40 #include "core/clipboard/DataTransfer.h" | 40 #include "core/clipboard/DataTransfer.h" |
| 41 #include "core/dom/DocumentUserGestureToken.h" | 41 #include "core/dom/DocumentUserGestureToken.h" |
| 42 #include "core/dom/ExecutionContext.h" | 42 #include "core/dom/ExecutionContext.h" |
| 43 #include "core/dom/Fullscreen.h" | 43 #include "core/dom/Fullscreen.h" |
| 44 #include "core/events/DragEvent.h" | 44 #include "core/events/DragEvent.h" |
| 45 #include "core/events/EventQueue.h" | 45 #include "core/events/EventQueue.h" |
| 46 #include "core/events/GestureEvent.h" | 46 #include "core/events/GestureEvent.h" |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1003 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, | 1003 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, |
| 1004 unobscured_rect); | 1004 unobscured_rect); |
| 1005 } | 1005 } |
| 1006 GetPluginOcclusions(element_, parent_, frame_rect_, cut_out_rects); | 1006 GetPluginOcclusions(element_, parent_, frame_rect_, cut_out_rects); |
| 1007 // Convert to the plugin position. | 1007 // Convert to the plugin position. |
| 1008 for (size_t i = 0; i < cut_out_rects.size(); i++) | 1008 for (size_t i = 0; i < cut_out_rects.size(); i++) |
| 1009 cut_out_rects[i].Move(-frame_rect_.X(), -frame_rect_.Y()); | 1009 cut_out_rects[i].Move(-frame_rect_.X(), -frame_rect_.Y()); |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 } // namespace blink | 1012 } // namespace blink |
| OLD | NEW |