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

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

Issue 2653963002: [Experimental] Supporting OOPIF printing
Patch Set: Rename service, fix for webview, and connect to DiscardableMemoryManager Created 3 years, 9 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 | « content/public/browser/utility_process_host.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7211fdcd334185658fccdb079a15da1fd66a60b1..d65674cd75ac04189d6244f8524039e56ab7ac45 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -16,6 +16,7 @@
#include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebMeaningfulLayout.h"
+#include "ui/gfx/geometry/rect.h"
#include "v8/include/v8.h"
namespace blink {
@@ -124,6 +125,8 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Called when script in the page calls window.print().
virtual void ScriptedPrint(bool user_initiated) {}
+ virtual void PrintFrame(const gfx::Rect& rect, int src_id) {}
+
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;
« no previous file with comments | « content/public/browser/utility_process_host.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698