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

Unified Diff: chrome/browser/tab_contents/thumbnail_generator.h

Issue 10704190: Support in-browser thumbnailing on Windows XP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « no previous file | chrome/browser/tab_contents/thumbnail_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/thumbnail_generator.h
diff --git a/chrome/browser/tab_contents/thumbnail_generator.h b/chrome/browser/tab_contents/thumbnail_generator.h
index 14752972ae45c464906c029b8fc9f7d7c29b7d88..7879c5c6f5e9b52facfdf49b54d62d399ffb8863 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.h
+++ b/chrome/browser/tab_contents/thumbnail_generator.h
@@ -144,8 +144,14 @@ class ThumbnailGenerator : public content::NotificationObserver,
// Called when the bitmap for generating a thumbnail is ready after the
// AsyncUpdateThumbnail invocation. This runs on the UI thread.
- void AsyncUpdateThumbnailFinish(
- base::WeakPtr<content::WebContents> web_contents,
+ void UpdateThumbnailWithBitmap(
+ const base::WeakPtr<content::WebContents>& web_contents,
+ const SkBitmap& bitmap);
+
+ // Called when the canvas for generating a thumbnail is ready after the
+ // AsyncUpdateThumbnail invocation. This runs on the UI thread.
+ void UpdateThumbnailWithCanvas(
+ const base::WeakPtr<content::WebContents>& web_contents,
skia::PlatformCanvas* temp_canvas,
bool result);
« no previous file with comments | « no previous file | chrome/browser/tab_contents/thumbnail_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698