Chromium Code Reviews| 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.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 Loading... | |
| 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; | |
|
benm (inactive)
2014/11/05 14:44:27
same comment as in the .cc, is true the correct de
| |
| 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 Loading... | |
| 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 } |
| OLD | NEW |