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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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) 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 { 45 {
46 } 46 }
47 47
48 AXTableCell* AXTableCell::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache) 48 AXTableCell* AXTableCell::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
49 { 49 {
50 return new AXTableCell(layoutObject, axObjectCache); 50 return new AXTableCell(layoutObject, axObjectCache);
51 } 51 }
52 52
53 bool AXTableCell::isTableHeaderCell() const 53 bool AXTableCell::isTableHeaderCell() const
54 { 54 {
55 return node() && node()->hasTagName(thTag); 55 return getNode() && getNode()->hasTagName(thTag);
56 } 56 }
57 57
58 bool AXTableCell::isRowHeaderCell() const 58 bool AXTableCell::isRowHeaderCell() const
59 { 59 {
60 const AtomicString& scope = getAttribute(scopeAttr); 60 const AtomicString& scope = getAttribute(scopeAttr);
61 return equalIgnoringCase(scope, "row") || equalIgnoringCase(scope, "rowgroup "); 61 return equalIgnoringCase(scope, "row") || equalIgnoringCase(scope, "rowgroup ");
62 } 62 }
63 63
64 bool AXTableCell::isColumnHeaderCell() const 64 bool AXTableCell::isColumnHeaderCell() const
65 { 65 {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 if (equalIgnoringCase(ariaSort, "ascending")) 211 if (equalIgnoringCase(ariaSort, "ascending"))
212 return SortDirectionAscending; 212 return SortDirectionAscending;
213 if (equalIgnoringCase(ariaSort, "descending")) 213 if (equalIgnoringCase(ariaSort, "descending"))
214 return SortDirectionDescending; 214 return SortDirectionDescending;
215 if (equalIgnoringCase(ariaSort, "other")) 215 if (equalIgnoringCase(ariaSort, "other"))
216 return SortDirectionOther; 216 return SortDirectionOther;
217 return SortDirectionUndefined; 217 return SortDirectionUndefined;
218 } 218 }
219 219
220 } // namespace blink 220 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698