OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "core/editing/TextAffinity.h" | 40 #include "core/editing/TextAffinity.h" |
41 #include "core/editing/VisibleUnits.h" | 41 #include "core/editing/VisibleUnits.h" |
42 #include "core/editing/iterators/CharacterIterator.h" | 42 #include "core/editing/iterators/CharacterIterator.h" |
43 #include "core/editing/iterators/TextIterator.h" | 43 #include "core/editing/iterators/TextIterator.h" |
44 #include "core/frame/FrameOwner.h" | 44 #include "core/frame/FrameOwner.h" |
45 #include "core/frame/FrameView.h" | 45 #include "core/frame/FrameView.h" |
46 #include "core/frame/LocalFrame.h" | 46 #include "core/frame/LocalFrame.h" |
47 #include "core/frame/Settings.h" | 47 #include "core/frame/Settings.h" |
48 #include "core/html/HTMLFrameOwnerElement.h" | 48 #include "core/html/HTMLFrameOwnerElement.h" |
49 #include "core/html/HTMLImageElement.h" | 49 #include "core/html/HTMLImageElement.h" |
| 50 #include "core/html/HTMLInputElement.h" |
50 #include "core/html/HTMLLabelElement.h" | 51 #include "core/html/HTMLLabelElement.h" |
51 #include "core/html/HTMLOptionElement.h" | 52 #include "core/html/HTMLOptionElement.h" |
52 #include "core/html/HTMLSelectElement.h" | 53 #include "core/html/HTMLSelectElement.h" |
53 #include "core/html/HTMLTextAreaElement.h" | 54 #include "core/html/HTMLTextAreaElement.h" |
54 #include "core/html/shadow/ShadowElementNames.h" | 55 #include "core/html/shadow/ShadowElementNames.h" |
55 #include "core/layout/HitTestResult.h" | 56 #include "core/layout/HitTestResult.h" |
56 #include "core/layout/LayoutFieldset.h" | |
57 #include "core/layout/LayoutFileUploadControl.h" | 57 #include "core/layout/LayoutFileUploadControl.h" |
58 #include "core/layout/LayoutHTMLCanvas.h" | 58 #include "core/layout/LayoutHTMLCanvas.h" |
59 #include "core/layout/LayoutImage.h" | 59 #include "core/layout/LayoutImage.h" |
60 #include "core/layout/LayoutInline.h" | 60 #include "core/layout/LayoutInline.h" |
61 #include "core/layout/LayoutListMarker.h" | 61 #include "core/layout/LayoutListMarker.h" |
62 #include "core/layout/LayoutMenuList.h" | 62 #include "core/layout/LayoutMenuList.h" |
63 #include "core/layout/LayoutPart.h" | 63 #include "core/layout/LayoutPart.h" |
64 #include "core/layout/LayoutTextControl.h" | 64 #include "core/layout/LayoutTextControl.h" |
65 #include "core/layout/LayoutTextControlSingleLine.h" | |
66 #include "core/layout/LayoutTextFragment.h" | 65 #include "core/layout/LayoutTextFragment.h" |
67 #include "core/layout/LayoutView.h" | 66 #include "core/layout/LayoutView.h" |
68 #include "core/layout/api/LineLayoutAPIShim.h" | 67 #include "core/layout/api/LineLayoutAPIShim.h" |
69 #include "core/loader/ProgressTracker.h" | 68 #include "core/loader/ProgressTracker.h" |
70 #include "core/page/Page.h" | 69 #include "core/page/Page.h" |
71 #include "core/paint/PaintLayer.h" | 70 #include "core/paint/PaintLayer.h" |
72 #include "core/style/ComputedStyleConstants.h" | 71 #include "core/style/ComputedStyleConstants.h" |
73 #include "core/svg/SVGDocumentExtensions.h" | 72 #include "core/svg/SVGDocumentExtensions.h" |
74 #include "core/svg/SVGSVGElement.h" | 73 #include "core/svg/SVGSVGElement.h" |
75 #include "core/svg/graphics/SVGImage.h" | 74 #include "core/svg/graphics/SVGImage.h" |
(...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2477 if (label && label->layoutObject()) { | 2476 if (label && label->layoutObject()) { |
2478 LayoutRect labelRect = axObjectCache().getOrCreate(label)->elementRe
ct(); | 2477 LayoutRect labelRect = axObjectCache().getOrCreate(label)->elementRe
ct(); |
2479 result.unite(labelRect); | 2478 result.unite(labelRect); |
2480 } | 2479 } |
2481 } | 2480 } |
2482 | 2481 |
2483 return result; | 2482 return result; |
2484 } | 2483 } |
2485 | 2484 |
2486 } // namespace blink | 2485 } // namespace blink |
OLD | NEW |