OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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.chrome.browser; | 5 package org.chromium.chrome.browser; |
6 | 6 |
7 import android.graphics.Rect; | 7 import android.graphics.Rect; |
8 import android.graphics.RectF; | 8 import android.graphics.RectF; |
9 | 9 |
10 import org.chromium.base.annotations.CalledByNative; | 10 import org.chromium.base.annotations.CalledByNative; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
119 int version, int numRects, RectF activeRect) { | 119 int version, int numRects, RectF activeRect) { |
120 return new FindMatchRectsDetails(version, numRects, activeRect); | 120 return new FindMatchRectsDetails(version, numRects, activeRect); |
121 } | 121 } |
122 | 122 |
123 @CalledByNative | 123 @CalledByNative |
124 private static void setMatchRectByIndex( | 124 private static void setMatchRectByIndex( |
125 FindMatchRectsDetails findMatchRectsDetails, int index, RectF rect) { | 125 FindMatchRectsDetails findMatchRectsDetails, int index, RectF rect) { |
126 findMatchRectsDetails.rects[index] = rect; | 126 findMatchRectsDetails.rects[index] = rect; |
127 } | 127 } |
128 | 128 |
129 protected static native void nativeOnRendererUnresponsive(WebContents webCon tents); | |
Maria
2015/09/22 23:23:47
after you merge, you should also be able to reduce
| |
130 protected static native void nativeOnRendererResponsive(WebContents webConte nts); | |
129 protected static native boolean nativeIsCapturingAudio(WebContents webConten ts); | 131 protected static native boolean nativeIsCapturingAudio(WebContents webConten ts); |
130 protected static native boolean nativeIsCapturingVideo(WebContents webConten ts); | 132 protected static native boolean nativeIsCapturingVideo(WebContents webConten ts); |
131 } | 133 } |
OLD | NEW |