| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 #ifndef WebPluginContainerImpl_h | 32 #ifndef WebPluginContainerImpl_h |
| 33 #define WebPluginContainerImpl_h | 33 #define WebPluginContainerImpl_h |
| 34 | 34 |
| 35 #include "core/frame/LocalFrameLifecycleObserver.h" | 35 #include "core/frame/LocalFrameLifecycleObserver.h" |
| 36 #include "core/plugins/PluginView.h" | 36 #include "core/plugins/PluginView.h" |
| 37 #include "platform/Widget.h" | 37 #include "platform/Widget.h" |
| 38 #include "public/web/WebPluginContainer.h" | 38 #include "public/web/WebPluginContainer.h" |
| 39 #include "web/WebExport.h" | 39 #include "web/WebExport.h" |
| 40 #include "wtf/Compiler.h" | 40 #include "wtf/Compiler.h" |
| 41 #include "wtf/OwnPtr.h" |
| 41 #include "wtf/PassRefPtr.h" | 42 #include "wtf/PassRefPtr.h" |
| 42 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
| 43 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
| 44 | 45 |
| 45 struct NPObject; | 46 struct NPObject; |
| 46 | 47 |
| 47 namespace blink { | 48 namespace blink { |
| 48 | 49 |
| 49 class GestureEvent; | 50 class GestureEvent; |
| 50 class HTMLPlugInElement; | 51 class HTMLPlugInElement; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 212 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
| 212 // Unlike Widget, we need not worry about object type for container. | 213 // Unlike Widget, we need not worry about object type for container. |
| 213 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 214 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
| 214 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 215 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
| 215 | 216 |
| 216 } // namespace blink | 217 } // namespace blink |
| 217 | 218 |
| 218 #endif | 219 #endif |
| OLD | NEW |