commit | 3089982ae912ed2ab852032b2e786b331d96122d | [log] [tgz] |
---|---|---|
author | Shimi Zhang <[email protected]> | Fri Jun 16 01:49:55 2017 |
committer | Commit Bot <[email protected]> | Fri Jun 16 17:01:13 2017 |
tree | 49022cd0801fd2a8e2aa34315e8591747d7d6c0b | |
parent | a8745ff6a8d0311622d197f72ac822d828bc0ac1 [diff] [blame] |
[Android] clean pageCountEstimationDone in PrintingController A followup of https://chromium-review.googlesource.com/521205, 1) Removed pageCountEstimationDone in PrintingController/Impl since we are not reporting page count in onLayout stage anymore. 2) Renamed pageCountEstimationDone in PrintingContext to askUserSettings to make it meaningful. 3) Renamed normalizeRanges to convertPageRangesToIntegerArray in PrintingControllerImpl. Bug: 732550 Change-Id: Ia127581fd39f03570cd49fb1ebcb795f23d95b5e Reviewed-on: https://chromium-review.googlesource.com/538042 Reviewed-by: Nicolas Dossou-Gbété <[email protected]> Commit-Queue: Shimi Zhang <[email protected]> Cr-Commit-Position: refs/heads/master@{#480078}
diff --git a/printing/printing_context_android.cc b/printing/printing_context_android.cc index 22e620f..7b5f3b1 100644 --- a/printing/printing_context_android.cc +++ b/printing/printing_context_android.cc
@@ -98,8 +98,8 @@ if (is_scripted) { Java_PrintingContext_showPrintDialog(env, j_printing_context_); } else { - Java_PrintingContext_pageCountEstimationDone(env, j_printing_context_, - max_pages); + Java_PrintingContext_askUserForSettings(env, j_printing_context_, + max_pages); } }