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

Unified Diff: content/shell/renderer/test_runner/web_frame_test_proxy.h

Issue 963493002: Revert of Retry to add MockPresentationClient to use in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: content/shell/renderer/test_runner/web_frame_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_frame_test_proxy.h b/content/shell/renderer/test_runner/web_frame_test_proxy.h
index df914f82ce438a44d3f6b458ba45debfdf73b106..12bbbf7c8cfc42598aef610fcc09e1a504a30eb3 100644
--- a/content/shell/renderer/test_runner/web_frame_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_frame_test_proxy.h
@@ -6,7 +6,6 @@
#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
#include "base/basictypes.h"
-#include "content/shell/renderer/test_runner/mock_presentation_client.h"
#include "content/shell/renderer/test_runner/mock_screen_orientation_client.h"
#include "content/shell/renderer/test_runner/test_interfaces.h"
#include "content/shell/renderer/test_runner/test_runner.h"
@@ -39,14 +38,6 @@
virtual blink::WebScreenOrientationClient* webScreenOrientationClient() {
return base_proxy_->GetScreenOrientationClientMock();
- }
-
- virtual blink::WebPresentationClient* presentationClient() {
- if (!mock_presentation_client_.get()) {
- mock_presentation_client_.reset(new MockPresentationClient(
- base_proxy_->GetPresentationServiceMock()));
- }
- return mock_presentation_client_.get();
}
virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message,
@@ -304,8 +295,6 @@
WebTestProxyBase* base_proxy_;
- scoped_ptr<MockPresentationClient> mock_presentation_client_;
-
DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
};
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | content/shell/renderer/test_runner/web_test_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698