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

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: delete some more template files 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 308fd6f2408607a47a8ad44bb845c84b71048155..52f97e26a5f4d261a5c54fe18c7a1e01defcd606 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

Powered by Google App Engine
This is Rietveld 408576698