| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 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_ | |
| 7 | |
| 8 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h" | |
| 9 | |
| 10 namespace content { | |
| 11 class WebContents; | |
| 12 } | |
| 13 | |
| 14 // Windows specific implementation of the render view context menu. | |
| 15 class RenderViewContextMenuWin : public RenderViewContextMenuViews { | |
| 16 public: | |
| 17 RenderViewContextMenuWin(content::RenderFrameHost* render_frame_host, | |
| 18 const content::ContextMenuParams& params); | |
| 19 virtual ~RenderViewContextMenuWin(); | |
| 20 | |
| 21 // SimpleMenuModel::Delegate implementation. | |
| 22 virtual bool IsCommandIdVisible(int command_id) const OVERRIDE; | |
| 23 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuWin); | |
| 27 }; | |
| 28 | |
| 29 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_WIN_H_ | |
| OLD | NEW |