diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 17:17:48 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 17:17:48 +0000 |
commit | 368f3a7502802277d24d219c2ed0fdac09f36470 (patch) | |
tree | bd877d741c470fa411a53710b3b2f06cc5fa5ae0 /chrome/browser/accessibility | |
parent | 39529b33b5e80e5be1d583dfd43f0d692209cbf3 (diff) | |
download | chromium_src-368f3a7502802277d24d219c2ed0fdac09f36470.zip chromium_src-368f3a7502802277d24d219c2ed0fdac09f36470.tar.gz chromium_src-368f3a7502802277d24d219c2ed0fdac09f36470.tar.bz2 |
Rename IndexOfChild to GetIndexOf. Part 1
This is part of a serie of patches to make the TreeNode more closer to style
used in the Views Tree API (see views/view.h for reference).
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6623037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/accessibility')
-rw-r--r-- | chrome/browser/accessibility/browser_accessibility_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/accessibility/browser_accessibility_cocoa.mm b/chrome/browser/accessibility/browser_accessibility_cocoa.mm index 3d451cf..30a8f7d 100644 --- a/chrome/browser/accessibility/browser_accessibility_cocoa.mm +++ b/chrome/browser/accessibility/browser_accessibility_cocoa.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -395,7 +395,7 @@ bool GetState(BrowserAccessibility* accessibility, int state) { } // Returns the index of the child in this objects array of children. -- (NSUInteger)accessibilityIndexOfChild:(id)child { +- (NSUInteger)accessibilityGetIndexOf:(id)child { NSUInteger index = 0; for (BrowserAccessibilityCocoa* childToCheck in [self children]) { if ([child isEqual:childToCheck]) |