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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.cc

Issue 1100673004: Remove references to WebMidiClientMock from content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/web_test_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_test_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_test_proxy.cc b/content/shell/renderer/test_runner/web_test_proxy.cc
index d602bbc6b04b1bb2a3a8bb25deaf044e3618e3cd..ae522d38d5374ae65b6c1c841065c6a5a09eb181 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.cc
+++ b/content/shell/renderer/test_runner/web_test_proxy.cc
@@ -46,7 +46,6 @@
#include "third_party/WebKit/public/web/WebElement.h"
#include "third_party/WebKit/public/web/WebHistoryItem.h"
#include "third_party/WebKit/public/web/WebLocalFrame.h"
-#include "third_party/WebKit/public/web/WebMIDIClientMock.h"
#include "third_party/WebKit/public/web/WebNode.h"
#include "third_party/WebKit/public/web/WebPagePopup.h"
#include "third_party/WebKit/public/web/WebPluginParams.h"
@@ -407,8 +406,6 @@ void WebTestProxyBase::Reset() {
animate_scheduled_ = false;
resource_identifier_map_.clear();
log_console_output_ = true;
- if (midi_client_.get())
- midi_client_->resetMock();
accept_languages_ = "";
}
@@ -678,12 +675,6 @@ WebTestProxyBase::GetScreenOrientationClientMock() {
return screen_orientation_client_.get();
}
-blink::WebMIDIClientMock* WebTestProxyBase::GetMIDIClientMock() {
- if (!midi_client_.get())
- midi_client_.reset(new blink::WebMIDIClientMock);
- return midi_client_.get();
-}
-
MockWebSpeechRecognizer* WebTestProxyBase::GetSpeechRecognizerMock() {
if (!speech_recognizer_.get()) {
speech_recognizer_.reset(new MockWebSpeechRecognizer());
@@ -938,10 +929,6 @@ void WebTestProxyBase::PrintPage(blink::WebLocalFrame* frame) {
frame->printEnd();
}
-blink::WebMIDIClient* WebTestProxyBase::GetWebMIDIClient() {
- return GetMIDIClientMock();
-}
-
blink::WebSpeechRecognizer* WebTestProxyBase::GetSpeechRecognizer() {
return GetSpeechRecognizerMock();
}
« no previous file with comments | « content/shell/renderer/test_runner/web_test_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698