OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011-2014 Software Freedom Conservancy | 2 * Copyright 2011-2014 Software Freedom Conservancy |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include <string> // For std::(w)string. | 21 #include <string> // For std::(w)string. |
22 | 22 |
23 namespace webdriver { | 23 namespace webdriver { |
24 namespace atoms { | 24 namespace atoms { |
25 | 25 |
26 extern const char* const CLEAR[]; | 26 extern const char* const CLEAR[]; |
27 extern const char* const CLICK[]; | 27 extern const char* const CLICK[]; |
28 extern const char* const EXECUTE_ASYNC_SCRIPT[]; | 28 extern const char* const EXECUTE_ASYNC_SCRIPT[]; |
29 extern const char* const EXECUTE_SCRIPT[]; | 29 extern const char* const EXECUTE_SCRIPT[]; |
30 extern const char* const EXECUTE_SQL[]; | 30 extern const char* const EXECUTE_SQL[]; |
31 extern const char* const FIND_ELEMENT[]; | |
32 extern const char* const FIND_ELEMENTS[]; | 31 extern const char* const FIND_ELEMENTS[]; |
33 extern const char* const GET_EFFECTIVE_STYLE[]; | 32 extern const char* const GET_EFFECTIVE_STYLE[]; |
34 extern const char* const GET_LOCATION[]; | 33 extern const char* const GET_LOCATION[]; |
35 extern const char* const GET_SIZE[]; | 34 extern const char* const GET_SIZE[]; |
36 extern const char* const IS_DISPLAYED[]; | 35 extern const char* const IS_DISPLAYED[]; |
37 extern const char* const IS_ENABLED[]; | 36 extern const char* const IS_ENABLED[]; |
38 extern const char* const SUBMIT[]; | 37 extern const char* const SUBMIT[]; |
| 38 extern const char* const FIND_ELEMENT[]; |
39 extern const char* const GET_FIRST_CLIENT_RECT[]; | 39 extern const char* const GET_FIRST_CLIENT_RECT[]; |
40 extern const char* const GET_LOCATION_IN_VIEW[]; | 40 extern const char* const GET_LOCATION_IN_VIEW[]; |
41 extern const char* const GET_PAGE_ZOOM[]; | 41 extern const char* const GET_PAGE_ZOOM[]; |
42 extern const char* const IS_ELEMENT_CLICKABLE[]; | 42 extern const char* const IS_ELEMENT_CLICKABLE[]; |
| 43 extern const char* const IS_ELEMENT_DISPLAYED[]; |
43 extern const char* const CLEAR_LOCAL_STORAGE[]; | 44 extern const char* const CLEAR_LOCAL_STORAGE[]; |
44 extern const char* const CLEAR_SESSION_STORAGE[]; | 45 extern const char* const CLEAR_SESSION_STORAGE[]; |
45 extern const char* const GET_APPCACHE_STATUS[]; | 46 extern const char* const GET_APPCACHE_STATUS[]; |
46 extern const char* const GET_ATTRIBUTE[]; | 47 extern const char* const GET_ATTRIBUTE[]; |
47 extern const char* const GET_LOCAL_STORAGE_ITEM[]; | 48 extern const char* const GET_LOCAL_STORAGE_ITEM[]; |
48 extern const char* const GET_LOCAL_STORAGE_KEY[]; | 49 extern const char* const GET_LOCAL_STORAGE_KEY[]; |
49 extern const char* const GET_LOCAL_STORAGE_KEYS[]; | 50 extern const char* const GET_LOCAL_STORAGE_KEYS[]; |
50 extern const char* const GET_LOCAL_STORAGE_SIZE[]; | 51 extern const char* const GET_LOCAL_STORAGE_SIZE[]; |
51 extern const char* const GET_SESSION_STORAGE_ITEM[]; | 52 extern const char* const GET_SESSION_STORAGE_ITEM[]; |
52 extern const char* const GET_SESSION_STORAGE_KEY[]; | 53 extern const char* const GET_SESSION_STORAGE_KEY[]; |
(...skipping 11 matching lines...) Expand all Loading... |
64 for (int i = 0; atom[i] != NULL; i++) { | 65 for (int i = 0; atom[i] != NULL; i++) { |
65 source += atom[i]; | 66 source += atom[i]; |
66 } | 67 } |
67 return source; | 68 return source; |
68 } | 69 } |
69 | 70 |
70 } // namespace atoms | 71 } // namespace atoms |
71 } // namespace webdriver | 72 } // namespace webdriver |
72 | 73 |
73 #endif // WEBDRIVER_ATOMS_H_ | 74 #endif // WEBDRIVER_ATOMS_H_ |
OLD | NEW |