Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / views / tab_contents / render_view_context_menu_win.h
blob7e422fa368e2e969cf8d25f065e99b14eab2ab29
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"
10 namespace content {
11 class WebContents;
14 // Windows specific implementation of the render view context menu.
15 class RenderViewContextMenuWin : public RenderViewContextMenuViews {
16 public:
17 RenderViewContextMenuWin(content::WebContents* web_contents,
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;
25 private:
26 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuWin);
29 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_WIN_H_