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

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

Issue 12212053: Moves calling TaskbarList::SetOverlayIcon to a separate thread. It (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk Created 7 years, 10 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/browser/ui/views/avatar_menu_button.cc ('k') | chrome/browser/ui/views/frame/taskbar_decorator.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 74e04ee6b45cc5cdda187a9eec1336d02cf3b17b..10cbc9db0daefedb3f12a2d863d89d61e7892a12 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
@@ -12,6 +12,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/ui/views/avatar_menu_button.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
+#include "chrome/browser/ui/views/frame/taskbar_decorator.h"
#include "grit/theme_resources.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
@@ -71,9 +72,9 @@ void BrowserNonClientFrameView::UpdateAvatarInfo() {
// need to draw the taskbar decoration.
if (AvatarMenuModel::ShouldShowAvatarMenu() ||
ManagedMode::IsInManagedMode()) {
- DrawTaskBarDecoration(frame_->GetNativeWindow(), &avatar);
+ chrome::DrawTaskbarDecoration(frame_->GetNativeWindow(), &avatar);
} else {
- DrawTaskBarDecoration(frame_->GetNativeWindow(), NULL);
+ chrome::DrawTaskbarDecoration(frame_->GetNativeWindow(), NULL);
}
}
« no previous file with comments | « chrome/browser/ui/views/avatar_menu_button.cc ('k') | chrome/browser/ui/views/frame/taskbar_decorator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698