Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu.h

Issue 1105263004: "Load image" context menu item to reload a LoFi image. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 #endif 119 #endif
120 void AppendPrintPreviewItems(); 120 void AppendPrintPreviewItems();
121 void AppendSearchWebForImageItems(); 121 void AppendSearchWebForImageItems();
122 void AppendSpellingSuggestionsSubMenu(); 122 void AppendSpellingSuggestionsSubMenu();
123 void AppendSpellcheckOptionsSubMenu(); 123 void AppendSpellcheckOptionsSubMenu();
124 void AppendProtocolHandlerSubMenu(); 124 void AppendProtocolHandlerSubMenu();
125 125
126 // Copy to the clipboard an image located at a point in the RenderView 126 // Copy to the clipboard an image located at a point in the RenderView
127 void CopyImageAt(int x, int y); 127 void CopyImageAt(int x, int y);
128 128
129 // Reload an image located at a point in the RenderView.
130 void ReloadOriginalImage();
131
129 // Get an image located at a point in the RenderView for search. 132 // Get an image located at a point in the RenderView for search.
130 void GetImageThumbnailForSearch(); 133 void GetImageThumbnailForSearch();
131 134
132 // Launch the inspector targeting a point in the RenderView 135 // Launch the inspector targeting a point in the RenderView
133 void Inspect(int x, int y); 136 void Inspect(int x, int y);
134 137
135 // Writes the specified text/url to the system clipboard 138 // Writes the specified text/url to the system clipboard
136 void WriteURLToClipboard(const GURL& url); 139 void WriteURLToClipboard(const GURL& url);
137 140
138 void MediaPlayerActionAt(const gfx::Point& location, 141 void MediaPlayerActionAt(const gfx::Point& location,
(...skipping 26 matching lines...) Expand all
165 168
166 #if defined(ENABLE_PRINT_PREVIEW) 169 #if defined(ENABLE_PRINT_PREVIEW)
167 // An observer that disables menu items when print preview is active. 170 // An observer that disables menu items when print preview is active.
168 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; 171 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
169 #endif 172 #endif
170 173
171 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 174 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
172 }; 175 };
173 176
174 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ 177 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698