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

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

Issue 2214323003: Revert of Disable Print in the context menu when a modal dialog is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 bool IsReloadEnabled() const; 157 bool IsReloadEnabled() const;
158 bool IsViewSourceEnabled() const; 158 bool IsViewSourceEnabled() const;
159 bool IsDevCommandEnabled(int id) const; 159 bool IsDevCommandEnabled(int id) const;
160 bool IsTranslateEnabled() const; 160 bool IsTranslateEnabled() const;
161 bool IsSaveLinkAsEnabled() const; 161 bool IsSaveLinkAsEnabled() const;
162 bool IsSaveImageAsEnabled() const; 162 bool IsSaveImageAsEnabled() const;
163 bool IsSaveAsEnabled() const; 163 bool IsSaveAsEnabled() const;
164 bool IsSavePageEnabled() const; 164 bool IsSavePageEnabled() const;
165 bool IsPasteEnabled() const; 165 bool IsPasteEnabled() const;
166 bool IsPasteAndMatchStyleEnabled() const; 166 bool IsPasteAndMatchStyleEnabled() const;
167 bool IsPrintPreviewEnabled() const;
168 bool IsRouteMediaEnabled() const; 167 bool IsRouteMediaEnabled() const;
169 168
170 // Command execution functions. 169 // Command execution functions.
171 void ExecOpenLinkNewTab(); 170 void ExecOpenLinkNewTab();
172 void ExecProtocolHandler(int event_flags, int handler_index); 171 void ExecProtocolHandler(int event_flags, int handler_index);
173 void ExecOpenLinkInProfile(int profile_index); 172 void ExecOpenLinkInProfile(int profile_index);
174 void ExecInspectElement(); 173 void ExecInspectElement();
175 void ExecInspectBackgroundPage(); 174 void ExecInspectBackgroundPage();
176 void ExecSaveLinkAs(); 175 void ExecSaveLinkAs();
177 void ExecSaveAs(); 176 void ExecSaveAs();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 236
238 // In the case of a MimeHandlerView this will point to the WebContents that 237 // In the case of a MimeHandlerView this will point to the WebContents that
239 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as 238 // embeds the MimeHandlerViewGuest. Otherwise this will be the same as
240 // |source_web_contents_|. 239 // |source_web_contents_|.
241 content::WebContents* const embedder_web_contents_; 240 content::WebContents* const embedder_web_contents_;
242 241
243 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 242 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
244 }; 243 };
245 244
246 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ 245 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698