| 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 "base/values.h" | 5 #include "base/values.h" |
| 6 #include "chrome/test/chromedriver/status.h" | 6 #include "chrome/test/chromedriver/chrome/status.h" |
| 7 #include "chrome/test/chromedriver/stub_web_view.h" | 7 #include "chrome/test/chromedriver/chrome/stub_web_view.h" |
| 8 #include "chrome/test/chromedriver/ui_events.h" | 8 #include "chrome/test/chromedriver/chrome/ui_events.h" |
| 9 | 9 |
| 10 StubWebView::StubWebView(const std::string& id) : id_(id) {} | 10 StubWebView::StubWebView(const std::string& id) : id_(id) {} |
| 11 | 11 |
| 12 StubWebView::~StubWebView() {} | 12 StubWebView::~StubWebView() {} |
| 13 | 13 |
| 14 std::string StubWebView::GetId() { | 14 std::string StubWebView::GetId() { |
| 15 return id_; | 15 return id_; |
| 16 } | 16 } |
| 17 | 17 |
| 18 Status StubWebView::ConnectIfNecessary() { | 18 Status StubWebView::ConnectIfNecessary() { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 return Status(kOk); | 81 return Status(kOk); |
| 82 } | 82 } |
| 83 | 83 |
| 84 JavaScriptDialogManager* StubWebView::GetJavaScriptDialogManager() { | 84 JavaScriptDialogManager* StubWebView::GetJavaScriptDialogManager() { |
| 85 return NULL; | 85 return NULL; |
| 86 } | 86 } |
| 87 | 87 |
| 88 Status StubWebView::CaptureScreenshot(std::string* screenshot) { | 88 Status StubWebView::CaptureScreenshot(std::string* screenshot) { |
| 89 return Status(kOk); | 89 return Status(kOk); |
| 90 } | 90 } |
| OLD | NEW |