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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp

Issue 2883203002: Revert of Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Created 3 years, 7 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
Index: third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp b/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
index 7ef8e0e8ba2061cd30cbb8226e310ee49dffb720..713c4e5c42bba37376d8b1e4897eff9c3cd1b52b 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
@@ -65,7 +65,7 @@
if (!isHTMLOptionElement(*element))
return 0;
- AXObjectImpl* object = AxObjectCache().GetOrCreate(element);
+ AXObject* object = AxObjectCache().GetOrCreate(element);
if (!object || !object->IsMenuListOption())
return 0;
@@ -130,13 +130,13 @@
AXObjectCacheImpl& cache = AxObjectCache();
if (active_index_ != option_index && active_index_ >= 0 &&
active_index_ < static_cast<int>(children_.size())) {
- AXObjectImpl* previous_child = children_[active_index_].Get();
+ AXObject* previous_child = children_[active_index_].Get();
cache.PostNotification(previous_child,
AXObjectCacheImpl::kAXMenuListItemUnselected);
}
if (option_index >= 0 && option_index < static_cast<int>(children_.size())) {
- AXObjectImpl* child = children_[option_index].Get();
+ AXObject* child = children_[option_index].Get();
cache.PostNotification(this, AXObjectCacheImpl::kAXActiveDescendantChanged);
cache.PostNotification(child, AXObjectCacheImpl::kAXMenuListItemSelected);
}
@@ -167,7 +167,7 @@
AXObjectCacheImpl::kAXFocusedUIElementChanged);
}
-AXObjectImpl* AXMenuListPopup::ActiveDescendant() {
+AXObject* AXMenuListPopup::ActiveDescendant() {
if (active_index_ < 0 || active_index_ >= static_cast<int>(Children().size()))
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698