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

Unified Diff: chrome/browser/ui/views/frame/taskbar_decorator.h

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
Index: chrome/browser/ui/views/frame/taskbar_decorator.h
diff --git a/chrome/browser/ui/views/frame/taskbar_decorator.h b/chrome/browser/ui/views/frame/taskbar_decorator.h
new file mode 100644
index 0000000000000000000000000000000000000000..20584e8375a07b94e41b0f3837090b0dbccd5cfa
--- /dev/null
+++ b/chrome/browser/ui/views/frame/taskbar_decorator.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_TASKBAR_DECORATOR_H_
+#define CHROME_BROWSER_UI_VIEWS_FRAME_TASKBAR_DECORATOR_H_
+
+#include "ui/gfx/native_widget_types.h"
+
+namespace gfx {
+class Image;
+}
+
+namespace chrome {
+
+// Draws a scaled version of the avatar in |image| on the taskbar button
+// associated with top level, visible |window|. Currently only implemented
+// for Windows 7 and above.
+void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image);
+
+}
+
+#endif // CHROME_BROWSER_UI_VIEWS_FRAME_TASKBAR_DECORATOR_H_
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view.cc ('k') | chrome/browser/ui/views/frame/taskbar_decorator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698