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. |