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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentReadbackHandler.java

Issue 587893002: [Checkstyle] Enable boolean simplification and fix up some issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add no empty statements check Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.content.browser; 5 package org.chromium.content.browser;
6 6
7 import android.graphics.Bitmap; 7 import android.graphics.Bitmap;
8 import android.graphics.Rect; 8 import android.graphics.Rect;
9 import android.util.SparseArray; 9 import android.util.SparseArray;
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 115 }
116 116
117 /** 117 /**
118 * Implemented by the owner of this class to signal whether readback is poss ible or not. 118 * Implemented by the owner of this class to signal whether readback is poss ible or not.
119 * @return Whether readback is possible or not. 119 * @return Whether readback is possible or not.
120 */ 120 */
121 protected abstract boolean readyForReadback(); 121 protected abstract boolean readyForReadback();
122 122
123 private native long nativeInit(); 123 private native long nativeInit();
124 private native void nativeDestroy(long nativeContentReadbackHandler); 124 private native void nativeDestroy(long nativeContentReadbackHandler);
125 private native void nativeGetContentBitmap(long nativeContentReadbackHandler , int readback_id, 125 private native void nativeGetContentBitmap(long nativeContentReadbackHandler , int readbackId,
126 float scale, Bitmap.Config config, float x, float y, float width, fl oat height, 126 float scale, Bitmap.Config config, float x, float y, float width, fl oat height,
127 Object contentViewCore); 127 Object contentViewCore);
128 private native void nativeGetCompositorBitmap(long nativeContentReadbackHand ler, 128 private native void nativeGetCompositorBitmap(long nativeContentReadbackHand ler,
129 int readback_id, long nativeWindowAndroid); 129 int readbackId, long nativeWindowAndroid);
130 } 130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698