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

Unified Diff: android_webview/renderer/aw_print_web_view_helper_delegate.cc

Issue 822133003: Refactor webview to use //components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: android_webview/renderer/aw_print_web_view_helper_delegate.cc
diff --git a/android_webview/renderer/aw_print_web_view_helper_delegate.cc b/android_webview/renderer/aw_print_web_view_helper_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d3ce0ffd9c437a71d1f0a19c545cdc42f32228f0
--- /dev/null
+++ b/android_webview/renderer/aw_print_web_view_helper_delegate.cc
@@ -0,0 +1,22 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "android_webview/renderer/aw_print_web_view_helper_delegate.h"
+
+#include "content/public/renderer/render_view.h"
+#include "third_party/WebKit/public/web/WebElement.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
sgurun-gerrit only 2015/01/16 21:22:04 I don't think you need to include this, just a for
Bernhard Bauer 2015/01/19 10:05:25 Not even that is necessary; WebLocalFrame is alrea
dgn 2015/01/23 15:21:09 Done.
+
sgurun-gerrit only 2015/01/16 21:22:04 scope to android_webview namespace
dgn 2015/01/23 15:21:09 Done.
+AwPrintWebViewHelperDelegate::~AwPrintWebViewHelperDelegate(){
+}
+
+bool AwPrintWebViewHelperDelegate::CancelPrerender(
+ content::RenderView* render_view, int routing_id) {
+ return false;
+}
+
+blink::WebElement AwPrintWebViewHelperDelegate::GetPdfElement(
+ blink::WebLocalFrame* frame) {
+ return blink::WebElement();
+}

Powered by Google App Engine
This is Rietveld 408576698