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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXSlider.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) 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 AXSliderThumb* AXSliderThumb::create(AXObjectCacheImpl& axObjectCache) 141 AXSliderThumb* AXSliderThumb::create(AXObjectCacheImpl& axObjectCache)
142 { 142 {
143 return new AXSliderThumb(axObjectCache); 143 return new AXSliderThumb(axObjectCache);
144 } 144 }
145 145
146 LayoutRect AXSliderThumb::elementRect() const 146 LayoutRect AXSliderThumb::elementRect() const
147 { 147 {
148 if (!m_parent) 148 if (!m_parent)
149 return LayoutRect(); 149 return LayoutRect();
150 150
151 LayoutObject* sliderLayoutObject = m_parent->layoutObject(); 151 LayoutObject* sliderLayoutObject = m_parent->getLayoutObject();
152 if (!sliderLayoutObject || !sliderLayoutObject->isSlider()) 152 if (!sliderLayoutObject || !sliderLayoutObject->isSlider())
153 return LayoutRect(); 153 return LayoutRect();
154 return toElement(sliderLayoutObject->node())->userAgentShadowRoot()->getElem entById(ShadowElementNames::sliderThumb())->boundingBox(); 154 return toElement(sliderLayoutObject->node())->userAgentShadowRoot()->getElem entById(ShadowElementNames::sliderThumb())->boundingBox();
155 } 155 }
156 156
157 bool AXSliderThumb::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReasons ) const 157 bool AXSliderThumb::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReasons ) const
158 { 158 {
159 return accessibilityIsIgnoredByDefault(ignoredReasons); 159 return accessibilityIsIgnoredByDefault(ignoredReasons);
160 } 160 }
161 161
162 } // namespace blink 162 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698