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

Unified Diff: chrome/test/chromedriver/chrome.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/adb_commands.py ('k') | chrome/test/chromedriver/chrome/adb_commands.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome.h
diff --git a/chrome/test/chromedriver/chrome.h b/chrome/test/chromedriver/chrome.h
deleted file mode 100644
index 915828fb0f33df74bf77ece87e5178a02b5a193a..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/chrome.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 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_CHROME_H_
-#define CHROME_TEST_CHROMEDRIVER_CHROME_H_
-
-#include <list>
-#include <string>
-
-class Status;
-class WebView;
-
-class Chrome {
- public:
- virtual ~Chrome() {}
-
- virtual std::string GetVersion() = 0;
-
- // Return a list of opened WebViews.
- virtual Status GetWebViews(std::list<WebView*>* web_views) = 0;
-
- // Returns whether a JavaScript dialog is open.
- virtual Status IsJavaScriptDialogOpen(bool* is_open) = 0;
-
- // Returns the message of the open JavaScript dialog.
- virtual Status GetJavaScriptDialogMessage(std::string* message) = 0;
-
- // Handles an open JavaScript dialog.
- virtual Status HandleJavaScriptDialog(bool accept,
- const std::string& prompt_text) = 0;
-
- // Get the operation system where Chrome is running.
- virtual std::string GetOperatingSystemName() = 0;
-
- // Quits Chrome.
- virtual Status Quit() = 0;
-};
-
-#endif // CHROME_TEST_CHROMEDRIVER_CHROME_H_
« no previous file with comments | « chrome/test/chromedriver/adb_commands.py ('k') | chrome/test/chromedriver/chrome/adb_commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698