Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: chrome/test/chromedriver/web_view.h

Issue 12764021: [chromedriver] Support clicking an element in sub frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/web_view.h
diff --git a/chrome/test/chromedriver/web_view.h b/chrome/test/chromedriver/web_view.h
index dcf5194f3b36796120736bb53498b5db3113f08d..55a7122f4ce647141907d5be0c11397998d64b3c 100644
--- a/chrome/test/chromedriver/web_view.h
+++ b/chrome/test/chromedriver/web_view.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "chrome/test/chromedriver/basic_types.h"
namespace base {
class ListValue;
@@ -90,6 +91,10 @@ class WebView {
// Captures the visible portions of the web view as a base64-encoded PNG.
virtual Status CaptureScreenshot(std::string* screenshot) = 0;
+
+ // Return a list of Frame, from the given frame to the main frame.
+ virtual Status GetFramePath(const std::string& frame_id,
+ std::list<Frame>* frames) = 0;
};
#endif // CHROME_TEST_CHROMEDRIVER_WEB_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698