commit | e13ea6496b80b53b80d6ac7c19e25207caade8e9 | [log] [tgz] |
---|---|---|
author | Wei Li <[email protected]> | Sat Feb 17 07:55:19 2018 |
committer | Commit Bot <[email protected]> | Sat Feb 17 07:55:19 2018 |
tree | 83b42b16cd2e5661a49f094c5ea9385425de8d8d | |
parent | 98260cd1fa08fc8d49772c8ef5d414fd704a7550 [diff] [blame] |
Revert "Revert "Add support for OOPIF printing in renderer"" This reverts commit 39d52aa5aa7f9197e1937749d164dcc77af352e7. Reason: The original CL was reverted just to revert https://chromium-review.googlesource.com/c/chromium/src/+/924245 cleanly. Context is in https://bugs.chromium.org/p/chromium/issues/detail?id=813246 [email protected], [email protected] Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Ibfdb1571cd7fd4d78f9b8ff6c710c587e3cf3464 Reviewed-on: https://chromium-review.googlesource.com/924566 Commit-Queue: Wei Li <[email protected]> Reviewed-by: Wei Li <[email protected]> Cr-Commit-Position: refs/heads/master@{#537540}
diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h index 656d3f39..97762f89 100644 --- a/content/renderer/render_frame_proxy.h +++ b/content/renderer/render_frame_proxy.h
@@ -15,6 +15,7 @@ #include "ipc/ipc_listener.h" #include "ipc/ipc_sender.h" #include "third_party/WebKit/public/common/feature_policy/feature_policy.h" +#include "third_party/WebKit/public/platform/WebCanvas.h" #include "third_party/WebKit/public/platform/WebFocusType.h" #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" #include "third_party/WebKit/public/web/WebRemoteFrame.h" @@ -193,6 +194,7 @@ blink::WebLocalFrame* source) override; void FrameFocused() override; base::UnguessableToken GetDevToolsFrameToken() override; + uint32_t Print(const blink::WebRect& rect, blink::WebCanvas* canvas) override; // IPC handlers void OnDidStartLoading();