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

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

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

Powered by Google App Engine
This is Rietveld 408576698