diff options
author | pkotwicz <pkotwicz@chromium.org> | 2015-01-21 18:15:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-22 02:15:50 +0000 |
commit | 9c19c84347ec4093b04e9ff205bba01d5265f803 (patch) | |
tree | 2cdee769bc86259f721827342faf6d0d96e785d0 /athena/content/render_view_context_menu_impl.h | |
parent | 7df6ea9c6c0cd8fee6eb5c5d29a4791f1c7c617e (diff) | |
download | chromium_src-9c19c84347ec4093b04e9ff205bba01d5265f803.zip chromium_src-9c19c84347ec4093b04e9ff205bba01d5265f803.tar.gz chromium_src-9c19c84347ec4093b04e9ff205bba01d5265f803.tar.bz2 |
Delete athena/
Athena is deprecated and is not maintained. Delete athena/
BUG=440818
TEST=None
TBR=oshima, sky
Review URL: https://codereview.chromium.org/863033002
Cr-Commit-Position: refs/heads/master@{#312526}
Diffstat (limited to 'athena/content/render_view_context_menu_impl.h')
-rw-r--r-- | athena/content/render_view_context_menu_impl.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/athena/content/render_view_context_menu_impl.h b/athena/content/render_view_context_menu_impl.h deleted file mode 100644 index 85a9bf1..0000000 --- a/athena/content/render_view_context_menu_impl.h +++ /dev/null @@ -1,64 +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 ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_ -#define ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_ - -#include "components/renderer_context_menu/render_view_context_menu_base.h" - -namespace aura { -class Window; -} - -namespace gfx { -class Point; -} - -namespace views { -class Widget; -} - -namespace athena { - -class RenderViewContextMenuImpl : public RenderViewContextMenuBase { - public: - RenderViewContextMenuImpl(content::RenderFrameHost* render_frame_host, - const content::ContextMenuParams& params); - ~RenderViewContextMenuImpl() override; - - void RunMenuAt(views::Widget* parent, - const gfx::Point& point, - ui::MenuSourceType type); - - // RenderViewContextMenuBase: - void Show() override; - - private: - // RenderViewContextMenuBase: - void InitMenu() override; - void RecordShownItem(int id) override; - void RecordUsedItem(int id) override; -#if defined(ENABLE_PLUGINS) - void HandleAuthorizeAllPlugins() override; -#endif - void NotifyMenuShown() override; - void NotifyURLOpened(const GURL& url, - content::WebContents* new_contents) override; - - // ui::SimpleMenuModel: - bool GetAcceleratorForCommandId(int command_id, - ui::Accelerator* accelerator) override; - bool IsCommandIdChecked(int command_id) const override; - bool IsCommandIdEnabled(int command_id) const override; - void ExecuteCommand(int command_id, int event_flags) override; - - aura::Window* GetActiveNativeView(); - views::Widget* GetTopLevelWidget(); - - DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuImpl); -}; - -} // namespace athena - -#endif // ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_ |