Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Side by Side Diff: chrome/test/automation/automation_constants.h

Issue 171079: more linux automation porting: SendKeyPressNotifyWhenDone... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_tests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
7 7
8 namespace automation { 8 namespace automation {
9 // Amount of time to wait before querying the browser. 9 // Amount of time to wait before querying the browser.
10 static const int kSleepTime = 250; 10 static const int kSleepTime = 250;
11 } 11 }
12 12
13 // Used by AutomationProxy, declared here so that other headers don't need 13 // Used by AutomationProxy, declared here so that other headers don't need
14 // to include automation_proxy.h. 14 // to include automation_proxy.h.
15 enum AutomationLaunchResult { 15 enum AutomationLaunchResult {
16 AUTOMATION_SUCCESS, 16 AUTOMATION_SUCCESS,
17 AUTOMATION_TIMEOUT, 17 AUTOMATION_TIMEOUT,
18 AUTOMATION_VERSION_MISMATCH, 18 AUTOMATION_VERSION_MISMATCH,
19 AUTOMATION_CREATE_TAB_FAILED 19 AUTOMATION_CREATE_TAB_FAILED
20 }; 20 };
21 21
22 enum AutomationMsg_NavigationResponseValues { 22 enum AutomationMsg_NavigationResponseValues {
23 AUTOMATION_MSG_NAVIGATION_ERROR = 0, 23 AUTOMATION_MSG_NAVIGATION_ERROR = 0,
24 AUTOMATION_MSG_NAVIGATION_SUCCESS, 24 AUTOMATION_MSG_NAVIGATION_SUCCESS,
25 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, 25 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED,
26 }; 26 };
27 27
28 #if !defined(OS_WIN)
29
30 // WebKit defines a larger set of these in
31 // WebKit/WebCore/platform/KeyboardCodes.h but I don't think we want to include
32 // that from here, and besides we only care about a subset of those.
33 const int VK_TAB = 0x09;
34 const int VK_RETURN = 0x0D;
35 const int VK_ESCAPE = 0x1B;
36 const int VK_SPACE = 0x20;
37 const int VK_PRIOR = 0x21;
38 const int VK_NEXT = 0x22;
39 const int VK_UP = 0x26;
40 const int VK_DOWN = 0x28;
41
42 #endif // !defined(OS_WIN)
43
44 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_ 28 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698