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.
5 #include "chrome/test/chromedriver/chrome/stub_chrome.h"
6 #include "chrome/test/chromedriver/chrome/status.h"
7 #include "chrome/test/chromedriver/chrome/version.h"
8 #include "chrome/test/chromedriver/chrome/web_view.h"
10 StubChrome::StubChrome() {}
12 StubChrome::~StubChrome() {}
14 ChromeDesktopImpl* StubChrome::GetAsDesktop() {
18 const BrowserInfo* StubChrome::GetBrowserInfo() {
19 return &browser_info_;
22 bool StubChrome::HasCrashedWebView() {
26 Status StubChrome::GetWebViewIds(std::list<std::string>* web_view_ids) {
30 Status StubChrome::GetWebViewById(const std::string& id, WebView** web_view) {
34 Status StubChrome::CloseWebView(const std::string& id) {
38 Status StubChrome::ActivateWebView(const std::string& id) {
42 std::string StubChrome::GetOperatingSystemName() {
46 bool StubChrome::IsMobileEmulationEnabled() const {
50 Status StubChrome::Quit() {