| 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 4a90fbd3e924842c4aceaa0a9a90509df26f9caf..630ab62feca408bb9f1095e2f5f23f269f64dea3 100644
|
| --- a/third_party/WebKit/Source/core/loader/EmptyClients.h
|
| +++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
|
| @@ -34,7 +34,6 @@
|
| #include "core/loader/FrameLoaderClient.h"
|
| #include "core/page/ChromeClient.h"
|
| #include "core/page/ContextMenuClient.h"
|
| -#include "core/page/DragClient.h"
|
| #include "core/page/EditorClient.h"
|
| #include "core/page/Page.h"
|
| #include "core/page/SpellCheckerClient.h"
|
| @@ -92,6 +91,9 @@ public:
|
|
|
| bool hadFormInteraction() const override { return false; }
|
|
|
| + void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, const WebImage& dragImage, const WebPoint& dragImageOffset) {}
|
| + bool acceptsLoadDrops() const override { return true; }
|
| +
|
| void setToolbarsVisible(bool) override {}
|
| bool toolbarsVisible() override { return false; }
|
|
|
| @@ -326,15 +328,6 @@ public:
|
| void clearContextMenu() override {}
|
| };
|
|
|
| -class EmptyDragClient final : public DragClient {
|
| - WTF_MAKE_NONCOPYABLE(EmptyDragClient); USING_FAST_MALLOC(EmptyDragClient);
|
| -public:
|
| - EmptyDragClient() {}
|
| - ~EmptyDragClient() override {}
|
| - DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
|
| - void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
|
| -};
|
| -
|
| CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
|
|
|
| } // namespace blink
|
|
|