| 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_GUEST_VIEW_WEB_VIEW_CONTEXT_MENU_CONTENT_TYPE_WEB_VIEW_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CONTEXT_MENU_CONTENT_TYPE_WEB_VIEW_H_ |
| 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CONTEXT_MENU_CONTENT_TYPE_WEB_VIEW_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CONTEXT_MENU_CONTENT_TYPE_WEB_VIEW_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 namespace extensions { | 11 namespace extensions { |
| 11 class Extension; | 12 class Extension; |
| 12 } | 13 } |
| 13 | 14 |
| 14 // A ContextMenuContentType for <webview> guest. | 15 // A ContextMenuContentType for <webview> guest. |
| 15 // Guests are rendered inside chrome apps, but have most of the actions | 16 // Guests are rendered inside chrome apps, but have most of the actions |
| 16 // that a regular web page has. Currently actions/items that are suppressed from | 17 // that a regular web page has. Currently actions/items that are suppressed from |
| 17 // guests are: searching, printing, speech and instant. | 18 // guests are: searching, printing, speech and instant. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 | 29 |
| 29 private: | 30 private: |
| 30 friend class ContextMenuContentTypeFactory; | 31 friend class ContextMenuContentTypeFactory; |
| 31 | 32 |
| 32 const extensions::Extension* GetExtension() const; | 33 const extensions::Extension* GetExtension() const; |
| 33 | 34 |
| 34 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypeWebView); | 35 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypeWebView); |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CONTEXT_MENU_CONTENT_TYPE_WEB_VIEW
_H_ | 38 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CONTEXT_MENU_CONTENT_TYPE_WEB_VIEW
_H_ |
| OLD | NEW |