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

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: 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
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..79854d35624d1fca18d1bdeb8ffe0e08b0b705fb 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.h
+++ b/chrome/browser/tab_contents/thumbnail_generator.h
@@ -144,7 +144,13 @@ 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(
+ void UpdateThumbnailWithBitmap(
+ base::WeakPtr<content::WebContents> web_contents,
brettw 2012/07/12 19:20:26 Can you pass this weak ptr by const ref? Otherwise
mazda 2012/07/12 21:23:25 Done.
+ 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(
base::WeakPtr<content::WebContents> web_contents,
brettw 2012/07/12 19:20:26 Ditto for const ref.
mazda 2012/07/12 21:23:25 Done.
skia::PlatformCanvas* temp_canvas,
bool result);
« no previous file with comments | « no previous file | chrome/browser/tab_contents/thumbnail_generator.cc » ('j') | chrome/browser/tab_contents/thumbnail_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698