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

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

Issue 1554243002: Add CombinedDesktopMediaList. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_ash.cc ('k') | chrome/browser/media/native_desktop_media_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/desktop_media_list_observer.h
diff --git a/chrome/browser/media/desktop_media_list_observer.h b/chrome/browser/media/desktop_media_list_observer.h
index 1988f52b5bca12547775721e99089833ae868162..92b809d2f7dd2766523f71c1f3071b699170d624 100644
--- a/chrome/browser/media/desktop_media_list_observer.h
+++ b/chrome/browser/media/desktop_media_list_observer.h
@@ -5,15 +5,19 @@
#ifndef CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_OBSERVER_H_
#define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_OBSERVER_H_
+class DesktopMediaList;
+
// Interface implemented by the desktop media picker dialog to receive
// notifications about changes in DesktopMediaList.
class DesktopMediaListObserver {
public:
- virtual void OnSourceAdded(int index) = 0;
- virtual void OnSourceRemoved(int index) = 0;
- virtual void OnSourceMoved(int old_index, int new_index) = 0;
- virtual void OnSourceNameChanged(int index) = 0;
- virtual void OnSourceThumbnailChanged(int index) = 0;
+ virtual void OnSourceAdded(DesktopMediaList* list, int index) = 0;
+ virtual void OnSourceRemoved(DesktopMediaList* list, int index) = 0;
+ virtual void OnSourceMoved(DesktopMediaList* list,
+ int old_index,
+ int new_index) = 0;
+ virtual void OnSourceNameChanged(DesktopMediaList* list, int index) = 0;
+ virtual void OnSourceThumbnailChanged(DesktopMediaList* list, int index) = 0;
protected:
virtual ~DesktopMediaListObserver() {}
« no previous file with comments | « chrome/browser/media/desktop_media_list_ash.cc ('k') | chrome/browser/media/native_desktop_media_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698