OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2011, 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "MouseEvent.h" | 35 #include "MouseEvent.h" |
36 #include "NodeList.h" | 36 #include "NodeList.h" |
37 #include "NodeRenderStyle.h" | 37 #include "NodeRenderStyle.h" |
38 #include "NodeRenderingContext.h" | 38 #include "NodeRenderingContext.h" |
39 #include "Page.h" | 39 #include "Page.h" |
40 #include "PlugInClient.h" | 40 #include "PlugInClient.h" |
41 #include "PluginViewBase.h" | 41 #include "PluginViewBase.h" |
42 #include "RenderEmbeddedObject.h" | 42 #include "RenderEmbeddedObject.h" |
43 #include "RenderImage.h" | 43 #include "RenderImage.h" |
44 #include "SchemeRegistry.h" | 44 #include "SchemeRegistry.h" |
| 45 #include "ScriptController.h" |
45 #include "SecurityOrigin.h" | 46 #include "SecurityOrigin.h" |
46 #include "Settings.h" | 47 #include "Settings.h" |
47 #include "ShadowRoot.h" | 48 #include "ShadowRoot.h" |
48 #include "StyleResolver.h" | 49 #include "StyleResolver.h" |
49 #include "Text.h" | 50 #include "Text.h" |
50 #include <wtf/CurrentTime.h> | 51 #include <wtf/CurrentTime.h> |
51 | 52 |
52 namespace WebCore { | 53 namespace WebCore { |
53 | 54 |
54 using namespace HTMLNames; | 55 using namespace HTMLNames; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 { | 283 { |
283 if (!widget->isPluginViewBase() | 284 if (!widget->isPluginViewBase() |
284 || !static_cast<const PluginViewBase*>(widget)->shouldAlwaysAutoStart()) | 285 || !static_cast<const PluginViewBase*>(widget)->shouldAlwaysAutoStart()) |
285 return; | 286 return; |
286 | 287 |
287 LOG(Plugins, "%p Plug-in should auto-start, set to play", this); | 288 LOG(Plugins, "%p Plug-in should auto-start, set to play", this); |
288 setDisplayState(Playing); | 289 setDisplayState(Playing); |
289 } | 290 } |
290 | 291 |
291 } // namespace WebCore | 292 } // namespace WebCore |
OLD | NEW |