summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/browser_actions_toolbar_gtk.cc3
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.cc4
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.h3
3 files changed, 4 insertions, 6 deletions
diff --git a/chrome/browser/gtk/browser_actions_toolbar_gtk.cc b/chrome/browser/gtk/browser_actions_toolbar_gtk.cc
index c652d0b..31d3c24 100644
--- a/chrome/browser/gtk/browser_actions_toolbar_gtk.cc
+++ b/chrome/browser/gtk/browser_actions_toolbar_gtk.cc
@@ -132,8 +132,7 @@ class BrowserActionButton : public NotificationObserver,
}
// ImageLoadingTracker::Observer implementation.
- void OnImageLoaded(ImageLoadingTracker* source, SkBitmap* image,
- size_t index) {
+ void OnImageLoaded(SkBitmap* image, size_t index) {
if (image) {
default_skbitmap_ = *image;
default_icon_ = gfx::GdkPixbufFromSkBitmap(image);
diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc
index 5bc1d5e..34346bb 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/gtk/location_bar_view_gtk.cc
@@ -1178,8 +1178,8 @@ void LocationBarViewGtk::PageActionViewGtk::UpdateVisibility(
}
}
-void LocationBarViewGtk::PageActionViewGtk::OnImageLoaded(
- ImageLoadingTracker* source, SkBitmap* image, size_t index) {
+void LocationBarViewGtk::PageActionViewGtk::OnImageLoaded(SkBitmap* image,
+ size_t index) {
// We loaded icons()->size() icons, plus one extra if the page action had
// a default icon.
size_t total_icons = page_action_->icon_paths()->size();
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h
index 6c92981..2037a2e 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/gtk/location_bar_view_gtk.h
@@ -193,8 +193,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
void UpdateVisibility(TabContents* contents, GURL url);
// A callback from ImageLoadingTracker for when the image has loaded.
- virtual void OnImageLoaded(ImageLoadingTracker* source, SkBitmap* image,
- size_t index);
+ virtual void OnImageLoaded(SkBitmap* image, size_t index);
// Simulate left mouse click on the page action button.
void TestActivatePageAction();