| Index: third_party/WebKit/Source/core/page/CustomContextMenuProvider.h
|
| diff --git a/third_party/WebKit/Source/core/page/CustomContextMenuProvider.h b/third_party/WebKit/Source/core/page/CustomContextMenuProvider.h
|
| deleted file mode 100644
|
| index 793a3fcb099f09509b04d4e23fa2cb76fad7f976..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/page/CustomContextMenuProvider.h
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CustomContextMenuProvider_h
|
| -#define CustomContextMenuProvider_h
|
| -
|
| -#include "core/page/ContextMenuProvider.h"
|
| -#include "platform/ContextMenuItem.h"
|
| -#include "platform/heap/Handle.h"
|
| -
|
| -namespace blink {
|
| -
|
| -class ContextMenu;
|
| -class HTMLElement;
|
| -class HTMLMenuElement;
|
| -class HTMLMenuItemElement;
|
| -
|
| -class CustomContextMenuProvider final : public ContextMenuProvider {
|
| - public:
|
| - ~CustomContextMenuProvider() override;
|
| -
|
| - static CustomContextMenuProvider* Create(HTMLMenuElement& menu,
|
| - HTMLElement& subject) {
|
| - return new CustomContextMenuProvider(menu, subject);
|
| - }
|
| -
|
| - DECLARE_VIRTUAL_TRACE();
|
| -
|
| - private:
|
| - CustomContextMenuProvider(HTMLMenuElement&, HTMLElement&);
|
| -
|
| - void PopulateContextMenu(ContextMenu*) override;
|
| - void ContextMenuItemSelected(const ContextMenuItem*) override;
|
| - void ContextMenuCleared() override;
|
| - void PopulateContextMenuItems(const HTMLMenuElement&, ContextMenu&);
|
| - void AppendSeparator(ContextMenu&);
|
| - void AppendMenuItem(HTMLMenuItemElement*, ContextMenu&);
|
| - HTMLElement* MenuItemAt(unsigned menu_id);
|
| -
|
| - Member<HTMLMenuElement> menu_;
|
| - Member<HTMLElement> subject_element_;
|
| - HeapVector<Member<HTMLElement>> menu_items_;
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif
|
|
|