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

Unified Diff: chrome/browser/cocoa/location_bar_view_mac.mm

Issue 1167004: Adds the source ImageLoadingTracker to OnImageLoaded. I need this in a (Closed)
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/cocoa/location_bar_view_mac.h ('k') | chrome/browser/extensions/image_loading_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/location_bar_view_mac.mm
diff --git a/chrome/browser/cocoa/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar_view_mac.mm
index affcdfabd50d25ddfe327ec241ece44f1c647789..8604b0bc30f77af9d1708d850749126753289070 100644
--- a/chrome/browser/cocoa/location_bar_view_mac.mm
+++ b/chrome/browser/cocoa/location_bar_view_mac.mm
@@ -689,8 +689,8 @@ void LocationBarViewMac::PageActionImageView::OnMousePressed(NSRect bounds) {
}
}
-void LocationBarViewMac::PageActionImageView::OnImageLoaded(SkBitmap* image,
- size_t index) {
+void LocationBarViewMac::PageActionImageView::OnImageLoaded(
+ ImageLoadingTracker* source, SkBitmap* image, size_t index) {
// We loaded icons()->size() icons, plus one extra if the Page Action had
// a default icon.
int total_icons = page_action_->icon_paths()->size();
« no previous file with comments | « chrome/browser/cocoa/location_bar_view_mac.h ('k') | chrome/browser/extensions/image_loading_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698