| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_EXTENSION
_POPUP_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_EXTENSION
_POPUP_H_ |
| 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_EXTENSION
_POPUP_H_ | 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_EXTENSION
_POPUP_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "components/renderer_context_menu/context_menu_content_type.h" | 9 #include "components/renderer_context_menu/context_menu_content_type.h" |
| 9 | 10 |
| 10 class ContextMenuContentTypeExtensionPopup : public ContextMenuContentType { | 11 class ContextMenuContentTypeExtensionPopup : public ContextMenuContentType { |
| 11 public: | 12 public: |
| 12 ~ContextMenuContentTypeExtensionPopup() override; | 13 ~ContextMenuContentTypeExtensionPopup() override; |
| 13 | 14 |
| 14 // ContextMenuContentType overrides. | 15 // ContextMenuContentType overrides. |
| 15 bool SupportsGroup(int group) override; | 16 bool SupportsGroup(int group) override; |
| 16 | 17 |
| 17 protected: | 18 protected: |
| 18 ContextMenuContentTypeExtensionPopup( | 19 ContextMenuContentTypeExtensionPopup( |
| 19 content::WebContents* web_contents, | 20 content::WebContents* web_contents, |
| 20 const content::ContextMenuParams& params); | 21 const content::ContextMenuParams& params); |
| 21 | 22 |
| 22 private: | 23 private: |
| 23 friend class ContextMenuContentTypeFactory; | 24 friend class ContextMenuContentTypeFactory; |
| 24 | 25 |
| 25 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypeExtensionPopup); | 26 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypeExtensionPopup); |
| 26 }; | 27 }; |
| 27 | 28 |
| 28 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_EXTENS
ION_POPUP_H_ | 29 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_EXTENS
ION_POPUP_H_ |
| OLD | NEW |