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

Unified Diff: chrome/browser/views/location_bar_view.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/views/infobars/extension_infobar.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/location_bar_view.h
===================================================================
--- chrome/browser/views/location_bar_view.h (revision 42429)
+++ chrome/browser/views/location_bar_view.h (working copy)
@@ -439,12 +439,13 @@
virtual void ShowInfoBubble();
// Overridden from ImageLoadingTracker.
- virtual void OnImageLoaded(SkBitmap* image, size_t index);
+ virtual void OnImageLoaded(
+ SkBitmap* image, ExtensionResource resource, int index);
// Overridden from ExtensionContextMenuModelModel::Delegate
virtual void InspectPopup(ExtensionAction* action);
- // Overriden from ExtensionPopup::Observer
+ // Overridden from ExtensionPopup::Observer
virtual void ExtensionPopupClosed(ExtensionPopup* popup);
// Called to notify the PageAction that it should determine whether to be
@@ -479,7 +480,7 @@
// The object that is waiting for the image loading to complete
// asynchronously.
- ImageLoadingTracker* tracker_;
+ ImageLoadingTracker tracker_;
// The tab id we are currently showing the icon for.
int current_tab_id_;
« no previous file with comments | « chrome/browser/views/infobars/extension_infobar.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698