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

Side by Side Diff: android_webview/renderer/aw_print_web_view_helper_delegate.cc

Issue 2770713003: Enable page selection for WebView printing (Closed)
Patch Set: review fixes 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 unified diff | Download patch
« no previous file with comments | « android_webview/renderer/aw_print_web_view_helper_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/renderer/aw_print_web_view_helper_delegate.h" 5 #include "android_webview/renderer/aw_print_web_view_helper_delegate.h"
6 6
7 #include "third_party/WebKit/public/web/WebElement.h" 7 #include "third_party/WebKit/public/web/WebElement.h"
8 8
9 namespace android_webview { 9 namespace android_webview {
10 10
11 AwPrintWebViewHelperDelegate::~AwPrintWebViewHelperDelegate() {} 11 AwPrintWebViewHelperDelegate::~AwPrintWebViewHelperDelegate() {}
12 12
13 bool AwPrintWebViewHelperDelegate::CancelPrerender( 13 bool AwPrintWebViewHelperDelegate::CancelPrerender(
14 content::RenderFrame* render_frame) { 14 content::RenderFrame* render_frame) {
15 return false; 15 return false;
16 } 16 }
17 17
18 blink::WebElement AwPrintWebViewHelperDelegate::GetPdfElement( 18 blink::WebElement AwPrintWebViewHelperDelegate::GetPdfElement(
19 blink::WebLocalFrame* frame) { 19 blink::WebLocalFrame* frame) {
20 return blink::WebElement(); 20 return blink::WebElement();
21 } 21 }
22 22
23 bool AwPrintWebViewHelperDelegate::IsPrintPreviewEnabled() { 23 bool AwPrintWebViewHelperDelegate::IsPrintPreviewEnabled() {
24 return false; 24 return false;
25 } 25 }
26 26
27 bool AwPrintWebViewHelperDelegate::IsAskPrintSettingsEnabled() {
28 return false;
29 }
30
31 bool AwPrintWebViewHelperDelegate::IsScriptedPrintEnabled() { 27 bool AwPrintWebViewHelperDelegate::IsScriptedPrintEnabled() {
32 return false; 28 return false;
33 } 29 }
34 30
35 bool AwPrintWebViewHelperDelegate::OverridePrint(blink::WebLocalFrame* frame) { 31 bool AwPrintWebViewHelperDelegate::OverridePrint(blink::WebLocalFrame* frame) {
36 return false; 32 return false;
37 } 33 }
38 34
39 } // namespace android_webview 35 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_print_web_view_helper_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698