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

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

Issue 1845813002: Suspected fix for a tab image caching bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simpler comment Created 4 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
Index: chrome/browser/ui/views/tabs/tab_controller.h
diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h
index fc9093f8d0d0343f3e8e52834bd15e3ebf0e39bb..8ccb0800e845eb202ee1700ea91b73935f91001a 100644
--- a/chrome/browser/ui/views/tabs/tab_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_controller.h
@@ -98,7 +98,9 @@ class TabController {
// in the same window will redraw on top of the the favicon area of any tab.
virtual bool CanPaintThrobberToLayer() const = 0;
- // Returns true if the tabs are in an incognito window.
+ // Returns true if the tabs are in an incognito window. This is used in
+ // determining which theme may have applied to them, so this determination
+ // should match the one in ThemeService::GetThemeProviderForProfile().
virtual bool IsIncognito() const = 0;
// Returns true if tabs should be painted in the rectangular light-bar style.
« no previous file with comments | « chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc ('k') | chrome/browser/ui/views/tabs/tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698