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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java

Issue 1358923002: Extract TabChromeWebContentsDelegateAndroid into a separate class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrometab10
Patch Set: Move renderer hung calls Created 5 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 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698