summaryrefslogtreecommitdiffstats
path: root/chrome/test/accessibility/constants.h
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-28 21:39:31 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-28 21:39:31 +0000
commit7ea9cbb1f61ea1b6990011d076bc09c05b9e72e8 (patch)
tree74d3afc03244b779649bee88137656573c41551c /chrome/test/accessibility/constants.h
parent6457ac4218710a7bb4c8acc5647a704f2fef884d (diff)
downloadchromium_src-7ea9cbb1f61ea1b6990011d076bc09c05b9e72e8.zip
chromium_src-7ea9cbb1f61ea1b6990011d076bc09c05b9e72e8.tar.gz
chromium_src-7ea9cbb1f61ea1b6990011d076bc09c05b9e72e8.tar.bz2
Fix tests that break with Chromium build.
BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/accessibility/constants.h')
-rw-r--r--chrome/test/accessibility/constants.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/test/accessibility/constants.h b/chrome/test/accessibility/constants.h
index dcbcc19..0d86d68c 100644
--- a/chrome/test/accessibility/constants.h
+++ b/chrome/test/accessibility/constants.h
@@ -37,11 +37,17 @@
// Chrome Client chidren.
#define BROWSER_VIEW_ACC_INDEX (0)
#define TABSTRIP_ACC_INDEX (1)
+#if defined(GOOGLE_CHROME_BUILD)
#define CHROME_MIN_ACC_INDEX (4)
#define CHROME_MAX_ACC_INDEX (5)
#define CHROME_RESTORE_ACC_INDEX (6)
#define CHROME_CLOSE_ACC_INDEX (7)
-
+#else
+#define CHROME_MIN_ACC_INDEX (3)
+#define CHROME_MAX_ACC_INDEX (4)
+#define CHROME_RESTORE_ACC_INDEX (5)
+#define CHROME_CLOSE_ACC_INDEX (6)
+#endif
// Browser View children.
#define TOOLBAR_ACC_INDEX (0)