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

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

Issue 10946008: Componentize IgnoreNavigationResourceThrottle and add chrome and webview specific implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved jni to component, added Java test code Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 org.chromium.base.CalledByNative; 7 import org.chromium.base.CalledByNative;
8 import org.chromium.chrome.browser.component.web_contents_delegate_android.WebCo ntentsDelegateAndroid; 8 import org.chromium.chrome.browser.component.web_contents_delegate_android.WebCo ntentsDelegateAndroid;
9 9
10 /** 10 /**
11 * Chromium Android specific WebContentsDelegate. 11 * Chromium Android specific WebContentsDelegate.
12 * This file is the Java version of the native class of the same name. 12 * This file is the Java version of the native class of the same name.
13 * It should contain empty WebContentsDelegate methods to be implemented by the embedder. 13 * It should contain empty WebContentsDelegate methods to be implemented by the embedder.
14 * These methods belong to the Chromium Android port but not to WebView. 14 * These methods belong to the Chromium Android port but not to WebView.
15 */ 15 */
16 public class ChromeWebContentsDelegateAndroid extends WebContentsDelegateAndroid { 16 public class ChromeWebContentsDelegateAndroid extends WebContentsDelegateAndroid {
17
joth 2012/10/03 22:01:32 nit: revert this file.
mkosiba (inactive) 2012/10/08 15:09:12 Done.
18 @CalledByNative 17 @CalledByNative
19 public void onFindResultAvailable(FindNotificationDetails result) { 18 public void onFindResultAvailable(FindNotificationDetails result) {
20 } 19 }
21 20
22 @CalledByNative 21 @CalledByNative
23 public void onFindMatchRectsAvailable(FindMatchRectsDetails result) { 22 public void onFindMatchRectsAvailable(FindMatchRectsDetails result) {
24 } 23 }
25 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698