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

Unified Diff: chrome/browser/ui/views/tabs/tab_renderer_data.h

Issue 2497373003: Add tab status to accessibility labels (Closed)
Patch Set: Created 4 years, 1 month 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
« chrome/browser/ui/views/tabs/tab.cc ('K') | « chrome/browser/ui/views/tabs/tab.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_renderer_data.h
diff --git a/chrome/browser/ui/views/tabs/tab_renderer_data.h b/chrome/browser/ui/views/tabs/tab_renderer_data.h
index 829de7e559b9b2f8e44154e3c215ed6884297f0e..3a64f6fa96aff0b3f8b9ebb4927aee943f82c275 100644
--- a/chrome/browser/ui/views/tabs/tab_renderer_data.h
+++ b/chrome/browser/ui/views/tabs/tab_renderer_data.h
@@ -17,9 +17,10 @@ struct CHROME_VIEWS_EXPORT TabRendererData {
// may be used to alter the UI (e.g. show different kinds of loading
// animations).
enum NetworkState {
- NETWORK_STATE_NONE, // no network activity.
- NETWORK_STATE_WAITING, // waiting for a connection.
- NETWORK_STATE_LOADING, // connected, transferring data.
+ NETWORK_STATE_NONE = 0, // no network activity.
+ NETWORK_STATE_WAITING = 1, // waiting for a connection.
+ NETWORK_STATE_LOADING = 2, // connected, transferring data.
+ NETWORK_STATE_ERROR = 3, // Encountered a network error.
};
TabRendererData();
« chrome/browser/ui/views/tabs/tab.cc ('K') | « chrome/browser/ui/views/tabs/tab.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698