diff options
| author | Selim Gurun <sgurun@google.com> | 2013-08-29 12:01:27 -0700 |
|---|---|---|
| committer | Selim Gurun <sgurun@google.com> | 2013-08-30 08:30:52 -0700 |
| commit | 030d8b0d1b6b0879d0ab4e9a218a784f4c110f75 (patch) | |
| tree | 228eceb9ea7b82b701e83d7e7cfdfa9daedf10d2 /core/java/android/webkit/WebViewProvider.java | |
| parent | 0d72b3e052e6289936286af6506bfd9fa8f7646b (diff) | |
| download | frameworks_base-030d8b0d1b6b0879d0ab4e9a218a784f4c110f75.zip frameworks_base-030d8b0d1b6b0879d0ab4e9a218a784f4c110f75.tar.gz frameworks_base-030d8b0d1b6b0879d0ab4e9a218a784f4c110f75.tar.bz2 | |
DO NOT MERGE Printing API changes for supporting better page layout
Bug: 10507857
Change-Id: I3120ebfd11716259b9a83312b95a6a3f98a23d89
Diffstat (limited to 'core/java/android/webkit/WebViewProvider.java')
| -rw-r--r-- | core/java/android/webkit/WebViewProvider.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/java/android/webkit/WebViewProvider.java b/core/java/android/webkit/WebViewProvider.java index 8fe6edf..d625d8a 100644 --- a/core/java/android/webkit/WebViewProvider.java +++ b/core/java/android/webkit/WebViewProvider.java @@ -27,6 +27,8 @@ import android.net.http.SslCertificate; import android.os.Bundle; import android.os.CancellationSignal; import android.os.Message; +import android.os.ParcelFileDescriptor; +import android.print.PrintAttributes; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; @@ -41,7 +43,6 @@ import android.webkit.WebView.PictureListener; import java.io.BufferedWriter; import java.io.File; -import java.io.OutputStream; import java.util.Map; /** @@ -148,8 +149,9 @@ public interface WebViewProvider { public Picture capturePicture(); - public void exportToPdf(OutputStream out, int width, int height, - ValueCallback<Boolean> resultCallback, CancellationSignal cancellationSignal); + public void exportToPdf(ParcelFileDescriptor fd, PrintAttributes attributes, + ValueCallback<Boolean> resultCallback, CancellationSignal cancellationSignal) + throws java.io.IOException; public float getScale(); |
