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

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

Issue 89683003: Rename DesktopMediaPickerModel[Impl]->[Native]DesktopMediaList (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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.h ('k') | chrome/browser/media/desktop_media_picker.h » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..2d9b8b6e4afa32ae8918f4a615978f7bea428337
--- /dev/null
+++ b/chrome/browser/media/desktop_media_list_observer.h
@@ -0,0 +1,21 @@
+// 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_LIST_OBSERVER_H_
+#define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_OBSERVER_H_
+
+// 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 OnSourceNameChanged(int index) = 0;
+ virtual void OnSourceThumbnailChanged(int index) = 0;
+
+ protected:
+ virtual ~DesktopMediaListObserver() {}
+};
+
+#endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_OBSERVER_H_
« no previous file with comments | « chrome/browser/media/desktop_media_list.h ('k') | chrome/browser/media/desktop_media_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698