1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_WIN_H_
8 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h"
14 // Windows specific implementation of the render view context menu.
15 class RenderViewContextMenuWin : public RenderViewContextMenuViews {
17 RenderViewContextMenuWin(content::RenderFrameHost* render_frame_host,
18 const content::ContextMenuParams& params);
19 virtual ~RenderViewContextMenuWin();
21 // SimpleMenuModel::Delegate implementation.
22 virtual bool IsCommandIdVisible(int command_id) const OVERRIDE;
23 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
26 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuWin);
29 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_WIN_H_