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

Unified Diff: views/accessibility/native_view_accessibility_win.cc

Issue 7349021: Convert some more view methods to the ui/views style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « chrome/test/interactive_ui/view_event_test_base.cc ('k') | views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/accessibility/native_view_accessibility_win.cc
===================================================================
--- views/accessibility/native_view_accessibility_win.cc (revision 92600)
+++ views/accessibility/native_view_accessibility_win.cc (working copy)
@@ -127,7 +127,7 @@
if (nav_dir == NAVDIR_LASTCHILD)
child_id = view_->child_count() - 1;
- views::View* child = view_->GetChildViewAt(child_id);
+ views::View* child = view_->child_at(child_id);
end->vt = VT_DISPATCH;
end->pdispVal = child->GetNativeViewAccessible();
end->pdispVal->AddRef();
@@ -162,7 +162,7 @@
}
}
- views::View* child = parent->GetChildViewAt(view_index);
+ views::View* child = parent->child_at(view_index);
end->pdispVal = child->GetNativeViewAccessible();
end->vt = VT_DISPATCH;
end->pdispVal->AddRef();
@@ -224,7 +224,7 @@
int child_id_as_index = child_id - 1;
if (child_id_as_index < view_->child_count()) {
// Note: child_id is a one based index when indexing children.
- child_view = view_->GetChildViewAt(child_id_as_index);
+ child_view = view_->child_at(child_id_as_index);
} else {
// Attempt to retrieve a child view with the specified id.
child_view = view_->GetViewByID(child_id);
« no previous file with comments | « chrome/test/interactive_ui/view_event_test_base.cc ('k') | views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698