| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2014 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_TAB_CONTENTS_MENU_CATEGORY_PANEL_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_MENU_CATEGORY_PANEL_H_ |
| 7 |
| 8 #include "chrome/browser/tab_contents/menu_category_base.h" |
| 9 |
| 10 class MenuCategoryPanel : public MenuCategoryBase { |
| 11 public: |
| 12 virtual ~MenuCategoryPanel(); |
| 13 |
| 14 protected: |
| 15 MenuCategoryPanel(content::RenderFrameHost* render_frame_host, |
| 16 const content::ContextMenuParams& params); |
| 17 |
| 18 // MenuCategoryBase overrides. |
| 19 virtual bool IsCategoryEnabled(int category) OVERRIDE; |
| 20 |
| 21 private: |
| 22 friend class MenuCategoryFactory; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(MenuCategoryPanel); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_TAB_CONTENTS_MENU_CATEGORY_PANEL_H_ |
| OLD | NEW |