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

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

Issue 10538082: Update use of OTR avatars for touch. We now select (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Aura build, merge to LKGR Created 8 years, 6 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 | « chrome/app/theme/theme_resources_touch_2x.grd ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 405bb62642e71d67bbd5b220ba6f274b2f6d4cfb..42430089d6e415179cb7bb1d5b863bb1c89c962a 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
@@ -52,7 +52,7 @@ void BrowserNonClientFrameView::UpdateAvatarInfo() {
NOTREACHED();
#endif
} else if (browser_view_->IsOffTheRecord()) {
- avatar = rb.GetImageNamed(IDR_OTR_ICON);
+ avatar = rb.GetImageNamed(browser_view_->GetOTRIconResourceID());
} else if (ManagedMode::IsInManagedMode()) {
avatar = rb.GetImageNamed(IDR_MANAGED_MODE_AVATAR);
} else if (AvatarMenuModel::ShouldShowAvatarMenu()) {
« no previous file with comments | « chrome/app/theme/theme_resources_touch_2x.grd ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698