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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 18 matching lines...) Expand all
29 #include "config.h" 29 #include "config.h"
30 #include "modules/accessibility/AXARIAGridCell.h" 30 #include "modules/accessibility/AXARIAGridCell.h"
31 31
32 #include "modules/accessibility/AXObjectCacheImpl.h" 32 #include "modules/accessibility/AXObjectCacheImpl.h"
33 #include "modules/accessibility/AXTable.h" 33 #include "modules/accessibility/AXTable.h"
34 #include "modules/accessibility/AXTableRow.h" 34 #include "modules/accessibility/AXTableRow.h"
35 35
36 36
37 namespace blink { 37 namespace blink {
38 38
39 AXARIAGridCell::AXARIAGridCell(RenderObject* renderer, AXObjectCacheImpl* axObje ctCache) 39 AXARIAGridCell::AXARIAGridCell(LayoutObject* renderer, AXObjectCacheImpl* axObje ctCache)
40 : AXTableCell(renderer, axObjectCache) 40 : AXTableCell(renderer, axObjectCache)
41 { 41 {
42 } 42 }
43 43
44 AXARIAGridCell::~AXARIAGridCell() 44 AXARIAGridCell::~AXARIAGridCell()
45 { 45 {
46 } 46 }
47 47
48 PassRefPtr<AXARIAGridCell> AXARIAGridCell::create(RenderObject* renderer, AXObje ctCacheImpl* axObjectCache) 48 PassRefPtr<AXARIAGridCell> AXARIAGridCell::create(LayoutObject* renderer, AXObje ctCacheImpl* axObjectCache)
49 { 49 {
50 return adoptRef(new AXARIAGridCell(renderer, axObjectCache)); 50 return adoptRef(new AXARIAGridCell(renderer, axObjectCache));
51 } 51 }
52 52
53 bool AXARIAGridCell::isAriaColumnHeader() const 53 bool AXARIAGridCell::isAriaColumnHeader() const
54 { 54 {
55 const AtomicString& role = getAttribute(HTMLNames::roleAttr); 55 const AtomicString& role = getAttribute(HTMLNames::roleAttr);
56 return equalIgnoringCase(role, "columnheader"); 56 return equalIgnoringCase(role, "columnheader");
57 } 57 }
58 58
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 if (isAriaRowHeader()) 138 if (isAriaRowHeader())
139 return RowHeaderRole; 139 return RowHeaderRole;
140 140
141 if (isAriaColumnHeader()) 141 if (isAriaColumnHeader())
142 return ColumnHeaderRole; 142 return ColumnHeaderRole;
143 143
144 return CellRole; 144 return CellRole;
145 } 145 }
146 146
147 } // namespace blink 147 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXARIAGridCell.h ('k') | Source/modules/accessibility/AXARIAGridRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698