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

Unified Diff: chrome/browser/themes/theme_service.h

Issue 1638063003: [MD] Remove new incognito styling from guest mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | chrome/browser/themes/theme_service.cc » ('j') | chrome/browser/themes/theme_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_service.h
diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h
index b9a14c2182480587c48eba530c23bd06fd8ee830..04442b2df4478ecd669eece3ab4eeea6131c030e 100644
--- a/chrome/browser/themes/theme_service.h
+++ b/chrome/browser/themes/theme_service.h
@@ -175,8 +175,7 @@ class ThemeService : public base::NonThreadSafe,
// track of the incognito state of the calling code.
class BrowserThemeProvider : public ui::ThemeProvider {
public:
- BrowserThemeProvider(const ThemeService& theme_service,
- bool off_the_record);
+ BrowserThemeProvider(const ThemeService& theme_service, bool incognito);
~BrowserThemeProvider() override;
// Overridden from ui::ThemeProvider:
@@ -198,7 +197,7 @@ class ThemeService : public base::NonThreadSafe,
private:
const ThemeService& theme_service_;
- bool off_the_record_;
+ bool incognito_;
DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider);
};
@@ -210,7 +209,7 @@ class ThemeService : public base::NonThreadSafe,
// These methods provide the implementation for ui::ThemeProvider (exposed
// via BrowserThemeProvider).
gfx::ImageSkia* GetImageSkiaNamed(int id) const;
- SkColor GetColor(int id, bool off_the_record) const;
+ SkColor GetColor(int id, bool incognito) const;
int GetDisplayProperty(int id) const;
bool ShouldUseNativeFrame() const;
bool HasCustomImage(int id) const;
« no previous file with comments | « no previous file | chrome/browser/themes/theme_service.cc » ('j') | chrome/browser/themes/theme_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698