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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 AUTOMATION_SERVER_CRASHED, | 73 AUTOMATION_SERVER_CRASHED, |
74 }; | 74 }; |
75 | 75 |
76 enum AutomationMsg_NavigationResponseValues { | 76 enum AutomationMsg_NavigationResponseValues { |
77 AUTOMATION_MSG_NAVIGATION_ERROR = 0, | 77 AUTOMATION_MSG_NAVIGATION_ERROR = 0, |
78 AUTOMATION_MSG_NAVIGATION_SUCCESS, | 78 AUTOMATION_MSG_NAVIGATION_SUCCESS, |
79 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, | 79 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, |
80 AUTOMATION_MSG_NAVIGATION_BLOCKED_BY_MODAL_DIALOG, | 80 AUTOMATION_MSG_NAVIGATION_BLOCKED_BY_MODAL_DIALOG, |
81 }; | 81 }; |
82 | 82 |
83 enum AutomationMsg_ExtensionResponseValues { | |
84 AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED = 0, | |
85 AUTOMATION_MSG_EXTENSION_INSTALL_FAILED | |
86 }; | |
87 | |
88 // Used in the AutomationMsg_GetExtensionProperty to identify which extension | 83 // Used in the AutomationMsg_GetExtensionProperty to identify which extension |
89 // property should be retrieved, instead of having separate messages for each | 84 // property should be retrieved, instead of having separate messages for each |
90 // property. | 85 // property. |
91 enum AutomationMsg_ExtensionProperty { | 86 enum AutomationMsg_ExtensionProperty { |
92 AUTOMATION_MSG_EXTENSION_ID = 0, | 87 AUTOMATION_MSG_EXTENSION_ID = 0, |
93 AUTOMATION_MSG_EXTENSION_NAME, | 88 AUTOMATION_MSG_EXTENSION_NAME, |
94 AUTOMATION_MSG_EXTENSION_VERSION, | 89 AUTOMATION_MSG_EXTENSION_VERSION, |
95 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, | 90 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, |
96 }; | 91 }; |
97 | 92 |
98 // Specifies the font size on a page which is requested by an automation | 93 // Specifies the font size on a page which is requested by an automation |
99 // client. | 94 // client. |
100 enum AutomationPageFontSize { | 95 enum AutomationPageFontSize { |
101 SMALLEST_FONT = 8, | 96 SMALLEST_FONT = 8, |
102 SMALL_FONT = 12, | 97 SMALL_FONT = 12, |
103 MEDIUM_FONT = 16, | 98 MEDIUM_FONT = 16, |
104 LARGE_FONT = 24, | 99 LARGE_FONT = 24, |
105 LARGEST_FONT = 36 | 100 LARGEST_FONT = 36 |
106 }; | 101 }; |
107 | 102 |
108 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 103 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
109 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; | 104 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; |
110 | 105 |
111 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ | 106 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ |
OLD | NEW |