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

Side by Side Diff: printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java

Issue 654293002: Fix Java indentation issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 package org.chromium.printing; 5 package org.chromium.printing;
6 6
7 import android.os.Bundle; 7 import android.os.Bundle;
8 import android.os.CancellationSignal; 8 import android.os.CancellationSignal;
9 import android.os.ParcelFileDescriptor; 9 import android.os.ParcelFileDescriptor;
10 import android.print.PageRange; 10 import android.print.PageRange;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 * thereafter. 122 * thereafter.
123 * 123 *
124 * @return The singleton instance. 124 * @return The singleton instance.
125 */ 125 */
126 public static PrintingController getInstance() { 126 public static PrintingController getInstance() {
127 return sInstance; 127 return sInstance;
128 } 128 }
129 129
130 @Override 130 @Override
131 public boolean hasPrintingFinished() { 131 public boolean hasPrintingFinished() {
132 return mPrintingState == PRINTING_STATE_FINISHED; 132 return mPrintingState == PRINTING_STATE_FINISHED;
133 } 133 }
134 134
135 @Override 135 @Override
136 public int getDpi() { 136 public int getDpi() {
137 return mDpi; 137 return mDpi;
138 } 138 }
139 139
140 @Override 140 @Override
141 public int getFileDescriptor() { 141 public int getFileDescriptor() {
142 return mFileDescriptor; 142 return mFileDescriptor;
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 378
379 // Convert the list into array. 379 // Convert the list into array.
380 int[] ret = new int[pages.size()]; 380 int[] ret = new int[pages.size()];
381 Iterator<Integer> iterator = pages.iterator(); 381 Iterator<Integer> iterator = pages.iterator();
382 for (int i = 0; i < ret.length; i++) { 382 for (int i = 0; i < ret.length; i++) {
383 ret[i] = iterator.next().intValue(); 383 ret[i] = iterator.next().intValue();
384 } 384 }
385 return ret; 385 return ret;
386 } 386 }
387 } 387 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698