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

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

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_devtools_client.cc ('k') | chrome/test/chromedriver/stub_web_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/stub_web_view.h
diff --git a/chrome/test/chromedriver/stub_web_view.h b/chrome/test/chromedriver/stub_web_view.h
deleted file mode 100644
index c4f245ed4af1adfd988a905aa7e8ea07fff5c7db..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/stub_web_view.h
+++ /dev/null
@@ -1,64 +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.
-
-#ifndef CHROME_TEST_CHROMEDRIVER_STUB_WEB_VIEW_H_
-#define CHROME_TEST_CHROMEDRIVER_STUB_WEB_VIEW_H_
-
-#include <list>
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/test/chromedriver/web_view.h"
-
-namespace base {
-class ListValue;
-class Value;
-}
-
-struct KeyEvent;
-struct MouseEvent;
-class Status;
-
-class StubWebView : public WebView {
- public:
- explicit StubWebView(const std::string& id);
- virtual ~StubWebView();
-
- // Overridden from WebView:
- virtual std::string GetId() OVERRIDE;
- virtual Status ConnectIfNecessary() OVERRIDE;
- virtual Status Close() OVERRIDE;
- virtual Status Load(const std::string& url) OVERRIDE;
- virtual Status Reload() OVERRIDE;
- virtual Status EvaluateScript(const std::string& frame,
- const std::string& function,
- scoped_ptr<base::Value>* result) OVERRIDE;
- virtual Status CallFunction(const std::string& frame,
- const std::string& function,
- const base::ListValue& args,
- scoped_ptr<base::Value>* result) OVERRIDE;
- virtual Status GetFrameByFunction(const std::string& frame,
- const std::string& function,
- const base::ListValue& args,
- std::string* out_frame) OVERRIDE;
- virtual Status DispatchMouseEvents(
- const std::list<MouseEvent>& events) OVERRIDE;
- virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) OVERRIDE;
- virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) OVERRIDE;
- virtual Status DeleteCookie(const std::string& name,
- const std::string& url) OVERRIDE;
- virtual Status WaitForPendingNavigations(
- const std::string& frame_id) OVERRIDE;
- virtual Status IsPendingNavigation(
- const std::string& frame_id, bool* is_pending) OVERRIDE;
- virtual Status GetMainFrame(std::string* frame_id) OVERRIDE;
- virtual JavaScriptDialogManager* GetJavaScriptDialogManager() OVERRIDE;
- virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE;
-
- private:
- std::string id_;
-};
-
-#endif // CHROME_TEST_CHROMEDRIVER_STUB_WEB_VIEW_H_
« no previous file with comments | « chrome/test/chromedriver/stub_devtools_client.cc ('k') | chrome/test/chromedriver/stub_web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698