OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 // Used by AutomationProxy, declared here so that other headers don't need | 65 // Used by AutomationProxy, declared here so that other headers don't need |
66 // to include automation_proxy.h. | 66 // to include automation_proxy.h. |
67 enum AutomationLaunchResult { | 67 enum AutomationLaunchResult { |
68 AUTOMATION_LAUNCH_RESULT_INVALID = -1, | 68 AUTOMATION_LAUNCH_RESULT_INVALID = -1, |
69 AUTOMATION_SUCCESS, | 69 AUTOMATION_SUCCESS, |
70 AUTOMATION_TIMEOUT, | 70 AUTOMATION_TIMEOUT, |
71 AUTOMATION_VERSION_MISMATCH, | 71 AUTOMATION_VERSION_MISMATCH, |
72 AUTOMATION_CREATE_TAB_FAILED, | 72 AUTOMATION_CREATE_TAB_FAILED, |
73 AUTOMATION_SERVER_CRASHED, | 73 AUTOMATION_SERVER_CRASHED, |
| 74 AUTOMATION_CHANNEL_ERROR, |
74 }; | 75 }; |
75 | 76 |
76 enum AutomationMsg_NavigationResponseValues { | 77 enum AutomationMsg_NavigationResponseValues { |
77 AUTOMATION_MSG_NAVIGATION_ERROR = 0, | 78 AUTOMATION_MSG_NAVIGATION_ERROR = 0, |
78 AUTOMATION_MSG_NAVIGATION_SUCCESS, | 79 AUTOMATION_MSG_NAVIGATION_SUCCESS, |
79 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, | 80 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, |
80 AUTOMATION_MSG_NAVIGATION_BLOCKED_BY_MODAL_DIALOG, | 81 AUTOMATION_MSG_NAVIGATION_BLOCKED_BY_MODAL_DIALOG, |
81 }; | 82 }; |
82 | 83 |
83 // Used in the AutomationMsg_GetExtensionProperty to identify which extension | 84 // Used in the AutomationMsg_GetExtensionProperty to identify which extension |
(...skipping 13 matching lines...) Expand all Loading... |
97 SMALL_FONT = 12, | 98 SMALL_FONT = 12, |
98 MEDIUM_FONT = 16, | 99 MEDIUM_FONT = 16, |
99 LARGE_FONT = 24, | 100 LARGE_FONT = 24, |
100 LARGEST_FONT = 36 | 101 LARGEST_FONT = 36 |
101 }; | 102 }; |
102 | 103 |
103 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 104 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
104 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; | 105 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; |
105 | 106 |
106 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ | 107 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ |
OLD | NEW |