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

Unified Diff: content/public/renderer/render_frame_observer.h

Issue 2426503002: Make printing work better with OOPIF. (Closed)
Patch Set: Check GetFrameToPrint and remove another TODO Created 4 years, 1 month 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: content/public/renderer/render_frame_observer.h
diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index 26a01b1af85d09c0e77ce6df79457567d7c3cba8..7b03e59f01c07fcc173d285b48d340bec13b80cf 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -121,6 +121,9 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Called when accessibility is enabled or disabled.
virtual void AccessibilityModeChanged() {}
+ // For printing.
nasko 2016/11/14 20:28:52 nit: Can you add a bit more explanation than "for
Lei Zhang 2016/11/14 23:52:48 Yes, thank you for reminding me to put it in a bet
+ virtual void ScriptedPrint(bool user_initiated) {}
+
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;

Powered by Google App Engine
This is Rietveld 408576698