OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/test/chromedriver/chrome/stub_chrome.h" | 5 #include "chrome/test/chromedriver/chrome/stub_chrome.h" |
6 #include "chrome/test/chromedriver/chrome/status.h" | 6 #include "chrome/test/chromedriver/chrome/status.h" |
7 #include "chrome/test/chromedriver/chrome/version.h" | 7 #include "chrome/test/chromedriver/chrome/version.h" |
8 #include "chrome/test/chromedriver/chrome/web_view.h" | 8 #include "chrome/test/chromedriver/chrome/web_view.h" |
9 | 9 |
10 StubChrome::StubChrome() {} | 10 StubChrome::StubChrome() {} |
(...skipping 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 | 37 |
38 Status StubChrome::ActivateWebView(const std::string& id) { | 38 Status StubChrome::ActivateWebView(const std::string& id) { |
39 return Status(kOk); | 39 return Status(kOk); |
40 } | 40 } |
41 | 41 |
42 std::string StubChrome::GetOperatingSystemName() { | 42 std::string StubChrome::GetOperatingSystemName() { |
43 return std::string(); | 43 return std::string(); |
44 } | 44 } |
45 | 45 |
| 46 bool StubChrome::IsMobileEmulationEnabled() const { |
| 47 return false; |
| 48 } |
| 49 |
46 Status StubChrome::Quit() { | 50 Status StubChrome::Quit() { |
47 return Status(kOk); | 51 return Status(kOk); |
48 } | 52 } |
OLD | NEW |