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

Unified Diff: printing/printing_context_chromeos.cc

Issue 2376193006: Disable Ctrl+Shift+P on Chrome OS (Closed)
Patch Set: declare what you use Created 4 years, 2 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 | « chrome/common/features.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_chromeos.cc
diff --git a/printing/printing_context_chromeos.cc b/printing/printing_context_chromeos.cc
index ab49d97120dbc0255499c605bdbf1c09308521ab..4d5cca028bdc160ff042522ac4b48633836659f6 100644
--- a/printing/printing_context_chromeos.cc
+++ b/printing/printing_context_chromeos.cc
@@ -165,8 +165,8 @@ void PrintingContextChromeos::AskUserForSettings(
bool has_selection,
bool is_scripted,
const PrintSettingsCallback& callback) {
- // We don't want to bring up a dialog here. Ever. Just signal the callback.
- callback.Run(OK);
+ // We don't want to bring up a dialog here. Ever. This should not be called.
+ NOTREACHED();
}
PrintingContext::Result PrintingContextChromeos::UseDefaultSettings() {
« no previous file with comments | « chrome/common/features.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698