| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 133 |
| 134 // Copy to the clipboard an image located at a point in the RenderView | 134 // Copy to the clipboard an image located at a point in the RenderView |
| 135 void CopyImageAt(int x, int y); | 135 void CopyImageAt(int x, int y); |
| 136 | 136 |
| 137 // Reload an image located at a point in the RenderView. |
| 138 void ReloadOriginalImage(); |
| 139 |
| 137 // Get an image located at a point in the RenderView for search. | 140 // Get an image located at a point in the RenderView for search. |
| 138 void GetImageThumbnailForSearch(); | 141 void GetImageThumbnailForSearch(); |
| 139 | 142 |
| 140 // Launch the inspector targeting a point in the RenderView | 143 // Launch the inspector targeting a point in the RenderView |
| 141 void Inspect(int x, int y); | 144 void Inspect(int x, int y); |
| 142 | 145 |
| 143 // Writes the specified text/url to the system clipboard | 146 // Writes the specified text/url to the system clipboard |
| 144 void WriteURLToClipboard(const GURL& url); | 147 void WriteURLToClipboard(const GURL& url); |
| 145 | 148 |
| 146 void MediaPlayerActionAt(const gfx::Point& location, | 149 void MediaPlayerActionAt(const gfx::Point& location, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 181 |
| 179 // In the case of a MimeHandlerView this will point to the WebContents that | 182 // In the case of a MimeHandlerView this will point to the WebContents that |
| 180 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as | 183 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as |
| 181 // |source_web_contents_|. | 184 // |source_web_contents_|. |
| 182 content::WebContents* const embedder_web_contents_; | 185 content::WebContents* const embedder_web_contents_; |
| 183 | 186 |
| 184 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 187 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
| 185 }; | 188 }; |
| 186 | 189 |
| 187 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 190 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
| OLD | NEW |