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

Side by Side Diff: chrome/browser/media/desktop_media_picker.h

Issue 1644073002: Desktop Share Audio User Permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor Style Change Created 4 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 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_MEDIA_DESKTOP_MEDIA_PICKER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
6 #define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_ 6 #define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 22 matching lines...) Expand all
33 33
34 // Shows dialog with list of desktop media sources (screens, windows, tabs) 34 // Shows dialog with list of desktop media sources (screens, windows, tabs)
35 // provided by |list| and calls |done_callback| when user chooses one of the 35 // provided by |list| and calls |done_callback| when user chooses one of the
36 // sources or closes the dialog. 36 // sources or closes the dialog.
37 virtual void Show(content::WebContents* web_contents, 37 virtual void Show(content::WebContents* web_contents,
38 gfx::NativeWindow context, 38 gfx::NativeWindow context,
39 gfx::NativeWindow parent, 39 gfx::NativeWindow parent,
40 const base::string16& app_name, 40 const base::string16& app_name,
41 const base::string16& target_name, 41 const base::string16& target_name,
42 scoped_ptr<DesktopMediaList> list, 42 scoped_ptr<DesktopMediaList> list,
43 bool request_audio,
43 const DoneCallback& done_callback) = 0; 44 const DoneCallback& done_callback) = 0;
44 45
45 private: 46 private:
46 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPicker); 47 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPicker);
47 }; 48 };
48 49
49 #endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_ 50 #endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698