Chromium Code Reviews| Index: components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java |
| diff --git a/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java b/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java |
| index 62d24031dc41c8bee70839e77fc42eb0e0486153..11db80d1381d324c671b44e8a6aff91ed4532344 100644 |
| --- a/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java |
| +++ b/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java |
| @@ -26,7 +26,7 @@ public class WebContentsDelegateAndroid { |
| // Equivalent of WebCore::WebConsoleMessage::LevelError. |
| public static final int LOG_LEVEL_ERROR = 3; |
| - // Flags passed to the WebContentsDelegate.navigationStateChanged to tell it |
| + // Flags passed to the WebContentsDelegateAndroid.navigationStateChanged to tell it |
| // what has changed. Should match the values in invalidate_type.h. |
| // Equivalent of InvalidateTypes::INVALIDATE_TYPE_URL. |
| public static final int INVALIDATE_TYPE_URL = 1 << 0; |
| @@ -48,7 +48,7 @@ public class WebContentsDelegateAndroid { |
| } |
| @CalledByNative |
| - public void openNewTab(String url, String extraHeaders, byte[] postData, boolean incognito) { |
| + public void openNewTab(String url, String extraHeaders, byte[] postData, int disposition) { |
|
joth
2013/08/06 04:04:21
could you add a comment saying which class to use
Kibeom Kim (inactive)
2013/08/06 04:36:01
Done.
|
| } |
| @CalledByNative |