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

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.
Robert Sesek 2014/03/05 19:08:27 Document |targetName|
jiayl 2014/03/05 19:12:12 Done.
56 - (id)initWithMediaList:(scoped_ptr<DesktopMediaList>)media_list 56 - (id)initWithMediaList:(scoped_ptr<DesktopMediaList>)media_list
57 parent:(NSWindow*)parent 57 parent:(NSWindow*)parent
58 callback:(const DesktopMediaPicker::DoneCallback&)callback 58 callback:(const DesktopMediaPicker::DoneCallback&)callback
59 appName:(const base::string16&)appName; 59 appName:(const base::string16&)appName
60 targetName:(const base::string16&)targetName;
60 61
61 @end 62 @end
62 63
63 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_ H_ 64 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698