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

Unified Diff: chrome/browser/gtk/location_bar_view_gtk.h

Issue 1075006: Eliminate all UI thread decoding of extension images.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « chrome/browser/gtk/browser_actions_toolbar_gtk.cc ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/location_bar_view_gtk.h
===================================================================
--- chrome/browser/gtk/location_bar_view_gtk.h (revision 42429)
+++ chrome/browser/gtk/location_bar_view_gtk.h (working copy)
@@ -193,7 +193,8 @@
void UpdateVisibility(TabContents* contents, GURL url);
// A callback from ImageLoadingTracker for when the image has loaded.
- virtual void OnImageLoaded(SkBitmap* image, size_t index);
+ virtual void OnImageLoaded(
+ SkBitmap* image, ExtensionResource resource, int index);
// Simulate left mouse click on the page action button.
void TestActivatePageAction();
@@ -237,8 +238,8 @@
GdkPixbuf* last_icon_pixbuf_;
// The object that is waiting for the image loading to complete
- // asynchronously. It will delete itself once it is done.
- ImageLoadingTracker* tracker_;
+ // asynchronously.
+ ImageLoadingTracker tracker_;
// The widgets for this page action.
OwnedWidgetGtk event_box_;
« no previous file with comments | « chrome/browser/gtk/browser_actions_toolbar_gtk.cc ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698