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

Side by Side Diff: chrome/common/automation_constants.h

Issue 6614023: Convert ChromeDriver to use only the JSON automation interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Pawel's additional comments Created 9 years, 9 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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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_COMMON_AUTOMATION_CONSTANTS_H__ 5 #ifndef CHROME_COMMON_AUTOMATION_CONSTANTS_H__
6 #define CHROME_COMMON_AUTOMATION_CONSTANTS_H__ 6 #define CHROME_COMMON_AUTOMATION_CONSTANTS_H__
7 #pragma once 7 #pragma once
8 8
9 namespace automation { 9 namespace automation {
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 // Recognized by the AutomationProvider's SendWebKeyboardEventToSelectedTab 38 // Recognized by the AutomationProvider's SendWebKeyboardEventToSelectedTab
39 // command. Specifies masks to be used in constructing keyboard event modifiers. 39 // command. Specifies masks to be used in constructing keyboard event modifiers.
40 enum KeyModifierMasks { 40 enum KeyModifierMasks {
41 kShiftKeyMask = 1 << 0, 41 kShiftKeyMask = 1 << 0,
42 kControlKeyMask = 1 << 1, 42 kControlKeyMask = 1 << 1,
43 kAltKeyMask = 1 << 2, 43 kAltKeyMask = 1 << 2,
44 kMetaKeyMask = 1 << 3, 44 kMetaKeyMask = 1 << 3,
45 }; 45 };
46 46
47 enum MouseButton {
48 kLeftButton = 0,
49 kMiddleButton,
50 kRightButton,
51 };
52
47 } // namespace automation 53 } // namespace automation
48 54
49 // Used by AutomationProxy, declared here so that other headers don't need 55 // Used by AutomationProxy, declared here so that other headers don't need
50 // to include automation_proxy.h. 56 // to include automation_proxy.h.
51 enum AutomationLaunchResult { 57 enum AutomationLaunchResult {
52 AUTOMATION_LAUNCH_RESULT_INVALID = -1, 58 AUTOMATION_LAUNCH_RESULT_INVALID = -1,
53 AUTOMATION_SUCCESS, 59 AUTOMATION_SUCCESS,
54 AUTOMATION_TIMEOUT, 60 AUTOMATION_TIMEOUT,
55 AUTOMATION_VERSION_MISMATCH, 61 AUTOMATION_VERSION_MISMATCH,
56 AUTOMATION_CREATE_TAB_FAILED, 62 AUTOMATION_CREATE_TAB_FAILED,
(...skipping 16 matching lines...) Expand all
73 // property. 79 // property.
74 enum AutomationMsg_ExtensionProperty { 80 enum AutomationMsg_ExtensionProperty {
75 AUTOMATION_MSG_EXTENSION_ID = 0, 81 AUTOMATION_MSG_EXTENSION_ID = 0,
76 AUTOMATION_MSG_EXTENSION_NAME, 82 AUTOMATION_MSG_EXTENSION_NAME,
77 AUTOMATION_MSG_EXTENSION_VERSION, 83 AUTOMATION_MSG_EXTENSION_VERSION,
78 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, 84 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX,
79 }; 85 };
80 86
81 87
82 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ 88 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/automation_json_requests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698