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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #import <Quartz/Quartz.h> 9 #import <Quartz/Quartz.h>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // notifications to this object. 45 // notifications to this object.
46 scoped_ptr<DesktopMediaPickerBridge> bridge_; 46 scoped_ptr<DesktopMediaPickerBridge> bridge_;
47 47
48 // Used to create |DesktopMediaPickerItem|s with unique IDs. 48 // Used to create |DesktopMediaPickerItem|s with unique IDs.
49 int lastImageUID_; 49 int lastImageUID_;
50 } 50 }
51 51
52 // Designated initializer. 52 // Designated initializer.
53 // To show the dialog, use |NSWindowController|'s |showWindow:|. 53 // To show the dialog, use |NSWindowController|'s |showWindow:|.
54 // |callback| will be called to report the user's selection. 54 // |callback| will be called to report the user's selection.
55 // |appName| will be used to format the dialog's title and the label. 55 // |appName| will be used to format the dialog's title and the label, where it
56 // appears as the initiator of the request.
57 // |targetName| will be used to format the dialog's label and appear as the
58 // consumer of the requested stream.
56 - (id)initWithMediaList:(scoped_ptr<DesktopMediaList>)media_list 59 - (id)initWithMediaList:(scoped_ptr<DesktopMediaList>)media_list
57 parent:(NSWindow*)parent 60 parent:(NSWindow*)parent
58 callback:(const DesktopMediaPicker::DoneCallback&)callback 61 callback:(const DesktopMediaPicker::DoneCallback&)callback
59 appName:(const base::string16&)appName; 62 appName:(const base::string16&)appName
63 targetName:(const base::string16&)targetName;
60 64
61 @end 65 @end
62 66
63 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_ H_ 67 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698