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

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

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 "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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698