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

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

Issue 177013006: [Android] Move LoadUrl from Tab upstream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 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
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_load_status.h
diff --git a/chrome/browser/android/tab_load_status.h b/chrome/browser/android/tab_load_status.h
new file mode 100644
index 0000000000000000000000000000000000000000..3707b750b81597eafb74450a20c3817cc71cc44d
--- /dev/null
+++ b/chrome/browser/android/tab_load_status.h
@@ -0,0 +1,15 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Intentionally no include guards because this file is meant to be included
+// inside a macro to generate enum values.
+
+#ifndef DEFINE_TAB_LOAD_STATUS
+#error "Please define DEFINE_TAB_LOAD_STATUS before including this file."
+#endif
+
+DEFINE_TAB_LOAD_STATUS(PAGE_LOAD_FAILED, 0)
+DEFINE_TAB_LOAD_STATUS(DEFAULT_PAGE_LOAD, 1)
+DEFINE_TAB_LOAD_STATUS(PARTIAL_PRERENDERED_PAGE_LOAD, 2)
+DEFINE_TAB_LOAD_STATUS(FULL_PRERENDERED_PAGE_LOAD, 3)
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698