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

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

Issue 339913002: Move MockScreenOrientationController to content/shell/renderer/test_runner/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix layer violation Created 6 years, 6 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 3eae47487a206b8dd2fbd672671ea391028c0137..8d9271a166ab2f633f91ca3f8b5aaf97d3c060e1 100644
--- a/content/shell/renderer/test_runner/web_frame_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_frame_test_proxy.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "content/shell/renderer/test_runner/TestInterfaces.h"
#include "content/shell/renderer/test_runner/WebTestDelegate.h"
+#include "content/shell/renderer/test_runner/mock_screen_orientation_client.h"
#include "content/shell/renderer/test_runner/test_runner.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
#include "content/test/test_media_stream_renderer_factory.h"
@@ -34,6 +35,10 @@ class WebFrameTestProxy : public Base {
return Base::createPlugin(frame, params);
}
+ virtual blink::WebScreenOrientationClient* webScreenOrientationClient() {
+ return base_proxy_->GetScreenOrientationClientMock();
+ }
+
virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message,
const blink::WebString& sourceName,
unsigned sourceLine,

Powered by Google App Engine
This is Rietveld 408576698