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

Side by Side Diff: chrome/test/chromedriver/web_view_impl.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_WEB_VIEW_IMPL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_
6 #define CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const std::list<MouseEvent>& events) OVERRIDE; 59 const std::list<MouseEvent>& events) OVERRIDE;
60 virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) OVERRIDE; 60 virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) OVERRIDE;
61 virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) OVERRIDE; 61 virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) OVERRIDE;
62 virtual Status DeleteCookie(const std::string& name, 62 virtual Status DeleteCookie(const std::string& name,
63 const std::string& url) OVERRIDE; 63 const std::string& url) OVERRIDE;
64 virtual Status WaitForPendingNavigations( 64 virtual Status WaitForPendingNavigations(
65 const std::string& frame_id) OVERRIDE; 65 const std::string& frame_id) OVERRIDE;
66 virtual Status GetMainFrame(std::string* out_frame) OVERRIDE; 66 virtual Status GetMainFrame(std::string* out_frame) OVERRIDE;
67 virtual JavaScriptDialogManager* GetJavaScriptDialogManager() OVERRIDE; 67 virtual JavaScriptDialogManager* GetJavaScriptDialogManager() OVERRIDE;
68 virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE; 68 virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE;
69 virtual Status GetFramePath(const std::string& frame_id,
70 std::list<Frame>* frames) OVERRIDE;
69 71
70 private: 72 private:
71 std::string id_; 73 std::string id_;
72 scoped_ptr<DomTracker> dom_tracker_; 74 scoped_ptr<DomTracker> dom_tracker_;
73 scoped_ptr<FrameTracker> frame_tracker_; 75 scoped_ptr<FrameTracker> frame_tracker_;
74 scoped_ptr<NavigationTracker> navigation_tracker_; 76 scoped_ptr<NavigationTracker> navigation_tracker_;
75 scoped_ptr<JavaScriptDialogManager> dialog_manager_; 77 scoped_ptr<JavaScriptDialogManager> dialog_manager_;
76 scoped_ptr<DevToolsClient> client_; 78 scoped_ptr<DevToolsClient> client_;
77 WebViewDelegate* delegate_; 79 WebViewDelegate* delegate_;
78 CloserFunc closer_func_; 80 CloserFunc closer_func_;
(...skipping 22 matching lines...) Expand all
101 scoped_ptr<base::Value>* result); 103 scoped_ptr<base::Value>* result);
102 Status GetNodeIdFromFunction(DevToolsClient* client, 104 Status GetNodeIdFromFunction(DevToolsClient* client,
103 int context_id, 105 int context_id,
104 const std::string& function, 106 const std::string& function,
105 const base::ListValue& args, 107 const base::ListValue& args,
106 int* node_id); 108 int* node_id);
107 109
108 } // namespace internal 110 } // namespace internal
109 111
110 #endif // CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_ 112 #endif // CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698