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

Side by Side Diff: chrome/test/chromedriver/stub_chrome.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/chromedriver/stub_chrome.h ('k') | chrome/test/chromedriver/stub_devtools_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/test/chromedriver/stub_chrome.h"
6 #include "chrome/test/chromedriver/status.h"
7 #include "chrome/test/chromedriver/web_view.h"
8
9 StubChrome::StubChrome() {}
10
11 StubChrome::~StubChrome() {}
12
13 std::string StubChrome::GetVersion() {
14 return "";
15 }
16
17 Status StubChrome::GetWebViews(std::list<WebView*>* web_views) {
18 return Status(kOk);
19 }
20
21 Status StubChrome::IsJavaScriptDialogOpen(bool* is_open) {
22 return Status(kOk);
23 }
24
25 Status StubChrome::GetJavaScriptDialogMessage(std::string* message) {
26 return Status(kOk);
27 }
28
29 Status StubChrome::HandleJavaScriptDialog(
30 bool accept,
31 const std::string& prompt_text) {
32 return Status(kOk);
33 }
34
35 std::string StubChrome::GetOperatingSystemName() {
36 return "";
37 }
38
39 Status StubChrome::Quit() {
40 return Status(kOk);
41 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/stub_chrome.h ('k') | chrome/test/chromedriver/stub_devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698