From 368f3a7502802277d24d219c2ed0fdac09f36470 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 8 Mar 2011 17:17:48 +0000 Subject: 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 --- chrome/browser/accessibility/browser_accessibility_cocoa.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/accessibility') 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]) -- cgit v1.1