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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.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_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index de79e613486089da026d273c047cd5ec4a4b2a4f..a03a3816582a55cad43661f9f2ef8df951b86dce 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -440,8 +440,8 @@ bool BrowserNonClientFrameViewAsh::DoesIntersectRect(
int BrowserNonClientFrameViewAsh::GetTabStripLeftInset() const {
const gfx::Insets insets(GetLayoutInsets(AVATAR_ICON));
const int avatar_right = profile_indicator_icon()
- ? (insets.left() + GetOTRAvatarIcon().width())
- : 0;
+ ? (insets.left() + GetIncognitoAvatarIcon().width())
+ : 0;
return avatar_right + insets.right();
}
@@ -478,7 +478,7 @@ void BrowserNonClientFrameViewAsh::LayoutProfileIndicatorIcon() {
DCHECK(browser_view()->IsTabStripVisible());
#endif
- const gfx::ImageSkia incognito_icon = GetOTRAvatarIcon();
+ const gfx::ImageSkia incognito_icon = GetIncognitoAvatarIcon();
const gfx::Insets avatar_insets = GetLayoutInsets(AVATAR_ICON);
const int avatar_bottom = GetTopInset(false) +
browser_view()->GetTabStripHeight() - avatar_insets.bottom();

Powered by Google App Engine
This is Rietveld 408576698