| 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_PLATFORM_
APP_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_
APP_H_ |
| 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_
APP_H_ | 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_
APP_H_ |
| 7 | 7 |
| 8 #include "components/renderer_context_menu/context_menu_content_type.h" | 8 #include "components/renderer_context_menu/context_menu_content_type.h" |
| 9 | 9 |
| 10 class ContextMenuContentTypePlatformApp : public ContextMenuContentType { | 10 class ContextMenuContentTypePlatformApp : public ContextMenuContentType { |
| 11 public: | 11 public: |
| 12 virtual ~ContextMenuContentTypePlatformApp(); | 12 virtual ~ContextMenuContentTypePlatformApp(); |
| 13 | 13 |
| 14 // ContextMenuContentType overrides. | 14 // ContextMenuContentType overrides. |
| 15 virtual bool SupportsGroup(int group) OVERRIDE; | 15 virtual bool SupportsGroup(int group) override; |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 ContextMenuContentTypePlatformApp(content::WebContents* web_contents, | 18 ContextMenuContentTypePlatformApp(content::WebContents* web_contents, |
| 19 const content::ContextMenuParams& params); | 19 const content::ContextMenuParams& params); |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 friend class ContextMenuContentTypeFactory; | 22 friend class ContextMenuContentTypeFactory; |
| 23 | 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypePlatformApp); | 24 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypePlatformApp); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFO
RM_APP_H_ | 27 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFO
RM_APP_H_ |
| OLD | NEW |