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

Unified Diff: chrome/test/chromedriver/stub_web_view.cc

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix compile error on mac. 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
« no previous file with comments | « chrome/test/chromedriver/stub_web_view.h ('k') | chrome/test/chromedriver/ui_events.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/stub_web_view.cc
diff --git a/chrome/test/chromedriver/stub_web_view.cc b/chrome/test/chromedriver/stub_web_view.cc
deleted file mode 100644
index 07d9c941d78ddd38dcb43efa9b82f990d46df725..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/stub_web_view.cc
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/values.h"
-#include "chrome/test/chromedriver/status.h"
-#include "chrome/test/chromedriver/stub_web_view.h"
-#include "chrome/test/chromedriver/ui_events.h"
-
-StubWebView::StubWebView(const std::string& id) : id_(id) {}
-
-StubWebView::~StubWebView() {}
-
-std::string StubWebView::GetId() {
- return id_;
-}
-
-Status StubWebView::ConnectIfNecessary() {
- return Status(kOk);
-}
-
-Status StubWebView::Close() {
- return Status(kOk);
-}
-
-Status StubWebView::Load(const std::string& url) {
- return Status(kOk);
-}
-
-Status StubWebView::Reload() {
- return Status(kOk);
-}
-
-Status StubWebView::EvaluateScript(const std::string& frame,
- const std::string& function,
- scoped_ptr<base::Value>* result) {
- return Status(kOk);
-}
-
-Status StubWebView::CallFunction(const std::string& frame,
- const std::string& function,
- const base::ListValue& args,
- scoped_ptr<base::Value>* result) {
- return Status(kOk);
-}
-
-Status StubWebView::GetFrameByFunction(const std::string& frame,
- const std::string& function,
- const base::ListValue& args,
- std::string* out_frame) {
- return Status(kOk);
-}
-
-Status StubWebView::DispatchMouseEvents(const std::list<MouseEvent>& events) {
- return Status(kOk);
-}
-
-Status StubWebView::DispatchKeyEvents(const std::list<KeyEvent>& events) {
- return Status(kOk);
-}
-
-Status StubWebView::GetCookies(scoped_ptr<base::ListValue>* cookies) {
- return Status(kOk);
-}
-
-Status StubWebView::DeleteCookie(const std::string& name,
- const std::string& url) {
- return Status(kOk);
-}
-
-Status StubWebView::WaitForPendingNavigations(const std::string& frame_id) {
- return Status(kOk);
-}
-
-Status StubWebView::IsPendingNavigation(const std::string& frame_id,
- bool* is_pending) {
- return Status(kOk);
-}
-
-Status StubWebView::GetMainFrame(std::string* frame_id) {
- return Status(kOk);
-}
-
-JavaScriptDialogManager* StubWebView::GetJavaScriptDialogManager() {
- return NULL;
-}
-
-Status StubWebView::CaptureScreenshot(std::string* screenshot) {
- return Status(kOk);
-}
« no previous file with comments | « chrome/test/chromedriver/stub_web_view.h ('k') | chrome/test/chromedriver/ui_events.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698