OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 * | 20 * |
21 */ | 21 */ |
22 | 22 |
23 #include "sky/engine/config.h" | |
24 #include "sky/engine/core/rendering/RenderInline.h" | 23 #include "sky/engine/core/rendering/RenderInline.h" |
25 | 24 |
26 #include "sky/engine/core/dom/StyleEngine.h" | 25 #include "sky/engine/core/dom/StyleEngine.h" |
27 #include "sky/engine/core/page/Page.h" | 26 #include "sky/engine/core/page/Page.h" |
28 #include "sky/engine/core/rendering/HitTestResult.h" | 27 #include "sky/engine/core/rendering/HitTestResult.h" |
29 #include "sky/engine/core/rendering/InlineTextBox.h" | 28 #include "sky/engine/core/rendering/InlineTextBox.h" |
30 #include "sky/engine/core/rendering/RenderBlock.h" | 29 #include "sky/engine/core/rendering/RenderBlock.h" |
31 #include "sky/engine/core/rendering/RenderGeometryMap.h" | 30 #include "sky/engine/core/rendering/RenderGeometryMap.h" |
32 #include "sky/engine/core/rendering/RenderLayer.h" | 31 #include "sky/engine/core/rendering/RenderLayer.h" |
33 #include "sky/engine/core/rendering/RenderView.h" | 32 #include "sky/engine/core/rendering/RenderView.h" |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 | 688 |
690 void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&
additionalOffset, const RenderBox* paintContainer) const | 689 void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&
additionalOffset, const RenderBox* paintContainer) const |
691 { | 690 { |
692 AbsoluteRectsIgnoringEmptyRectsGeneratorContext context(rects, additionalOff
set); | 691 AbsoluteRectsIgnoringEmptyRectsGeneratorContext context(rects, additionalOff
set); |
693 generateLineBoxRects(context); | 692 generateLineBoxRects(context); |
694 | 693 |
695 addChildFocusRingRects(rects, additionalOffset, paintContainer); | 694 addChildFocusRingRects(rects, additionalOffset, paintContainer); |
696 } | 695 } |
697 | 696 |
698 } // namespace blink | 697 } // namespace blink |
OLD | NEW |