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

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

Issue 659493003: Final step of the java_cpp_template -> java_cpp_enum migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 56ac1b2065b12e9b80bbce9c359a9f01f7811ec0..2cc134ad378a205141503fec1c59ea9be7f5a22a 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -46,10 +46,13 @@ class TabAndroid : public CoreTabHelperDelegate,
public SearchTabHelperDelegate,
public content::NotificationObserver {
public:
+ // A Java counterpart will be generated for this enum.
+ // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser
enum TabLoadStatus {
-#define DEFINE_TAB_LOAD_STATUS(name, value) name = value,
-#include "chrome/browser/android/tab_load_status.h"
-#undef DEFINE_TAB_LOAD_STATUS
+ PAGE_LOAD_FAILED = 0,
+ DEFAULT_PAGE_LOAD = 1,
+ PARTIAL_PRERENDERED_PAGE_LOAD = 2,
+ FULL_PRERENDERED_PAGE_LOAD = 3,
};
// Convenience method to retrieve the Tab associated with the passed
« no previous file with comments | « chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.cc ('k') | chrome/browser/android/tab_load_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698