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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: fix Created 3 years, 9 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: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 073fd94702d908912e0ea6bccc215fb88555156e..9f2bb002ac516c5bc1d7758e175dc7b561ef218b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -34,6 +34,7 @@
#include "core/CSSValueKeywords.h"
#include "core/HTMLNames.h"
#include "core/clipboard/DataObject.h"
+#include "core/dom/ContextFeaturesClientImpl.h"
#include "core/dom/Document.h"
#include "core/dom/DocumentUserGestureToken.h"
#include "core/dom/Fullscreen.h"
@@ -90,6 +91,7 @@
#include "modules/credentialmanager/CredentialManagerClient.h"
#include "modules/encryptedmedia/MediaKeysController.h"
#include "modules/storage/StorageNamespaceController.h"
+#include "modules/webdatabase/DatabaseClient.h"
#include "modules/webgl/WebGLRenderingContext.h"
#include "platform/ContextMenu.h"
#include "platform/ContextMenuItem.h"
@@ -151,9 +153,7 @@
#include "web/CompositionUnderlineVectorBuilder.h"
#include "web/CompositorMutatorImpl.h"
#include "web/CompositorWorkerProxyClientImpl.h"
-#include "web/ContextFeaturesClientImpl.h"
#include "web/ContextMenuAllowedScope.h"
-#include "web/DatabaseClientImpl.h"
#include "web/DedicatedWorkerMessagingProxyProviderImpl.h"
#include "web/DevToolsEmulator.h"
#include "web/FullscreenController.h"
@@ -400,7 +400,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client,
*m_page, SpeechRecognitionClientProxy::create(
client ? client->speechRecognizer() : nullptr));
provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create());
- provideDatabaseClientTo(*m_page, DatabaseClientImpl::create());
+ provideDatabaseClientTo(*m_page, new DatabaseClient);
provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create());
m_page->setValidationMessageClient(

Powered by Google App Engine
This is Rietveld 408576698