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

Unified Diff: chrome/browser/ui/cocoa/web_intent_bubble_controller.h

Issue 8351008: [Mac] Added tooltip support for web intent picker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: chrome/browser/ui/cocoa/web_intent_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/web_intent_bubble_controller.h b/chrome/browser/ui/cocoa/web_intent_bubble_controller.h
index ec166b4866b904ede8eda98053d40b4ea1961932..a8d4ad602226fd3a0ffa9f0ec105fac3d7f0f0f4 100644
--- a/chrome/browser/ui/cocoa/web_intent_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/web_intent_bubble_controller.h
@@ -25,6 +25,9 @@ class WebIntentPickerCocoa;
// Images for all icons shown in bubble.
scoped_nsobject<NSPointerArray> iconImages_;
+ // URLs associated with the individual services.
+ scoped_nsobject<NSArray> serviceURLs_;
+
// Default icon to use if no icon is specified.
scoped_nsobject<NSImage> defaultIcon_;
@@ -40,6 +43,9 @@ class WebIntentPickerCocoa;
// Replaces the |image| for service at |index|.
- (void)replaceImageAtIndex:(size_t)index withImage:(NSImage*)image;
+// Set the service |urls| for all services.
+- (void)setServiceURLs:(NSArray*)urls;
+
@end // WebIntentBubbleController
#endif // CHROME_BROWSER_UI_COCOA_WEB_INTENT_BUBBLE_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698