| Index: android_webview/native/aw_pdf_exporter.h
|
| diff --git a/android_webview/native/aw_pdf_exporter.h b/android_webview/native/aw_pdf_exporter.h
|
| deleted file mode 100644
|
| index 6145e86e4786de6125844dd2544e3e1100917fbc..0000000000000000000000000000000000000000
|
| --- a/android_webview/native/aw_pdf_exporter.h
|
| +++ /dev/null
|
| @@ -1,57 +0,0 @@
|
| -// Copyright 2013 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.
|
| -
|
| -#ifndef ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_
|
| -#define ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_
|
| -
|
| -#include <jni.h>
|
| -
|
| -#include "base/android/jni_weak_ref.h"
|
| -#include "base/android/scoped_java_ref.h"
|
| -#include "base/macros.h"
|
| -
|
| -#include "printing/page_range.h"
|
| -
|
| -namespace content {
|
| -class WebContents;
|
| -};
|
| -
|
| -namespace printing {
|
| -class PrintSettings;
|
| -};
|
| -
|
| -namespace android_webview {
|
| -
|
| -class AwPdfExporter {
|
| - public:
|
| - AwPdfExporter(JNIEnv* env,
|
| - const base::android::JavaRef<jobject>& obj,
|
| - content::WebContents* web_contents);
|
| -
|
| - ~AwPdfExporter();
|
| -
|
| - void ExportToPdf(JNIEnv* env,
|
| - const base::android::JavaParamRef<jobject>& obj,
|
| - int fd,
|
| - jintArray pages,
|
| - const base::android::JavaParamRef<jobject>& cancel_signal);
|
| -
|
| - private:
|
| - void InitPdfSettings(JNIEnv* env,
|
| - const base::android::JavaRef<jobject>& obj,
|
| - const printing::PageRanges& page_ranges,
|
| - printing::PrintSettings& settings);
|
| - void DidExportPdf(int fd, bool success);
|
| -
|
| - JavaObjectWeakGlobalRef java_ref_;
|
| - content::WebContents* web_contents_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(AwPdfExporter);
|
| -};
|
| -
|
| -bool RegisterAwPdfExporter(JNIEnv* env);
|
| -
|
| -} // namespace android_webview
|
| -
|
| -#endif // ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_
|
|
|