| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
| 5 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "config.h" | 24 #include "config.h" |
| 25 #include "core/rendering/RenderEmbeddedObject.h" | 25 #include "core/rendering/RenderEmbeddedObject.h" |
| 26 | 26 |
| 27 #include "CSSValueKeywords.h" | 27 #include "CSSValueKeywords.h" |
| 28 #include "HTMLNames.h" | 28 #include "HTMLNames.h" |
| 29 #include "core/html/HTMLIFrameElement.h" | 29 #include "core/html/HTMLIFrameElement.h" |
| 30 #include "core/frame/Frame.h" | 30 #include "core/frame/Frame.h" |
| 31 #include "core/page/Page.h" | 31 #include "core/page/Page.h" |
| 32 #include "core/page/Settings.h" | 32 #include "core/page/Settings.h" |
| 33 #include "core/platform/graphics/Font.h" | 33 #include "core/platform/graphics/Font.h" |
| 34 #include "core/platform/graphics/FontSelector.h" | |
| 35 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 34 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
| 36 #include "core/platform/graphics/Path.h" | 35 #include "core/platform/graphics/Path.h" |
| 37 #include "core/plugins/PluginView.h" | 36 #include "core/plugins/PluginView.h" |
| 38 #include "core/rendering/PaintInfo.h" | 37 #include "core/rendering/PaintInfo.h" |
| 39 #include "core/rendering/RenderTheme.h" | 38 #include "core/rendering/RenderTheme.h" |
| 40 #include "core/rendering/RenderView.h" | 39 #include "core/rendering/RenderView.h" |
| 40 #include "platform/fonts/FontSelector.h" |
| 41 #include "platform/graphics/TextRun.h" | 41 #include "platform/graphics/TextRun.h" |
| 42 #include "platform/text/PlatformLocale.h" | 42 #include "platform/text/PlatformLocale.h" |
| 43 | 43 |
| 44 namespace WebCore { | 44 namespace WebCore { |
| 45 | 45 |
| 46 using namespace HTMLNames; | 46 using namespace HTMLNames; |
| 47 | 47 |
| 48 static const float replacementTextRoundedRectHeight = 18; | 48 static const float replacementTextRoundedRectHeight = 18; |
| 49 static const float replacementTextRoundedRectLeftRightTextMargin = 6; | 49 static const float replacementTextRoundedRectLeftRightTextMargin = 6; |
| 50 static const float replacementTextRoundedRectOpacity = 0.20f; | 50 static const float replacementTextRoundedRectOpacity = 0.20f; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 { | 278 { |
| 279 return false; | 279 return false; |
| 280 } | 280 } |
| 281 | 281 |
| 282 bool RenderEmbeddedObject::canHaveChildren() const | 282 bool RenderEmbeddedObject::canHaveChildren() const |
| 283 { | 283 { |
| 284 return false; | 284 return false; |
| 285 } | 285 } |
| 286 | 286 |
| 287 } | 287 } |
| OLD | NEW |