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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.h

Issue 883153002: Load web contents after tab is created. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/chrome_web_contents_delegate_android.h
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.h b/chrome/browser/android/chrome_web_contents_delegate_android.h
index 1fa17666f4375dad5bb0dad9698a917e5a7b8897..2ca7b8cfb22713af0d9f314238a044923d653c07 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.h
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.h
@@ -27,6 +27,16 @@ class RectF;
namespace chrome {
namespace android {
+// An enum with the result of calling AddNewContents() in Java.
+//
+// A Java counterpart will be generated for this enum.
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser
+enum AddWebContentsResult {
+ ADD_WEB_CONTENTS_RESULT_PROCEED,
+ ADD_WEB_CONTENTS_RESULT_STOP_LOAD,
+ ADD_WEB_CONTENTS_RESULT_STOP_LOAD_AND_DELETE
+};
+
// Chromium Android specific WebContentsDelegate.
// Should contain any WebContentsDelegate implementations required by
// the Chromium Android port but not to be shared with WebView.

Powered by Google App Engine
This is Rietveld 408576698