summaryrefslogtreecommitdiffstats
path: root/chrome/test/accessibility
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 04:34:03 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 04:34:03 +0000
commit59e0bfc9452c58f2955d71c7c0d77f4ecd0d8327 (patch)
tree757d4651f62f23afd261f93cad548727528c7a17 /chrome/test/accessibility
parent38a0e3a3af10f1962885ea9a6dce6673e82085e7 (diff)
downloadchromium_src-59e0bfc9452c58f2955d71c7c0d77f4ecd0d8327.zip
chromium_src-59e0bfc9452c58f2955d71c7c0d77f4ecd0d8327.tar.gz
chromium_src-59e0bfc9452c58f2955d71c7c0d77f4ecd0d8327.tar.bz2
Re-land this fix from earlier. Since I was making the tab icon view optional, I needed to adjust the accessibility tests so that they use the right index.
Don't initialize the TabIconView if we don't need to. It's expensive to create. http://crbug/2369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/accessibility')
-rw-r--r--chrome/test/accessibility/constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/accessibility/constants.h b/chrome/test/accessibility/constants.h
index 7a766f5..db0fb17 100644
--- a/chrome/test/accessibility/constants.h
+++ b/chrome/test/accessibility/constants.h
@@ -42,7 +42,7 @@
// Chrome Client chidren.
#ifdef NEW_FRAMES
-#define BROWSER_VIEW_ACC_INDEX (5)
+#define BROWSER_VIEW_ACC_INDEX (4)
#define TABSTRIP_ACC_INDEX (0)
#define CHROME_MIN_ACC_INDEX (0)
#define CHROME_MAX_ACC_INDEX (1)