| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index ebc75115e5f198aaa7ed25cdf679f102931bcd92..6f6a75e84dcf08bfb184d202d837c8a6cacb3996 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -46,6 +46,7 @@
|
| #include "PopupContainer.h"
|
| #include "PrerendererClientImpl.h"
|
| #include "RuntimeEnabledFeatures.h"
|
| +#include "ScreenOrientationClientProxy.h"
|
| #include "SpeechInputClientImpl.h"
|
| #include "SpeechRecognitionClientProxy.h"
|
| #include "StorageQuotaClientImpl.h"
|
| @@ -121,6 +122,7 @@
|
| #include "core/rendering/TextAutosizer.h"
|
| #include "modules/geolocation/GeolocationController.h"
|
| #include "modules/notifications/NotificationController.h"
|
| +#include "modules/screen_orientation/ScreenOrientationController.h"
|
| #include "painting/ContinuousPainter.h"
|
| #include "platform/ContextMenu.h"
|
| #include "platform/ContextMenuItem.h"
|
| @@ -364,6 +366,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| #endif
|
| , m_speechRecognitionClient(SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0))
|
| , m_geolocationClientProxy(adoptPtr(new GeolocationClientProxy(client ? client->geolocationClient() : 0)))
|
| + , m_screenOrientationClientProxy(ScreenOrientationClientProxy::create(client ? client->screenOrientationClient() : 0))
|
| , m_userMediaClientImpl(this)
|
| , m_midiClientProxy(adoptPtr(new MIDIClientProxy(client ? client->webMIDIClient() : 0)))
|
| , m_navigatorContentUtilsClient(NavigatorContentUtilsClientImpl::create(this))
|
| @@ -403,6 +406,9 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| provideGeolocationTo(m_page.get(), m_geolocationClientProxy.get());
|
| m_geolocationClientProxy->setController(GeolocationController::from(m_page.get()));
|
|
|
| + provideScreenOrientation(m_page.get(), m_screenOrientationClientProxy.get());
|
| + m_screenOrientationClientProxy->setController(ScreenOrientationController::from(m_page.get()));
|
| +
|
| provideLocalFileSystemTo(m_page.get(), LocalFileSystemClient::create());
|
| provideDatabaseClientTo(m_page.get(), DatabaseClientImpl::create());
|
| provideStorageQuotaClientTo(m_page.get(), StorageQuotaClientImpl::create());
|
|
|