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

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

Issue 684133007: Make WebContentsDelegateAndroid pass more calls to Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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.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.CalledByNative; 9 import org.chromium.base.CalledByNative;
10 import org.chromium.base.JNINamespace; 10 import org.chromium.base.JNINamespace;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 100
101 /** 101 /**
102 * Signaled when the render has been deemed to be responsive. 102 * Signaled when the render has been deemed to be responsive.
103 */ 103 */
104 @CalledByNative 104 @CalledByNative
105 public void rendererResponsive() { 105 public void rendererResponsive() {
106 } 106 }
107 107
108 @CalledByNative 108 @CalledByNative
109 public void didNavigateToPendingEntry() {
110 }
111
112 @CalledByNative
113 public void webContentsCreated(long sourceWebContents, long openerRenderFram eId,
114 String frameName, String targetUrl, long newWebContents) {
115 }
116
117 @CalledByNative
118 public boolean shouldCreateWebContents(String targetUrl) {
119 return true;
120 }
121
122 @CalledByNative
123 public boolean onGoToEntryOffset(int offset) {
124 return true;
125 }
126
127 @CalledByNative
109 public void onUpdateUrl(String url) { 128 public void onUpdateUrl(String url) {
110 } 129 }
111 130
112 @CalledByNative 131 @CalledByNative
113 public boolean takeFocus(boolean reverse) { 132 public boolean takeFocus(boolean reverse) {
114 return false; 133 return false;
115 } 134 }
116 135
117 @CalledByNative 136 @CalledByNative
118 public void handleKeyboardEvent(KeyEvent event) { 137 public void handleKeyboardEvent(KeyEvent event) {
(...skipping 27 matching lines...) Expand all
146 165
147 @CalledByNative 166 @CalledByNative
148 public void toggleFullscreenModeForTab(boolean enterFullscreen) { 167 public void toggleFullscreenModeForTab(boolean enterFullscreen) {
149 } 168 }
150 169
151 @CalledByNative 170 @CalledByNative
152 public boolean isFullscreenForTabOrPending() { 171 public boolean isFullscreenForTabOrPending() {
153 return false; 172 return false;
154 } 173 }
155 } 174 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698