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

Unified Diff: chrome/browser/media/desktop_media_picker.h

Issue 281383008: Made desktop capture screen tab-constrained in ASH (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/media/desktop_media_picker.h
diff --git a/chrome/browser/media/desktop_media_picker.h b/chrome/browser/media/desktop_media_picker.h
index 53752c857342e7eb30e7424548c4ff7f8408e72b..eec141a94aad24ec6de683ba211b3fa84b5adcce 100644
--- a/chrome/browser/media/desktop_media_picker.h
+++ b/chrome/browser/media/desktop_media_picker.h
@@ -14,6 +14,10 @@
class DesktopMediaList;
+namespace content {
+class WebContents;
+}
+
// Abstract interface for desktop media picker UI. It's used by Desktop Media
// API to let user choose a desktop media source.
class DesktopMediaPicker {
@@ -30,7 +34,8 @@ class DesktopMediaPicker {
// Shows dialog with list of desktop media sources (screens, windows, tabs)
// provided by |list| and calls |done_callback| when user chooses one of the
// sources or closes the dialog.
- virtual void Show(gfx::NativeWindow context,
+ virtual void Show(content::WebContents* web_contents,
+ gfx::NativeWindow context,
gfx::NativeWindow parent,
const base::string16& app_name,
const base::string16& target_name,

Powered by Google App Engine
This is Rietveld 408576698