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) 2004, 2005, 2006, 2009, 2011 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2009, 2011 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 * |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #include "core/html/HTMLAreaElement.h" | 22 #include "core/html/HTMLAreaElement.h" |
23 | 23 |
24 #include "core/HTMLNames.h" | 24 #include "core/HTMLNames.h" |
25 #include "core/dom/ElementTraversal.h" | 25 #include "core/dom/ElementTraversal.h" |
26 #include "core/html/HTMLImageElement.h" | 26 #include "core/html/HTMLImageElement.h" |
27 #include "core/html/HTMLMapElement.h" | 27 #include "core/html/HTMLMapElement.h" |
28 #include "core/html/parser/HTMLParserIdioms.h" | 28 #include "core/html/parser/HTMLParserIdioms.h" |
29 #include "core/layout/HitTestResult.h" | 29 #include "core/layout/HitTestResult.h" |
30 #include "core/layout/LayoutImage.h" | 30 #include "core/layout/LayoutImage.h" |
31 #include "core/layout/LayoutView.h" | |
32 #include "platform/graphics/Path.h" | 31 #include "platform/graphics/Path.h" |
33 #include "platform/transforms/AffineTransform.h" | 32 #include "platform/transforms/AffineTransform.h" |
34 | 33 |
35 namespace blink { | 34 namespace blink { |
36 | 35 |
37 namespace { | 36 namespace { |
38 | 37 |
39 // Adapt a double to the allowed range of a LayoutUnit and narrow it to float pr
ecision. | 38 // Adapt a double to the allowed range of a LayoutUnit and narrow it to float pr
ecision. |
40 float clampCoordinate(double value) | 39 float clampCoordinate(double value) |
41 { | 40 { |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 { | 226 { |
228 document().updateStyleAndLayoutTreeForNode(this); | 227 document().updateStyleAndLayoutTreeForNode(this); |
229 if (!isFocusable()) | 228 if (!isFocusable()) |
230 return; | 229 return; |
231 | 230 |
232 if (HTMLImageElement* imageElement = this->imageElement()) | 231 if (HTMLImageElement* imageElement = this->imageElement()) |
233 imageElement->updateFocusAppearance(selectionBehavior); | 232 imageElement->updateFocusAppearance(selectionBehavior); |
234 } | 233 } |
235 | 234 |
236 } // namespace blink | 235 } // namespace blink |
OLD | NEW |