| OLD | NEW |
| (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 } | |
| OLD | NEW |