Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: chrome/test/chromedriver/chrome/stub_chrome.cc

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698