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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_renderer_data.h

Issue 2217273002: Desaturate the favicon shown in the tab when a network error is encountered (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/browser/ui/tabs/tab_utils.h" 9 #include "chrome/browser/ui/tabs/tab_utils.h"
10 #include "chrome/browser/ui/views/chrome_views_export.h" 10 #include "chrome/browser/ui/views/chrome_views_export.h"
(...skipping 27 matching lines...) Expand all
38 NetworkState network_state; 38 NetworkState network_state;
39 base::string16 title; 39 base::string16 title;
40 GURL url; 40 GURL url;
41 bool loading; 41 bool loading;
42 base::TerminationStatus crashed_status; 42 base::TerminationStatus crashed_status;
43 bool incognito; 43 bool incognito;
44 bool show_icon; 44 bool show_icon;
45 bool pinned; 45 bool pinned;
46 bool blocked; 46 bool blocked;
47 bool app; 47 bool app;
48 bool network_error;
sky 2016/08/11 20:46:21 Can this be merged into the NetworkState enum abov
edwardjung 2016/08/12 14:42:55 Done. Although not sure it's as clean as we now ha
48 TabAlertState alert_state; 49 TabAlertState alert_state;
49 }; 50 };
50 51
51 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ 52 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698