Chromium Code Reviews| 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); |