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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 struct NPObject; | 45 struct NPObject; |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 | 48 |
49 class GestureEvent; | 49 class GestureEvent; |
50 class HTMLPlugInElement; | 50 class HTMLPlugInElement; |
51 class IntRect; | 51 class IntRect; |
52 class KeyboardEvent; | 52 class KeyboardEvent; |
53 class MouseEvent; | 53 class MouseEvent; |
54 class PlatformGestureEvent; | |
55 class ResourceError; | 54 class ResourceError; |
56 class ResourceResponse; | 55 class ResourceResponse; |
57 class ScriptController; | |
58 class ScrollbarGroup; | 56 class ScrollbarGroup; |
59 class TouchEvent; | 57 class TouchEvent; |
60 class WebPlugin; | 58 class WebPlugin; |
61 class WebPluginLoadObserver; | 59 class WebPluginLoadObserver; |
62 class WebExternalTextureLayer; | |
63 class WheelEvent; | 60 class WheelEvent; |
64 class Widget; | 61 class Widget; |
65 struct WebPrintParams; | 62 struct WebPrintParams; |
66 | 63 |
67 class WebPluginContainerImpl final : public PluginView, public WebPluginContaine
r, public FrameDestructionObserver { | 64 class WebPluginContainerImpl final : public PluginView, public WebPluginContaine
r, public FrameDestructionObserver { |
68 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WebPluginContainerImpl); | 65 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WebPluginContainerImpl); |
69 public: | 66 public: |
70 static PassRefPtrWillBeRawPtr<WebPluginContainerImpl> create(HTMLPlugInEleme
nt* element, WebPlugin* webPlugin) | 67 static PassRefPtrWillBeRawPtr<WebPluginContainerImpl> create(HTMLPlugInEleme
nt* element, WebPlugin* webPlugin) |
71 { | 68 { |
72 return adoptRefWillBeNoop(new WebPluginContainerImpl(element, webPlugin)
); | 69 return adoptRefWillBeNoop(new WebPluginContainerImpl(element, webPlugin)
); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 }; | 216 }; |
220 | 217 |
221 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 218 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
222 // Unlike Widget, we need not worry about object type for container. | 219 // Unlike Widget, we need not worry about object type for container. |
223 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 220 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
224 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 221 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
225 | 222 |
226 } // namespace blink | 223 } // namespace blink |
227 | 224 |
228 #endif | 225 #endif |
OLD | NEW |