OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 enum AutomationMsg_NavigationResponseValues { | 133 enum AutomationMsg_NavigationResponseValues { |
134 AUTOMATION_MSG_NAVIGATION_ERROR = 0, | 134 AUTOMATION_MSG_NAVIGATION_ERROR = 0, |
135 AUTOMATION_MSG_NAVIGATION_SUCCESS, | 135 AUTOMATION_MSG_NAVIGATION_SUCCESS, |
136 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, | 136 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, |
137 AUTOMATION_MSG_NAVIGATION_BLOCKED_BY_MODAL_DIALOG, | 137 AUTOMATION_MSG_NAVIGATION_BLOCKED_BY_MODAL_DIALOG, |
138 }; | 138 }; |
139 | 139 |
140 // Used in the AutomationMsg_GetExtensionProperty to identify which extension | 140 // Used in the AutomationMsg_GetExtensionProperty to identify which extension |
141 // property should be retrieved, instead of having separate messages for each | 141 // property should be retrieved, instead of having separate messages for each |
142 // property. | 142 // property. |
143 enum AutomationMsg_ExtensionProperty { | 143 enum AutomationMsg_DEPRECATED_ExtensionProperty { |
144 AUTOMATION_MSG_EXTENSION_ID = 0, | 144 AUTOMATION_MSG_EXTENSION_ID = 0, |
145 AUTOMATION_MSG_EXTENSION_NAME, | 145 AUTOMATION_MSG_EXTENSION_NAME, |
146 AUTOMATION_MSG_EXTENSION_VERSION, | 146 AUTOMATION_MSG_EXTENSION_VERSION, |
147 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, | 147 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, |
148 }; | 148 }; |
149 | 149 |
150 // Specifies the font size on a page which is requested by an automation | 150 // Specifies the font size on a page which is requested by an automation |
151 // client. | 151 // client. |
152 enum AutomationPageFontSize { | 152 enum AutomationPageFontSize { |
153 SMALLEST_FONT = 8, | 153 SMALLEST_FONT = 8, |
154 SMALL_FONT = 12, | 154 SMALL_FONT = 12, |
155 MEDIUM_FONT = 16, | 155 MEDIUM_FONT = 16, |
156 LARGE_FONT = 24, | 156 LARGE_FONT = 24, |
157 LARGEST_FONT = 36 | 157 LARGEST_FONT = 36 |
158 }; | 158 }; |
159 | 159 |
160 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 160 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
161 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; | 161 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; |
162 | 162 |
163 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ | 163 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ |
OLD | NEW |