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

Side by Side Diff: components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java

Issue 2942553002: Remove WebContentsDelegateAndroid::OnGoToEntryOffset (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | components/web_contents_delegate_android/web_contents_delegate_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.components.web_contents_delegate_android; 5 package org.chromium.components.web_contents_delegate_android;
6 6
7 import android.view.KeyEvent; 7 import android.view.KeyEvent;
8 8
9 import org.chromium.base.annotations.CalledByNative; 9 import org.chromium.base.annotations.CalledByNative;
10 import org.chromium.base.annotations.JNINamespace; 10 import org.chromium.base.annotations.JNINamespace;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 public void webContentsCreated(WebContents sourceWebContents, long openerRen derProcessId, 96 public void webContentsCreated(WebContents sourceWebContents, long openerRen derProcessId,
97 long openerRenderFrameId, String frameName, String targetUrl, 97 long openerRenderFrameId, String frameName, String targetUrl,
98 WebContents newWebContents) {} 98 WebContents newWebContents) {}
99 99
100 @CalledByNative 100 @CalledByNative
101 public boolean shouldCreateWebContents(String targetUrl) { 101 public boolean shouldCreateWebContents(String targetUrl) {
102 return true; 102 return true;
103 } 103 }
104 104
105 @CalledByNative 105 @CalledByNative
106 public boolean onGoToEntryOffset(int offset) {
107 return true;
108 }
109
110 @CalledByNative
111 public void onUpdateUrl(String url) { 106 public void onUpdateUrl(String url) {
112 } 107 }
113 108
114 @CalledByNative 109 @CalledByNative
115 public boolean takeFocus(boolean reverse) { 110 public boolean takeFocus(boolean reverse) {
116 return false; 111 return false;
117 } 112 }
118 113
119 @CalledByNative 114 @CalledByNative
120 public void handleKeyboardEvent(KeyEvent event) { 115 public void handleKeyboardEvent(KeyEvent event) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 /** 158 /**
164 * Called when BrowserMediaPlayerManager wants to load a media resource. 159 * Called when BrowserMediaPlayerManager wants to load a media resource.
165 * @param url the URL of media resource to load. 160 * @param url the URL of media resource to load.
166 * @return true to prevent the resource from being loaded. 161 * @return true to prevent the resource from being loaded.
167 */ 162 */
168 @CalledByNative 163 @CalledByNative
169 public boolean shouldBlockMediaRequest(String url) { 164 public boolean shouldBlockMediaRequest(String url) {
170 return false; 165 return false;
171 } 166 }
172 } 167 }
OLDNEW
« no previous file with comments | « no previous file | components/web_contents_delegate_android/web_contents_delegate_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698