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, |