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_RENDER_VIEW_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 void AppendSearchProvider(); | 123 void AppendSearchProvider(); |
124 #if defined(ENABLE_EXTENSIONS) | 124 #if defined(ENABLE_EXTENSIONS) |
125 void AppendAllExtensionItems(); | 125 void AppendAllExtensionItems(); |
126 void AppendCurrentExtensionItems(); | 126 void AppendCurrentExtensionItems(); |
127 #endif | 127 #endif |
128 void AppendPrintPreviewItems(); | 128 void AppendPrintPreviewItems(); |
129 void AppendSearchWebForImageItems(); | 129 void AppendSearchWebForImageItems(); |
130 void AppendSpellingSuggestionsSubMenu(); | 130 void AppendSpellingSuggestionsSubMenu(); |
131 void AppendSpellcheckOptionsSubMenu(); | 131 void AppendSpellcheckOptionsSubMenu(); |
132 void AppendProtocolHandlerSubMenu(); | 132 void AppendProtocolHandlerSubMenu(); |
| 133 void AppendPasswordItems(); |
133 | 134 |
134 // Copy to the clipboard an image located at a point in the RenderView | 135 // Copy to the clipboard an image located at a point in the RenderView |
135 void CopyImageAt(int x, int y); | 136 void CopyImageAt(int x, int y); |
136 | 137 |
137 // Show the original image located at a point in the RenderView. | 138 // Show the original image located at a point in the RenderView. |
138 void ShowOriginalImage(); | 139 void ShowOriginalImage(); |
139 | 140 |
140 // Get an image located at a point in the RenderView for search. | 141 // Get an image located at a point in the RenderView for search. |
141 void GetImageThumbnailForSearch(); | 142 void GetImageThumbnailForSearch(); |
142 | 143 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 182 |
182 // In the case of a MimeHandlerView this will point to the WebContents that | 183 // In the case of a MimeHandlerView this will point to the WebContents that |
183 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as | 184 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as |
184 // |source_web_contents_|. | 185 // |source_web_contents_|. |
185 content::WebContents* const embedder_web_contents_; | 186 content::WebContents* const embedder_web_contents_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 188 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
188 }; | 189 }; |
189 | 190 |
190 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 191 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
OLD | NEW |