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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view.cc

Issue 2129373002: Replace all occurrences of words meaning "off the record" with "incognito" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/frame/browser_non_client_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
index 7d886067529b0bac74ff1b05ec8f01e46a9f0de8..98e42f6f43cf99e0c12b93b879e17a008b0dd60b 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
@@ -55,7 +55,7 @@ BrowserNonClientFrameView::~BrowserNonClientFrameView() {
void BrowserNonClientFrameView::OnBrowserViewInitViewsComplete() {}
-gfx::ImageSkia BrowserNonClientFrameView::GetOTRAvatarIcon() const {
+gfx::ImageSkia BrowserNonClientFrameView::GetIncognitoAvatarIcon() const {
if (!ui::MaterialDesignController::IsModeMaterial())
return *GetThemeProviderForProfile()->GetImageSkiaNamed(IDR_OTR_ICON);
const SkColor icon_color = color_utils::PickContrastingColor(
@@ -170,7 +170,7 @@ void BrowserNonClientFrameView::UpdateProfileIndicatorIcon() {
gfx::Image icon;
const Profile* profile = browser_view()->browser()->profile();
if (profile->GetProfileType() == Profile::INCOGNITO_PROFILE) {
- icon = gfx::Image(GetOTRAvatarIcon());
+ icon = gfx::Image(GetIncognitoAvatarIcon());
if (!ui::MaterialDesignController::IsModeMaterial())
profile_indicator_icon_->EnableCanvasFlippingForRTLUI(true);
} else {

Powered by Google App Engine
This is Rietveld 408576698