Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Side by Side Diff: Source/modules/accessibility/AXObjectCacheImpl.cpp

Issue 713933002: Create Source/modules/accessibility/ and move most of core/accessibility/* into it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014, Google Inc. All rights reserved. 2 * Copyright (C) 2014, Google 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 10 matching lines...) Expand all
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 30
31 #include "core/accessibility/AXObjectCacheImpl.h" 31 #include "modules/accessibility/AXObjectCacheImpl.h"
32 32
33 #include "core/HTMLNames.h" 33 #include "core/HTMLNames.h"
34 #include "core/accessibility/AXARIAGrid.h"
35 #include "core/accessibility/AXARIAGridCell.h"
36 #include "core/accessibility/AXARIAGridRow.h"
37 #include "core/accessibility/AXImageMapLink.h"
38 #include "core/accessibility/AXInlineTextBox.h"
39 #include "core/accessibility/AXList.h"
40 #include "core/accessibility/AXListBox.h"
41 #include "core/accessibility/AXListBoxOption.h"
42 #include "core/accessibility/AXMediaControls.h"
43 #include "core/accessibility/AXMenuList.h"
44 #include "core/accessibility/AXMenuListOption.h"
45 #include "core/accessibility/AXMenuListPopup.h"
46 #include "core/accessibility/AXProgressIndicator.h"
47 #include "core/accessibility/AXRenderObject.h"
48 #include "core/accessibility/AXSVGRoot.h"
49 #include "core/accessibility/AXScrollView.h"
50 #include "core/accessibility/AXScrollbar.h"
51 #include "core/accessibility/AXSlider.h"
52 #include "core/accessibility/AXSpinButton.h"
53 #include "core/accessibility/AXTable.h"
54 #include "core/accessibility/AXTableCell.h"
55 #include "core/accessibility/AXTableColumn.h"
56 #include "core/accessibility/AXTableHeaderContainer.h"
57 #include "core/accessibility/AXTableRow.h"
58 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
59 #include "core/frame/FrameView.h" 35 #include "core/frame/FrameView.h"
60 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
61 #include "core/frame/Settings.h" 37 #include "core/frame/Settings.h"
62 #include "core/html/HTMLAreaElement.h" 38 #include "core/html/HTMLAreaElement.h"
63 #include "core/html/HTMLImageElement.h" 39 #include "core/html/HTMLImageElement.h"
64 #include "core/html/HTMLInputElement.h" 40 #include "core/html/HTMLInputElement.h"
65 #include "core/html/HTMLLabelElement.h" 41 #include "core/html/HTMLLabelElement.h"
66 #include "core/page/Chrome.h" 42 #include "core/page/Chrome.h"
67 #include "core/page/ChromeClient.h" 43 #include "core/page/ChromeClient.h"
68 #include "core/page/FocusController.h" 44 #include "core/page/FocusController.h"
69 #include "core/page/Page.h" 45 #include "core/page/Page.h"
70 #include "core/rendering/AbstractInlineTextBox.h" 46 #include "core/rendering/AbstractInlineTextBox.h"
71 #include "core/rendering/RenderListBox.h" 47 #include "core/rendering/RenderListBox.h"
72 #include "core/rendering/RenderMenuList.h" 48 #include "core/rendering/RenderMenuList.h"
73 #include "core/rendering/RenderProgress.h" 49 #include "core/rendering/RenderProgress.h"
74 #include "core/rendering/RenderSlider.h" 50 #include "core/rendering/RenderSlider.h"
75 #include "core/rendering/RenderTable.h" 51 #include "core/rendering/RenderTable.h"
76 #include "core/rendering/RenderTableCell.h" 52 #include "core/rendering/RenderTableCell.h"
77 #include "core/rendering/RenderTableRow.h" 53 #include "core/rendering/RenderTableRow.h"
78 #include "core/rendering/RenderView.h" 54 #include "core/rendering/RenderView.h"
55 #include "modules/accessibility/AXARIAGrid.h"
56 #include "modules/accessibility/AXARIAGridCell.h"
57 #include "modules/accessibility/AXARIAGridRow.h"
58 #include "modules/accessibility/AXImageMapLink.h"
59 #include "modules/accessibility/AXInlineTextBox.h"
60 #include "modules/accessibility/AXList.h"
61 #include "modules/accessibility/AXListBox.h"
62 #include "modules/accessibility/AXListBoxOption.h"
63 #include "modules/accessibility/AXMediaControls.h"
64 #include "modules/accessibility/AXMenuList.h"
65 #include "modules/accessibility/AXMenuListOption.h"
66 #include "modules/accessibility/AXMenuListPopup.h"
67 #include "modules/accessibility/AXProgressIndicator.h"
68 #include "modules/accessibility/AXRenderObject.h"
69 #include "modules/accessibility/AXSVGRoot.h"
70 #include "modules/accessibility/AXScrollView.h"
71 #include "modules/accessibility/AXScrollbar.h"
72 #include "modules/accessibility/AXSlider.h"
73 #include "modules/accessibility/AXSpinButton.h"
74 #include "modules/accessibility/AXTable.h"
75 #include "modules/accessibility/AXTableCell.h"
76 #include "modules/accessibility/AXTableColumn.h"
77 #include "modules/accessibility/AXTableHeaderContainer.h"
78 #include "modules/accessibility/AXTableRow.h"
79 #include "wtf/PassRefPtr.h" 79 #include "wtf/PassRefPtr.h"
80 80
81 namespace blink { 81 namespace blink {
82 82
83 using namespace HTMLNames; 83 using namespace HTMLNames;
84 84
85 // static 85 // static
86 AXObjectCache* AXObjectCache::create(Document& document) 86 AXObjectCache* AXObjectCache::create(Document& document)
87 { 87 {
88 return new AXObjectCacheImpl(document); 88 return new AXObjectCacheImpl(document);
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect & rect) 1083 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect & rect)
1084 { 1084 {
1085 AXObject* obj = getOrCreate(element); 1085 AXObject* obj = getOrCreate(element);
1086 if (!obj) 1086 if (!obj)
1087 return; 1087 return;
1088 1088
1089 obj->setElementRect(rect); 1089 obj->setElementRect(rect);
1090 } 1090 }
1091 1091
1092 } // namespace blink 1092 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXObjectCacheImpl.h ('k') | Source/modules/accessibility/AXProgressIndicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698