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. |
11 * | 11 * |
12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Library General Public License for more details. | 15 * Library General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
18 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
21 * | 21 * |
22 */ | 22 */ |
23 | 23 |
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/dom/MouseEvent.h" | |
30 #include "core/dom/Text.h" | |
31 #include "core/html/HTMLEmbedElement.h" | |
32 #include "core/html/HTMLIFrameElement.h" | 29 #include "core/html/HTMLIFrameElement.h" |
33 #include "core/html/HTMLObjectElement.h" | |
34 #include "core/html/HTMLParamElement.h" | |
35 #include "core/html/HTMLPlugInElement.h" | |
36 #include "core/loader/FrameLoaderClient.h" | |
37 #include "core/page/Chrome.h" | |
38 #include "core/page/ChromeClient.h" | |
39 #include "core/page/EventHandler.h" | |
40 #include "core/page/Frame.h" | 30 #include "core/page/Frame.h" |
41 #include "core/page/Page.h" | 31 #include "core/page/Page.h" |
42 #include "core/page/Settings.h" | 32 #include "core/page/Settings.h" |
43 #include "core/platform/Cursor.h" | |
44 #include "core/platform/LocalizedStrings.h" | 33 #include "core/platform/LocalizedStrings.h" |
45 #include "core/platform/MIMETypeRegistry.h" | |
46 #include "core/platform/PlatformMouseEvent.h" | |
47 #include "core/platform/graphics/Font.h" | 34 #include "core/platform/graphics/Font.h" |
48 #include "core/platform/graphics/FontSelector.h" | 35 #include "core/platform/graphics/FontSelector.h" |
49 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 36 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
50 #include "core/platform/graphics/Path.h" | 37 #include "core/platform/graphics/Path.h" |
51 #include "core/platform/graphics/TextRun.h" | 38 #include "core/platform/graphics/TextRun.h" |
52 #include "core/plugins/PluginView.h" | 39 #include "core/plugins/PluginView.h" |
53 #include "core/rendering/HitTestResult.h" | |
54 #include "core/rendering/PaintInfo.h" | 40 #include "core/rendering/PaintInfo.h" |
55 #include "core/rendering/RenderTheme.h" | 41 #include "core/rendering/RenderTheme.h" |
56 #include "core/rendering/RenderView.h" | 42 #include "core/rendering/RenderView.h" |
57 #include "core/rendering/RenderWidgetProtector.h" | |
58 | 43 |
59 namespace WebCore { | 44 namespace WebCore { |
60 | 45 |
61 using namespace HTMLNames; | 46 using namespace HTMLNames; |
62 | 47 |
63 static const float replacementTextRoundedRectHeight = 18; | 48 static const float replacementTextRoundedRectHeight = 18; |
64 static const float replacementTextRoundedRectLeftRightTextMargin = 6; | 49 static const float replacementTextRoundedRectLeftRightTextMargin = 6; |
65 static const float replacementTextRoundedRectOpacity = 0.20f; | 50 static const float replacementTextRoundedRectOpacity = 0.20f; |
66 static const float replacementTextRoundedRectRadius = 5; | 51 static const float replacementTextRoundedRectRadius = 5; |
67 static const float replacementTextTextOpacity = 0.55f; | 52 static const float replacementTextTextOpacity = 0.55f; |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 { | 295 { |
311 return false; | 296 return false; |
312 } | 297 } |
313 | 298 |
314 bool RenderEmbeddedObject::canHaveChildren() const | 299 bool RenderEmbeddedObject::canHaveChildren() const |
315 { | 300 { |
316 return false; | 301 return false; |
317 } | 302 } |
318 | 303 |
319 } | 304 } |
OLD | NEW |