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/web_view.h"
9 StubChrome::StubChrome() {}
11 StubChrome::~StubChrome() {}
13 ChromeDesktopImpl* StubChrome::GetAsDesktop() {
17 const BrowserInfo* StubChrome::GetBrowserInfo() {
18 return &browser_info_;
21 bool StubChrome::HasCrashedWebView() {
25 Status StubChrome::GetWebViewIds(std::list<std::string>* web_view_ids) {
29 Status StubChrome::GetWebViewById(const std::string& id, WebView** web_view) {
33 Status StubChrome::CloseWebView(const std::string& id) {
37 Status StubChrome::ActivateWebView(const std::string& id) {
41 std::string StubChrome::GetOperatingSystemName() {
45 bool StubChrome::IsMobileEmulationEnabled() const {
49 Status StubChrome::Quit() {