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

Side by Side Diff: chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h

Issue 1880693002: Desktop Capture Picker New UI: Preliminary Refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 8 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 int lastImageUID_; 55 int lastImageUID_;
56 } 56 }
57 57
58 // Designated initializer. 58 // Designated initializer.
59 // To show the dialog, use |NSWindowController|'s |showWindow:|. 59 // To show the dialog, use |NSWindowController|'s |showWindow:|.
60 // |callback| will be called to report the user's selection. 60 // |callback| will be called to report the user's selection.
61 // |appName| will be used to format the dialog's title and the label, where it 61 // |appName| will be used to format the dialog's title and the label, where it
62 // appears as the initiator of the request. 62 // appears as the initiator of the request.
63 // |targetName| will be used to format the dialog's label and appear as the 63 // |targetName| will be used to format the dialog's label and appear as the
64 // consumer of the requested stream. 64 // consumer of the requested stream.
65 - (id)initWithMediaList:(std::unique_ptr<DesktopMediaList>)media_list 65 - (id)initWithScreenList:(std::unique_ptr<DesktopMediaList>)screen_list
66 parent:(NSWindow*)parent 66 windowList:(std::unique_ptr<DesktopMediaList>)window_list
67 callback:(const DesktopMediaPicker::DoneCallback&)callback 67 tabList:(std::unique_ptr<DesktopMediaList>)tab_list
68 appName:(const base::string16&)appName 68 parent:(NSWindow*)parent
69 targetName:(const base::string16&)targetName 69 callback:(const DesktopMediaPicker::DoneCallback&)callback
70 requestAudio:(bool)requestAudio; 70 appName:(const base::string16&)appName
71 targetName:(const base::string16&)targetName
72 requestAudio:(bool)requestAudio;
71 73
72 @end 74 @end
73 75
74 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_ H_ 76 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_CONTROLLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698