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

Unified Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 6879006: Disable the context menu on the keyboard overlay and the print dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/printing/print_dialog_cloud_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_dialog_cloud.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index ea88472424d18ea92dd43403c79b0a63f94c1673..ad3e7a56328cadc74a35fffe98cb5d8cfbd9dd94 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -506,6 +506,11 @@ bool CloudPrintHtmlDialogDelegate::ShouldShowDialogTitle() const {
return false;
}
+bool CloudPrintHtmlDialogDelegate::HandleContextMenu(
+ const ContextMenuParams& params) {
+ return true;
+}
+
// Called from the UI thread, starts up the dialog.
void CreateDialogImpl(const FilePath& path_to_file,
const string16& print_job_title,
« no previous file with comments | « no previous file | chrome/browser/printing/print_dialog_cloud_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698