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" | |
42 #include "wtf/PassRefPtr.h" | 41 #include "wtf/PassRefPtr.h" |
43 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
44 #include "wtf/text/WTFString.h" | 43 #include "wtf/text/WTFString.h" |
45 | 44 |
46 struct NPObject; | 45 struct NPObject; |
47 | 46 |
48 namespace blink { | 47 namespace blink { |
49 | 48 |
50 class GestureEvent; | 49 class GestureEvent; |
51 class HTMLPlugInElement; | 50 class HTMLPlugInElement; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 }; | 209 }; |
211 | 210 |
212 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 211 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
213 // Unlike Widget, we need not worry about object type for container. | 212 // Unlike Widget, we need not worry about object type for container. |
214 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 213 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
215 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 214 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
216 | 215 |
217 } // namespace blink | 216 } // namespace blink |
218 | 217 |
219 #endif | 218 #endif |
OLD | NEW |