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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2863203002: Ignore print() during page dismissal. (Closed)
Patch Set: rebase, fix linux build Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 6ec80ab3f12c85853bea5b8d605d67e5a5433a5b..c764a1a12ff8fd1f92808f6db89813109487589a 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -137,6 +137,8 @@ const char* DialogTypeToString(ChromeClient::DialogType dialog_type) {
return "confirm";
case ChromeClient::kPromptDialog:
return "prompt";
+ case ChromeClient::kPrintDialog:
+ return "print";
case ChromeClient::kHTMLDialog:
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698