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

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

Issue 646693003: Removing the CVC parameter from ShowRepostFormWarningDialog Callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review comments. Created 6 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
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;
11 import org.chromium.content.browser.ContentViewCore;
12 11
13 /** 12 /**
14 * Java peer of the native class of the same name. 13 * Java peer of the native class of the same name.
15 */ 14 */
16 @JNINamespace("web_contents_delegate_android") 15 @JNINamespace("web_contents_delegate_android")
17 public class WebContentsDelegateAndroid { 16 public class WebContentsDelegateAndroid {
18 17
19 // Equivalent of WebCore::WebConsoleMessage::LevelTip. 18 // Equivalent of WebCore::WebConsoleMessage::LevelTip.
20 public static final int LOG_LEVEL_TIP = 0; 19 public static final int LOG_LEVEL_TIP = 0;
21 // Equivalent of WebCore::WebConsoleMessage::LevelLog. 20 // Equivalent of WebCore::WebConsoleMessage::LevelLog.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 public boolean addMessageToConsole(int level, String message, int lineNumber , 133 public boolean addMessageToConsole(int level, String message, int lineNumber ,
135 String sourceId) { 134 String sourceId) {
136 return false; 135 return false;
137 } 136 }
138 137
139 /** 138 /**
140 * Report a form resubmission. The overwriter of this function should eventu ally call 139 * Report a form resubmission. The overwriter of this function should eventu ally call
141 * either of ContentViewCore.ContinuePendingReload or ContentViewCore.Cancel PendingReload. 140 * either of ContentViewCore.ContinuePendingReload or ContentViewCore.Cancel PendingReload.
142 */ 141 */
143 @CalledByNative 142 @CalledByNative
144 public void showRepostFormWarningDialog(ContentViewCore contentViewCore) { 143 public void showRepostFormWarningDialog() {
145 } 144 }
146 145
147 @CalledByNative 146 @CalledByNative
148 public void toggleFullscreenModeForTab(boolean enterFullscreen) { 147 public void toggleFullscreenModeForTab(boolean enterFullscreen) {
149 } 148 }
150 149
151 @CalledByNative 150 @CalledByNative
152 public boolean isFullscreenForTabOrPending() { 151 public boolean isFullscreenForTabOrPending() {
153 return false; 152 return false;
154 } 153 }
155 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698