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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 * | 18 * |
19 */ | 19 */ |
20 | 20 |
21 #include "config.h" | 21 #include "config.h" |
22 #include "HTMLPlugInImageElement.h" | 22 #include "HTMLPlugInImageElement.h" |
23 | 23 |
24 #include "HTMLDivElement.h" | 24 #include "HTMLDivElement.h" |
25 #include "HTMLImageLoader.h" | 25 #include "HTMLImageLoader.h" |
26 #include "MouseEvent.h" | |
27 #include "NodeList.h" | |
28 #include "NodeRenderStyle.h" | |
29 #include "NodeRenderingContext.h" | |
30 #include "PluginViewBase.h" | 26 #include "PluginViewBase.h" |
31 #include "ScriptController.h" | 27 #include "ScriptController.h" |
32 #include "ShadowRoot.h" | |
33 #include "Text.h" | |
34 #include "core/css/StyleResolver.h" | 28 #include "core/css/StyleResolver.h" |
| 29 #include "core/dom/MouseEvent.h" |
| 30 #include "core/dom/NodeList.h" |
| 31 #include "core/dom/NodeRenderStyle.h" |
| 32 #include "core/dom/NodeRenderingContext.h" |
| 33 #include "core/dom/ShadowRoot.h" |
| 34 #include "core/dom/Text.h" |
35 #include "core/loader/FrameLoader.h" | 35 #include "core/loader/FrameLoader.h" |
36 #include "core/loader/FrameLoaderClient.h" | 36 #include "core/loader/FrameLoaderClient.h" |
37 #include "core/page/Chrome.h" | 37 #include "core/page/Chrome.h" |
38 #include "core/page/ChromeClient.h" | 38 #include "core/page/ChromeClient.h" |
39 #include "core/page/Frame.h" | 39 #include "core/page/Frame.h" |
40 #include "core/page/FrameView.h" | 40 #include "core/page/FrameView.h" |
41 #include "core/page/Page.h" | 41 #include "core/page/Page.h" |
42 #include "core/page/PlugInClient.h" | 42 #include "core/page/PlugInClient.h" |
43 #include "core/page/SecurityOrigin.h" | 43 #include "core/page/SecurityOrigin.h" |
44 #include "core/page/Settings.h" | 44 #include "core/page/Settings.h" |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 { | 239 { |
240 if (!widget->isPluginViewBase() | 240 if (!widget->isPluginViewBase() |
241 || !static_cast<const PluginViewBase*>(widget)->shouldAlwaysAutoStart()) | 241 || !static_cast<const PluginViewBase*>(widget)->shouldAlwaysAutoStart()) |
242 return; | 242 return; |
243 | 243 |
244 LOG(Plugins, "%p Plug-in should auto-start, set to play", this); | 244 LOG(Plugins, "%p Plug-in should auto-start, set to play", this); |
245 setDisplayState(Playing); | 245 setDisplayState(Playing); |
246 } | 246 } |
247 | 247 |
248 } // namespace WebCore | 248 } // namespace WebCore |
OLD | NEW |