| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 const std::string& attribute_name, | 46 const std::string& attribute_name, |
| 47 const std::string& attribute_value, | 47 const std::string& attribute_value, |
| 48 bool* is_equal); | 48 bool* is_equal); |
| 49 | 49 |
| 50 Status GetElementClickableLocation( | 50 Status GetElementClickableLocation( |
| 51 Session* session, | 51 Session* session, |
| 52 WebView* web_view, | 52 WebView* web_view, |
| 53 const std::string& element_id, | 53 const std::string& element_id, |
| 54 WebPoint* location); | 54 WebPoint* location); |
| 55 | 55 |
| 56 Status GetElementEffectiveStyle( |
| 57 const std::string& frame, |
| 58 WebView* web_view, |
| 59 const std::string& element_id, |
| 60 const std::string& property, |
| 61 std::string* value); |
| 62 |
| 56 Status GetElementRegion( | 63 Status GetElementRegion( |
| 57 Session* session, | 64 Session* session, |
| 58 WebView* web_view, | 65 WebView* web_view, |
| 59 const std::string& element_id, | 66 const std::string& element_id, |
| 60 WebRect* rect); | 67 WebRect* rect); |
| 61 | 68 |
| 62 Status GetElementTagName( | 69 Status GetElementTagName( |
| 63 Session* session, | 70 Session* session, |
| 64 WebView* web_view, | 71 WebView* web_view, |
| 65 const std::string& element_id, | 72 const std::string& element_id, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 Status ScrollElementRegionIntoView( | 123 Status ScrollElementRegionIntoView( |
| 117 Session* session, | 124 Session* session, |
| 118 WebView* web_view, | 125 WebView* web_view, |
| 119 const std::string& element_id, | 126 const std::string& element_id, |
| 120 const WebRect& region, | 127 const WebRect& region, |
| 121 bool center, | 128 bool center, |
| 122 bool verify_clickable, | 129 bool verify_clickable, |
| 123 WebPoint* location); | 130 WebPoint* location); |
| 124 | 131 |
| 125 #endif // CHROME_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_ | 132 #endif // CHROME_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_ |
| OLD | NEW |