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

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

Issue 2721503002: Rename all uses of EmptyFrameLoaderClient with EmptyLocalFrameClient. (Closed)
Patch Set: Change V8 headers to user includes and introduce a space between system and user headers. Headers w… Created 3 years, 10 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 24f7fcb9d660981f62054cb1325d0ff07b902712..71531eadf1064087023a61f18596719383a22880 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -29,9 +29,11 @@
#ifndef EmptyClients_h
#define EmptyClients_h
+#include <memory>
+
#include "core/CoreExport.h"
+#include "core/frame/LocalFrameClient.h"
#include "core/frame/RemoteFrameClient.h"
-#include "core/loader/FrameLoaderClient.h"
#include "core/page/ChromeClient.h"
#include "core/page/ContextMenuClient.h"
#include "core/page/EditorClient.h"
@@ -47,9 +49,8 @@
#include "platform/text/TextCheckerClient.h"
#include "public/platform/WebFocusType.h"
#include "public/platform/WebScreenInfo.h"
+#include "v8/include/v8.h"
#include "wtf/Forward.h"
-#include <memory>
-#include <v8.h>
/*
This file holds empty Client stubs for use by WebCore.
@@ -235,12 +236,12 @@ class CORE_EXPORT EmptyChromeClient : public ChromeClient {
BlameContext*) override;
};
-class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient {
- WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient);
+class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
+ WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient);
public:
- static EmptyFrameLoaderClient* create() { return new EmptyFrameLoaderClient; }
- ~EmptyFrameLoaderClient() override {}
+ static EmptyLocalFrameClient* create() { return new EmptyLocalFrameClient; }
+ ~EmptyLocalFrameClient() override {}
bool hasWebView() const override { return true; } // mainly for assertions
@@ -365,7 +366,7 @@ class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient {
WebApplicationCacheHostClient*) override;
protected:
- EmptyFrameLoaderClient() {}
+ EmptyLocalFrameClient() {}
};
class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {

Powered by Google App Engine
This is Rietveld 408576698