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

Unified Diff: chrome/browser/ui/views/accessibility_event_router_views.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
Index: chrome/browser/ui/views/accessibility_event_router_views.cc
===================================================================
--- chrome/browser/ui/views/accessibility_event_router_views.cc (revision 92600)
+++ chrome/browser/ui/views/accessibility_event_router_views.cc (working copy)
@@ -318,7 +318,7 @@
int* index,
int* count) {
for (int i = 0; i < menu->child_count(); ++i) {
- views::View* child = menu->GetChildViewAt(i);
+ views::View* child = menu->child_at(i);
int previous_count = *count;
RecursiveGetMenuItemIndexAndCount(child, item, index, count);
if (child->GetClassName() == views::MenuItemView::kViewClassName &&
@@ -342,7 +342,7 @@
return UTF16ToUTF8(state.name);
for (int i = 0; i < view->child_count(); ++i) {
- views::View* child = view->GetChildViewAt(i);
+ views::View* child = view->child_at(i);
std::string result = RecursiveGetStaticText(child);
if (!result.empty())
return result;

Powered by Google App Engine
This is Rietveld 408576698