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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: added class-level comment Created 3 years, 8 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/core/loader/EmptyClients.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index 3ccd5789b7f3da06e0a2b08e6c92f224f77da43d..6b63e428b9329a4d145ece90ce644bdcc488c8ff 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -32,6 +32,7 @@
#include <memory>
#include "core/CoreExport.h"
+#include "core/frame/ContentSettingsClient.h"
#include "core/frame/LocalFrameClient.h"
#include "core/frame/RemoteFrameClient.h"
#include "core/page/ChromeClient.h"
@@ -366,6 +367,7 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
override;
+ ContentSettingsClient& contentSettingsClient() override;
std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost(
WebApplicationCacheHostClient*) override;
@@ -373,6 +375,8 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
protected:
EmptyLocalFrameClient() {}
+
+ ContentSettingsClient m_contentSettingsClient;
};
class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageDocument.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698