Index: chrome/browser/views/location_bar_view.h |
=================================================================== |
--- chrome/browser/views/location_bar_view.h (revision 19579) |
+++ chrome/browser/views/location_bar_view.h (working copy) |
@@ -332,7 +332,7 @@ |
void UpdateVisibility(TabContents* contents, GURL url); |
// A callback for when the image has loaded. |
- void OnImageLoaded(SkBitmap* image); |
+ void OnImageLoaded(SkBitmap* image, size_t index); |
private: |
// We load the images for the PageActions on the file thread. These tasks |
@@ -350,6 +350,9 @@ |
// us, it resides in the extension of this particular profile. |
const PageAction* page_action_; |
+ // The icons representing different states for the page action. |
+ std::vector<SkBitmap> page_action_icons_; |
+ |
// The object that is waiting for the image loading to complete |
// asynchronously. |
ImageLoadingTracker* tracker_; |
@@ -360,6 +363,9 @@ |
// The URL we are currently showing the icon for. |
GURL current_url_; |
+ // The string to show for a tooltip; |
+ std::string tooltip_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PageActionImageView); |
}; |