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

Unified Diff: ui/views/widget/widget_delegate.h

Issue 10408047: Fix bug 105043: Panels [WIN]: For minimize panels, taskbar hover preview show the 4-pixel represent… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: ui/views/widget/widget_delegate.h
diff --git a/ui/views/widget/widget_delegate.h b/ui/views/widget/widget_delegate.h
index 0f9440ac28de7a485797627a804bca6405d9df80..1becfa75b1d59a064560ee9e7003b692c105c5e0 100644
--- a/ui/views/widget/widget_delegate.h
+++ b/ui/views/widget/widget_delegate.h
@@ -147,6 +147,13 @@ class VIEWS_EXPORT WidgetDelegate {
// manage the positions by ourselves.
virtual bool WillProcessWorkAreaChange() const;
+ // Returns the preview image that appears when a user moves the mouse
+ // pointer over the window's thumbnail in the taskbar. This is only supported
+ // int Windows 7 and later.
+ // The returned image should not exceed |size|. If |live| is true, the image
+ // is used for live preview. Otherwise, it is shown as thumbnail.
+ virtual SkBitmap GetPreviewImage(const gfx::Size& size, bool live);
+
protected:
virtual ~WidgetDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698