| 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 11 matching lines...) Expand all Loading... |
| 22 #include "HTMLPlugInImageElement.h" | 22 #include "HTMLPlugInImageElement.h" |
| 23 | 23 |
| 24 #include "Chrome.h" | 24 #include "Chrome.h" |
| 25 #include "ChromeClient.h" | 25 #include "ChromeClient.h" |
| 26 #include "Frame.h" | 26 #include "Frame.h" |
| 27 #include "FrameLoader.h" | 27 #include "FrameLoader.h" |
| 28 #include "FrameLoaderClient.h" | 28 #include "FrameLoaderClient.h" |
| 29 #include "FrameView.h" | 29 #include "FrameView.h" |
| 30 #include "HTMLDivElement.h" | 30 #include "HTMLDivElement.h" |
| 31 #include "HTMLImageLoader.h" | 31 #include "HTMLImageLoader.h" |
| 32 #include "LocalizedStrings.h" | |
| 33 #include "Logging.h" | |
| 34 #include "MouseEvent.h" | 32 #include "MouseEvent.h" |
| 35 #include "NodeList.h" | 33 #include "NodeList.h" |
| 36 #include "NodeRenderStyle.h" | 34 #include "NodeRenderStyle.h" |
| 37 #include "NodeRenderingContext.h" | 35 #include "NodeRenderingContext.h" |
| 38 #include "Page.h" | 36 #include "Page.h" |
| 39 #include "PlugInClient.h" | 37 #include "PlugInClient.h" |
| 40 #include "PluginViewBase.h" | 38 #include "PluginViewBase.h" |
| 41 #include "RenderEmbeddedObject.h" | 39 #include "RenderEmbeddedObject.h" |
| 42 #include "RenderImage.h" | 40 #include "RenderImage.h" |
| 43 #include "SchemeRegistry.h" | |
| 44 #include "ScriptController.h" | 41 #include "ScriptController.h" |
| 45 #include "SecurityOrigin.h" | 42 #include "SecurityOrigin.h" |
| 46 #include "Settings.h" | 43 #include "Settings.h" |
| 47 #include "ShadowRoot.h" | 44 #include "ShadowRoot.h" |
| 48 #include "StyleResolver.h" | 45 #include "StyleResolver.h" |
| 49 #include "Text.h" | 46 #include "Text.h" |
| 47 #include "core/platform/LocalizedStrings.h" |
| 48 #include "core/platform/Logging.h" |
| 49 #include "core/platform/SchemeRegistry.h" |
| 50 #include "core/platform/graphics/Image.h" | 50 #include "core/platform/graphics/Image.h" |
| 51 #include <wtf/CurrentTime.h> | 51 #include <wtf/CurrentTime.h> |
| 52 | 52 |
| 53 namespace WebCore { | 53 namespace WebCore { |
| 54 | 54 |
| 55 using namespace HTMLNames; | 55 using namespace HTMLNames; |
| 56 | 56 |
| 57 typedef Vector<RefPtr<HTMLPlugInImageElement> > HTMLPlugInImageElementList; | 57 typedef Vector<RefPtr<HTMLPlugInImageElement> > HTMLPlugInImageElementList; |
| 58 | 58 |
| 59 static const int sizingTinyDimensionThreshold = 40; | 59 static const int sizingTinyDimensionThreshold = 40; |
| (...skipping 179 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 |