| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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" |
| 47 #include "core/events/KeyboardEvent.h" | 47 #include "core/events/KeyboardEvent.h" |
| 48 #include "core/events/MouseEvent.h" | 48 #include "core/events/MouseEvent.h" |
| 49 #include "core/events/ProgressEvent.h" | 49 #include "core/events/ProgressEvent.h" |
| 50 #include "core/events/ResourceProgressEvent.h" | 50 #include "core/events/ResourceProgressEvent.h" |
| 51 #include "core/events/TouchEvent.h" | 51 #include "core/events/TouchEvent.h" |
| 52 #include "core/events/WebInputEventConversion.h" |
| 52 #include "core/events/WheelEvent.h" | 53 #include "core/events/WheelEvent.h" |
| 53 #include "core/exported/WebDataSourceImpl.h" | 54 #include "core/exported/WebDataSourceImpl.h" |
| 54 #include "core/exported/WebViewBase.h" | 55 #include "core/exported/WebViewBase.h" |
| 55 #include "core/frame/EventHandlerRegistry.h" | 56 #include "core/frame/EventHandlerRegistry.h" |
| 56 #include "core/frame/FrameView.h" | 57 #include "core/frame/FrameView.h" |
| 57 #include "core/frame/LocalFrame.h" | 58 #include "core/frame/LocalFrame.h" |
| 58 #include "core/frame/WebLocalFrameBase.h" | 59 #include "core/frame/WebLocalFrameBase.h" |
| 59 #include "core/frame/csp/ContentSecurityPolicy.h" | 60 #include "core/frame/csp/ContentSecurityPolicy.h" |
| 60 #include "core/html/HTMLFormElement.h" | 61 #include "core/html/HTMLFormElement.h" |
| 61 #include "core/html/HTMLPlugInElement.h" | 62 #include "core/html/HTMLPlugInElement.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 #include "public/platform/WebURLRequest.h" | 98 #include "public/platform/WebURLRequest.h" |
| 98 #include "public/web/WebDOMMessageEvent.h" | 99 #include "public/web/WebDOMMessageEvent.h" |
| 99 #include "public/web/WebDocument.h" | 100 #include "public/web/WebDocument.h" |
| 100 #include "public/web/WebElement.h" | 101 #include "public/web/WebElement.h" |
| 101 #include "public/web/WebFrameClient.h" | 102 #include "public/web/WebFrameClient.h" |
| 102 #include "public/web/WebPlugin.h" | 103 #include "public/web/WebPlugin.h" |
| 103 #include "public/web/WebPrintParams.h" | 104 #include "public/web/WebPrintParams.h" |
| 104 #include "public/web/WebPrintPresetOptions.h" | 105 #include "public/web/WebPrintPresetOptions.h" |
| 105 #include "public/web/WebViewClient.h" | 106 #include "public/web/WebViewClient.h" |
| 106 #include "web/ChromeClientImpl.h" | 107 #include "web/ChromeClientImpl.h" |
| 107 #include "web/WebInputEventConversion.h" | |
| 108 | 108 |
| 109 namespace blink { | 109 namespace blink { |
| 110 | 110 |
| 111 // Public methods -------------------------------------------------------------- | 111 // Public methods -------------------------------------------------------------- |
| 112 | 112 |
| 113 void WebPluginContainerImpl::SetParent(FrameView* parent) { | 113 void WebPluginContainerImpl::SetParent(FrameView* parent) { |
| 114 DCHECK(!parent || !parent_); | 114 DCHECK(!parent || !parent_); |
| 115 if (!parent || !parent->IsVisible()) | 115 if (!parent || !parent->IsVisible()) |
| 116 SetParentVisible(false); | 116 SetParentVisible(false); |
| 117 parent_ = parent; | 117 parent_ = parent; |
| (...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 .GetLayoutViewItem() | 1002 .GetLayoutViewItem() |
| 1003 .IsNull()) { | 1003 .IsNull()) { |
| 1004 // Take our element and get the clip rect from the enclosing layer and | 1004 // Take our element and get the clip rect from the enclosing layer and |
| 1005 // frame view. | 1005 // frame view. |
| 1006 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, | 1006 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, |
| 1007 unobscured_rect); | 1007 unobscured_rect); |
| 1008 } | 1008 } |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 } // namespace blink | 1011 } // namespace blink |
| OLD | NEW |