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

Side by Side Diff: chrome/test/chromedriver/stub_web_view.cc

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 #include "base/values.h" 5 #include "base/values.h"
6 #include "chrome/test/chromedriver/status.h" 6 #include "chrome/test/chromedriver/status.h"
7 #include "chrome/test/chromedriver/stub_web_view.h" 7 #include "chrome/test/chromedriver/stub_web_view.h"
8 #include "chrome/test/chromedriver/ui_events.h" 8 #include "chrome/test/chromedriver/ui_events.h"
9 9
10 StubWebView::StubWebView(const std::string& id) : id_(id) {} 10 StubWebView::StubWebView(const std::string& id) : id_(id) {}
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 return Status(kOk); 76 return Status(kOk);
77 } 77 }
78 78
79 JavaScriptDialogManager* StubWebView::GetJavaScriptDialogManager() { 79 JavaScriptDialogManager* StubWebView::GetJavaScriptDialogManager() {
80 return NULL; 80 return NULL;
81 } 81 }
82 82
83 Status StubWebView::CaptureScreenshot(std::string* screenshot) { 83 Status StubWebView::CaptureScreenshot(std::string* screenshot) {
84 return Status(kOk); 84 return Status(kOk);
85 } 85 }
86
87 Status StubWebView::GetFramePath(const std::string& frame_id,
88 std::list<Frame>* frames) {
89 return Status(kOk);
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698