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 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_STUB_CHROME_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_STUB_CHROME_H_
10 #include "base/compiler_specific.h"
11 #include "chrome/test/chromedriver/chrome/chrome.h"
16 class StubChrome : public Chrome {
19 virtual ~StubChrome();
21 // Overridden from Chrome:
22 virtual ChromeDesktopImpl* GetAsDesktop() OVERRIDE;
23 virtual std::string GetVersion() OVERRIDE;
24 virtual int GetBuildNo() OVERRIDE;
25 virtual bool HasCrashedWebView() OVERRIDE;
26 virtual Status GetWebViewIds(std::list<std::string>* web_view_ids) OVERRIDE;
27 virtual Status GetWebViewById(const std::string& id,
28 WebView** web_view) OVERRIDE;
29 virtual Status CloseWebView(const std::string& id) OVERRIDE;
30 virtual Status ActivateWebView(const std::string& id) OVERRIDE;
31 virtual std::string GetOperatingSystemName() OVERRIDE;
32 virtual Status Quit() OVERRIDE;
35 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_STUB_CHROME_H_