OLD | NEW |
---|---|
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 #ifndef CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_PRINT_WEB_VIEW_HELPER_DELEGATE_H_ |
6 #define CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_PRINT_WEB_VIEW_HELPER_DELEGATE_H_ |
7 | 7 |
8 #include "components/printing/renderer/print_web_view_helper.h" | 8 #include "components/printing/renderer/print_web_view_helper.h" |
9 | 9 |
sgurun-gerrit only
2015/01/16 21:22:04
this class is not scoped, is it not needed?
|
sgurun-gerrit only
2015/01/16 21:22:04
scope to android_webview namespace
dgn
2015/01/23 15:21:09
Done.
|
10 class ChromePrintWebViewHelperDelegate | 10 class AwPrintWebViewHelperDelegate |
11 : public printing::PrintWebViewHelper::Delegate { | 11 : public printing::PrintWebViewHelper::Delegate { |
12 public: | 12 public: |
13 ~ChromePrintWebViewHelperDelegate() override; | 13 ~AwPrintWebViewHelperDelegate() override; |
14 | |
15 bool CancelPrerender(content::RenderView* render_view, | 14 bool CancelPrerender(content::RenderView* render_view, |
16 int routing_id) override; | 15 int routing_id) override; |
17 | |
18 blink::WebElement GetPdfElement(blink::WebLocalFrame* frame) override; | 16 blink::WebElement GetPdfElement(blink::WebLocalFrame* frame) override; |
19 | 17 |
20 }; // class ChromePrintWebViewHelperDelegate | 18 }; // class AwPrintWebViewHelperDelegate |
21 | 19 |
22 #endif // CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_ | 20 #endif // ANDROID_WEBVIEW_RENDERER_AW_PRINT_WEB_VIEW_HELPER_DELEGATE_H_ |
OLD | NEW |