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

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

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference Created 5 years, 10 months 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 21 matching lines...) Expand all
32 32
33 #include "core/HTMLNames.h" 33 #include "core/HTMLNames.h"
34 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
35 #include "core/frame/FrameView.h" 35 #include "core/frame/FrameView.h"
36 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
37 #include "core/frame/Settings.h" 37 #include "core/frame/Settings.h"
38 #include "core/html/HTMLAreaElement.h" 38 #include "core/html/HTMLAreaElement.h"
39 #include "core/html/HTMLImageElement.h" 39 #include "core/html/HTMLImageElement.h"
40 #include "core/html/HTMLInputElement.h" 40 #include "core/html/HTMLInputElement.h"
41 #include "core/html/HTMLLabelElement.h" 41 #include "core/html/HTMLLabelElement.h"
42 #include "core/layout/LayoutListBox.h"
42 #include "core/layout/LayoutProgress.h" 43 #include "core/layout/LayoutProgress.h"
43 #include "core/layout/LayoutSlider.h" 44 #include "core/layout/LayoutSlider.h"
44 #include "core/layout/LayoutTable.h" 45 #include "core/layout/LayoutTable.h"
45 #include "core/layout/LayoutTableCell.h" 46 #include "core/layout/LayoutTableCell.h"
46 #include "core/layout/LayoutTableRow.h" 47 #include "core/layout/LayoutTableRow.h"
47 #include "core/layout/line/AbstractInlineTextBox.h" 48 #include "core/layout/line/AbstractInlineTextBox.h"
48 #include "core/page/Chrome.h" 49 #include "core/page/Chrome.h"
49 #include "core/page/ChromeClient.h" 50 #include "core/page/ChromeClient.h"
50 #include "core/page/FocusController.h" 51 #include "core/page/FocusController.h"
51 #include "core/page/Page.h" 52 #include "core/page/Page.h"
52 #include "core/rendering/RenderListBox.h"
53 #include "core/rendering/RenderMenuList.h" 53 #include "core/rendering/RenderMenuList.h"
54 #include "core/rendering/RenderView.h" 54 #include "core/rendering/RenderView.h"
55 #include "modules/accessibility/AXARIAGrid.h" 55 #include "modules/accessibility/AXARIAGrid.h"
56 #include "modules/accessibility/AXARIAGridCell.h" 56 #include "modules/accessibility/AXARIAGridCell.h"
57 #include "modules/accessibility/AXARIAGridRow.h" 57 #include "modules/accessibility/AXARIAGridRow.h"
58 #include "modules/accessibility/AXImageMapLink.h" 58 #include "modules/accessibility/AXImageMapLink.h"
59 #include "modules/accessibility/AXInlineTextBox.h" 59 #include "modules/accessibility/AXInlineTextBox.h"
60 #include "modules/accessibility/AXList.h" 60 #include "modules/accessibility/AXList.h"
61 #include "modules/accessibility/AXListBox.h" 61 #include "modules/accessibility/AXListBox.h"
62 #include "modules/accessibility/AXListBoxOption.h" 62 #include "modules/accessibility/AXListBoxOption.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 277
278 if (isHTMLOptionElement(node)) 278 if (isHTMLOptionElement(node))
279 return AXListBoxOption::create(renderer, this); 279 return AXListBoxOption::create(renderer, this);
280 280
281 if (renderer->isSVGRoot()) 281 if (renderer->isSVGRoot())
282 return AXSVGRoot::create(renderer, this); 282 return AXSVGRoot::create(renderer, this);
283 283
284 if (renderer->isBoxModelObject()) { 284 if (renderer->isBoxModelObject()) {
285 LayoutBoxModelObject* cssBox = toLayoutBoxModelObject(renderer); 285 LayoutBoxModelObject* cssBox = toLayoutBoxModelObject(renderer);
286 if (cssBox->isListBox()) 286 if (cssBox->isListBox())
287 return AXListBox::create(toRenderListBox(cssBox), this); 287 return AXListBox::create(toLayoutListBox(cssBox), this);
288 if (cssBox->isMenuList()) 288 if (cssBox->isMenuList())
289 return AXMenuList::create(toRenderMenuList(cssBox), this); 289 return AXMenuList::create(toRenderMenuList(cssBox), this);
290 290
291 // standard tables 291 // standard tables
292 if (cssBox->isTable()) 292 if (cssBox->isTable())
293 return AXTable::create(toLayoutTable(cssBox), this); 293 return AXTable::create(toLayoutTable(cssBox), this);
294 if (cssBox->isTableRow()) 294 if (cssBox->isTableRow())
295 return AXTableRow::create(toLayoutTableRow(cssBox), this); 295 return AXTableRow::create(toLayoutTableRow(cssBox), this);
296 if (cssBox->isTableCell()) 296 if (cssBox->isTableCell())
297 return AXTableCell::create(toLayoutTableCell(cssBox), this); 297 return AXTableCell::create(toLayoutTableCell(cssBox), this);
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect & rect) 1121 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect & rect)
1122 { 1122 {
1123 AXObject* obj = getOrCreate(element); 1123 AXObject* obj = getOrCreate(element);
1124 if (!obj) 1124 if (!obj)
1125 return; 1125 return;
1126 1126
1127 obj->setElementRect(rect); 1127 obj->setElementRect(rect);
1128 } 1128 }
1129 1129
1130 } // namespace blink 1130 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXObject.cpp ('k') | Source/modules/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698