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

Unified Diff: chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h

Issue 186133005: Adds extension name to the screencast notification bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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/media_picker/desktop_media_picker_controller.h
diff --git a/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h b/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h
index ea5eecff41112f741bd0b5bcbcf91818a2a994a5..9360205e75f99fb05281f2d1be0b3483c6b1e6c0 100644
--- a/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h
+++ b/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h
@@ -52,11 +52,15 @@
// Designated initializer.
// To show the dialog, use |NSWindowController|'s |showWindow:|.
// |callback| will be called to report the user's selection.
-// |appName| will be used to format the dialog's title and the label.
+// |appName| will be used to format the dialog's title and the label, where it
+// appears as the initiator of the request.
+// |targetName| will be used to format the dialog's label and appear as the
+// consumer of the requested stream.
- (id)initWithMediaList:(scoped_ptr<DesktopMediaList>)media_list
parent:(NSWindow*)parent
callback:(const DesktopMediaPicker::DoneCallback&)callback
- appName:(const base::string16&)appName;
+ appName:(const base::string16&)appName
+ targetName:(const base::string16&)targetName;
@end

Powered by Google App Engine
This is Rietveld 408576698