OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) | 2 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) |
3 * Copyright (C) 2009 Antonio Gomes <tonikitoo@webkit.org> | 3 * Copyright (C) 2009 Antonio Gomes <tonikitoo@webkit.org> |
4 * | 4 * |
5 * All rights reserved. | 5 * All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 15 matching lines...) Expand all Loading... |
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/page/SpatialNavigation.h" | 30 #include "core/page/SpatialNavigation.h" |
31 | 31 |
32 #include "HTMLAreaElement.h" | 32 #include "HTMLAreaElement.h" |
33 #include "HTMLImageElement.h" | 33 #include "HTMLImageElement.h" |
34 #include "HTMLMapElement.h" | 34 #include "HTMLMapElement.h" |
35 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
36 #include "Node.h" | 36 #include "core/dom/Node.h" |
37 #include "core/page/Frame.h" | 37 #include "core/page/Frame.h" |
38 #include "core/page/FrameTree.h" | 38 #include "core/page/FrameTree.h" |
39 #include "core/page/FrameView.h" | 39 #include "core/page/FrameView.h" |
40 #include "core/page/Page.h" | 40 #include "core/page/Page.h" |
41 #include "core/page/Settings.h" | 41 #include "core/page/Settings.h" |
42 #include "core/platform/graphics/IntRect.h" | 42 #include "core/platform/graphics/IntRect.h" |
43 #include "core/rendering/RenderInline.h" | 43 #include "core/rendering/RenderInline.h" |
44 #include "core/rendering/RenderLayer.h" | 44 #include "core/rendering/RenderLayer.h" |
45 | 45 |
46 namespace WebCore { | 46 namespace WebCore { |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 LayoutRect rect = virtualRectForDirection(direction, rectToAbsoluteCoordinat
es(area->document()->frame(), area->computeRect(area->imageElement()->renderer()
)), 1); | 733 LayoutRect rect = virtualRectForDirection(direction, rectToAbsoluteCoordinat
es(area->document()->frame(), area->computeRect(area->imageElement()->renderer()
)), 1); |
734 return rect; | 734 return rect; |
735 } | 735 } |
736 | 736 |
737 HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate& candidate) | 737 HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate& candidate) |
738 { | 738 { |
739 return candidate.isFrameOwnerElement() ? static_cast<HTMLFrameOwnerElement*>
(candidate.visibleNode) : 0; | 739 return candidate.isFrameOwnerElement() ? static_cast<HTMLFrameOwnerElement*>
(candidate.visibleNode) : 0; |
740 }; | 740 }; |
741 | 741 |
742 } // namespace WebCore | 742 } // namespace WebCore |
OLD | NEW |