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

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

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 years, 3 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
« no previous file with comments | « chrome/browser/media/desktop_media_list_observer.h ('k') | chrome/browser/media/desktop_streams_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 3312037f8d11df900ff92cc262a87648d4f1e506..0000000000000000000000000000000000000000
--- a/chrome/browser/media/desktop_media_picker.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
-#define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
-
-#include <memory>
-
-#include "base/callback_forward.h"
-#include "base/macros.h"
-#include "base/strings/string16.h"
-#include "content/public/browser/desktop_media_id.h"
-#include "ui/gfx/native_widget_types.h"
-
-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 {
- public:
- typedef base::Callback<void(content::DesktopMediaID)> DoneCallback;
-
- // Creates default implementation of DesktopMediaPicker for the current
- // platform.
- static std::unique_ptr<DesktopMediaPicker> Create();
-
- DesktopMediaPicker() {}
- virtual ~DesktopMediaPicker() {}
-
- // Shows dialog with list of desktop media sources (screens, windows, tabs)
- // provided by |screen_list|, |window_list| and |tab_list|.
- // Dialog window will call |done_callback| when user chooses one of the
- // sources or closes the dialog.
- virtual void Show(content::WebContents* web_contents,
- gfx::NativeWindow context,
- gfx::NativeWindow parent,
- const base::string16& app_name,
- const base::string16& target_name,
- std::unique_ptr<DesktopMediaList> screen_list,
- std::unique_ptr<DesktopMediaList> window_list,
- std::unique_ptr<DesktopMediaList> tab_list,
- bool request_audio,
- const DoneCallback& done_callback) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DesktopMediaPicker);
-};
-
-#endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_PICKER_H_
« no previous file with comments | « chrome/browser/media/desktop_media_list_observer.h ('k') | chrome/browser/media/desktop_streams_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698