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

Unified Diff: android_webview/renderer/aw_print_web_view_helper_delegate.h

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.h
diff --git a/chrome/renderer/printing/chrome_print_web_view_helper_delegate.h b/android_webview/renderer/aw_print_web_view_helper_delegate.h
similarity index 57%
copy from chrome/renderer/printing/chrome_print_web_view_helper_delegate.h
copy to android_webview/renderer/aw_print_web_view_helper_delegate.h
index 2561a599dd3e9052efbeb1789cb4a31a2287a27c..1d1af1dcaad8d136f2a5a07ffbd2f9ab739bfd77 100644
--- a/chrome/renderer/printing/chrome_print_web_view_helper_delegate.h
+++ b/android_webview/renderer/aw_print_web_view_helper_delegate.h
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
-#define CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
+#ifndef AW_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
+#define AW_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
#include "components/printing/renderer/print_web_view_helper.h"
-class ChromePrintWebViewHelperDelegate
+class AwPrintWebViewHelperDelegate
: public printing::PrintWebViewHelper::Delegate {
public:
- ~ChromePrintWebViewHelperDelegate() override;
+ ~AwPrintWebViewHelperDelegate() override;
bool CancelPrerender(content::RenderView* render_view,
int routing_id) override;
blink::WebElement GetPdfElement(blink::WebLocalFrame* frame) override;
-}; // class ChromePrintWebViewHelperDelegate
+}; // class AwPrintWebViewHelperDelegate
-#endif // CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
+#endif // AW_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698