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

Unified Diff: Source/modules/accessibility/AXRenderObject.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXRenderObject.cpp
diff --git a/Source/modules/accessibility/AXRenderObject.cpp b/Source/modules/accessibility/AXRenderObject.cpp
index 8a124b36e3d45d9b72dc398317d1f6434d1c71fe..7dd4b25860385436a3dbd0d17d5aa86ad5b1c087 100644
--- a/Source/modules/accessibility/AXRenderObject.cpp
+++ b/Source/modules/accessibility/AXRenderObject.cpp
@@ -247,7 +247,7 @@ ScrollableArea* AXRenderObject::getScrollableAreaIfScrollable() const
if (!m_renderer || !m_renderer->isBox())
return 0;
- RenderBox* box = toRenderBox(m_renderer);
+ LayoutBox* box = toLayoutBox(m_renderer);
if (!box->canBeScrolledAndHasScrollableArea())
return 0;
@@ -1267,7 +1267,7 @@ void AXRenderObject::checkCachedElementRect() const
return;
bool dirty = false;
- RenderBox* box = toRenderBox(m_renderer);
+ LayoutBox* box = toLayoutBox(m_renderer);
if (box->frameRect() != m_cachedFrameRect)
dirty = true;
@@ -1292,7 +1292,7 @@ void AXRenderObject::updateCachedElementRect() const
if (!m_renderer->isBox())
return;
- RenderBox* box = toRenderBox(m_renderer);
+ LayoutBox* box = toLayoutBox(m_renderer);
m_cachedFrameRect = box->frameRect();
if (box->canBeScrolledAndHasScrollableArea()) {
@@ -1339,7 +1339,7 @@ AXObject* AXRenderObject::accessibilityHitTest(const IntPoint& point) const
if (!m_renderer || !m_renderer->hasLayer())
return 0;
- Layer* layer = toRenderBox(m_renderer)->layer();
+ Layer* layer = toLayoutBox(m_renderer)->layer();
HitTestRequest request(HitTestRequest::ReadOnly | HitTestRequest::Active);
HitTestResult hitTestResult = HitTestResult(point);
@@ -1721,7 +1721,7 @@ void AXRenderObject::scrollTo(const IntPoint& point) const
if (!m_renderer || !m_renderer->isBox())
return;
- RenderBox* box = toRenderBox(m_renderer);
+ LayoutBox* box = toLayoutBox(m_renderer);
if (!box->canBeScrolledAndHasScrollableArea())
return;
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698