summaryrefslogtreecommitdiffstats
path: root/chrome/test/accessibility/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/accessibility/constants.h')
-rw-r--r--chrome/test/accessibility/constants.h98
1 files changed, 0 insertions, 98 deletions
diff --git a/chrome/test/accessibility/constants.h b/chrome/test/accessibility/constants.h
deleted file mode 100644
index ecaa736..0000000
--- a/chrome/test/accessibility/constants.h
+++ /dev/null
@@ -1,98 +0,0 @@
-// Copyright (c) 2006-2008 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.
-
-#ifndef CHROME_TEST_ACCESSIBILITY_CONSTANTS_H_
-#define CHROME_TEST_ACCESSIBILITY_CONSTANTS_H_
-
-#include <windows.h>
-#include <tchar.h>
-
-///////////////////////////////////////////////////////////////////
-// Constants definitions specific to Chrome Accessibility Tests.
-///////////////////////////////////////////////////////////////////
-
-// Safe delete and release operations.
-#define CHK_RELEASE(obj) { if (obj) { (obj)->Release(); (obj) = NULL; } }
-#define CHK_DELETE(obj) { if (obj) { delete (obj); (obj) = NULL; } }
-
-// Chrome Accessibility Tests specific strings.
-#define CHROME_PATH _T("C:\\Program Files\\Google\\Chrome\\Chrome.exe")
-#define CHROME_VIEWS_TEXT_FIELD_EDIT _T("ChromeViewsTextFieldEdit")
-#define CHROME_AUTOCOMPLETE_EDIT _T("Chrome_AutocompleteEdit")
-#define CHROME_VIEWS_NATIVE_CTRL_CONTNR _T("ChromeViewsNativeControlContainer")
-#define CHROME_HWND_VIEW_CONTAINER _T("Chrome_WidgetWin_0")
-#define STD_BUTTON _T("Button")
-#define AUTH_TITLE _T("Authentication Required - Chrome")
-#define CHROME_TAB_CONTENTS _T("Chrome_TabContents")
-
-// Index for accessing specific children in the MSAA hierarchy.
-// TODO(klink): Remove the need for these.
-#define CHROME_APP_ACC_INDEX (3)
-#define CHROME_CLIENT_ACC_INDEX (0)
-#define BROWSER_VIEW_ACC_INDEX (4)
-
-// Chrome Client chidren. These UI elements cannot take MSAA focus, and
-// therefore have no ViewID associated.
-#define TABSTRIP_ACC_INDEX (0)
-#define CHROME_MIN_ACC_INDEX (0)
-#define CHROME_MAX_ACC_INDEX (1)
-#define CHROME_RESTORE_ACC_INDEX (2)
-#define CHROME_CLOSE_ACC_INDEX (3)
-
-// Tab index limits for bounds checking in Accessibility Tests.
-#define MAX_TAB_INDEX_DIGIT (9)
-#define MIN_TAB_INDEX_DIGIT (1)
-
-// Object Names.
-#define BROWSER_STR _T("browser")
-#define TOOLBAR_STR _T("toolbar")
-#define TABSTRIP_STR _T("tabstrip")
-#define TAB_STR _T("tab")
-#define BROWSER_VIEW_STR _T("browser_view")
-
-// Enums for keyboard keys. These values are directed to virtual-key values.
-enum KEYBD_KEYS {
- KEY_F3 = VK_F3,
- KEY_F4 = VK_F4,
- KEY_F5 = VK_F5,
- KEY_F6 = VK_F6,
- KEY_ALT = VK_MENU,
- KEY_CONTROL = VK_CONTROL,
- KEY_SHIFT = VK_SHIFT,
- KEY_ENTER = VK_RETURN,
- KEY_TAB = VK_TAB,
- KEY_BACK = VK_BACK,
- KEY_HOME = VK_HOME,
- KEY_END = VK_END,
- KEY_ESC = VK_ESCAPE,
- KEY_INSERT = VK_INSERT,
- KEY_DELETE = VK_DELETE,
- KEY_LEFT = VK_LEFT,
- KEY_RIGHT = VK_RIGHT,
- KEY_PLUS = VK_ADD,
- KEY_MINUS = VK_SUBTRACT,
- KEY_0 = '0',
- KEY_1 = '1',
- KEY_2 = '2',
- KEY_3 = '3',
- KEY_4 = '4',
- KEY_5 = '5',
- KEY_6 = '6',
- KEY_7 = '7',
- KEY_8 = '8',
- KEY_9 = '9',
- KEY_D = 'D',
- KEY_F = 'F',
- KEY_G = 'G',
- KEY_K = 'K',
- KEY_L = 'L',
- KEY_N = 'N',
- KEY_O = 'O',
- KEY_R = 'R',
- KEY_T = 'T',
- KEY_W = 'W',
- KEY_INVALID = -1
-};
-
-#endif // CHROME_TEST_ACCESSIBILITY_CONSTANTS_H_