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

Unified Diff: components/printing/renderer/print_web_view_helper.h

Issue 2601763002: WebFrame cleanup: Move addMessageToConsole to WebLocalFrame (Closed)
Patch Set: Created 4 years 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: components/printing/renderer/print_web_view_helper.h
diff --git a/components/printing/renderer/print_web_view_helper.h b/components/printing/renderer/print_web_view_helper.h
index 0730f76303b4bc8fc92b8da47e01b6ffc116694a..e603411a8784068311074447e3dcad2177ce2d5e 100644
--- a/components/printing/renderer/print_web_view_helper.h
+++ b/components/printing/renderer/print_web_view_helper.h
@@ -352,7 +352,7 @@ class PrintWebViewHelper
// Return true if script initiated printing is currently
// allowed. |user_initiated| should be true when a user event triggered the
// script, most likely by pressing a print button on the page.
- bool IsScriptInitiatedPrintAllowed(blink::WebFrame* frame,
+ bool IsScriptInitiatedPrintAllowed(blink::WebLocalFrame* frame,
bool user_initiated);
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
@@ -510,7 +510,7 @@ class PrintWebViewHelper
ScriptingThrottler();
// Returns false if script initiated printing occurs too often.
- bool IsAllowed(blink::WebFrame* frame);
+ bool IsAllowed(blink::WebLocalFrame* frame);
// Reset the counter for script initiated printing.
// Scripted printing will be allowed to continue.

Powered by Google App Engine
This is Rietveld 408576698