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

Side by Side Diff: chrome/browser/ui/cocoa/media_picker/desktop_media_picker_bridge.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 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_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_BRIDGE_H_
6 #define CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_BRIDGE_H_ 6 #define CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_BRIDGE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/media/desktop_media_list.h" 9 #include "chrome/browser/media/webrtc/desktop_media_list.h"
10 #include "chrome/browser/media/desktop_media_list_observer.h" 10 #include "chrome/browser/media/webrtc/desktop_media_list_observer.h"
11 11
12 // Protocol corresponding to |DesktopMediaListObserver|. 12 // Protocol corresponding to |DesktopMediaListObserver|.
13 @protocol DesktopMediaPickerObserver 13 @protocol DesktopMediaPickerObserver
14 - (void)sourceAddedForList:(DesktopMediaList*)list atIndex:(int)index; 14 - (void)sourceAddedForList:(DesktopMediaList*)list atIndex:(int)index;
15 - (void)sourceRemovedForList:(DesktopMediaList*)list atIndex:(int)index; 15 - (void)sourceRemovedForList:(DesktopMediaList*)list atIndex:(int)index;
16 - (void)sourceMovedForList:(DesktopMediaList*)list 16 - (void)sourceMovedForList:(DesktopMediaList*)list
17 from:(int)oldIndex 17 from:(int)oldIndex
18 to:(int)newIndex; 18 to:(int)newIndex;
19 - (void)sourceNameChangedForList:(DesktopMediaList*)list atIndex:(int)index; 19 - (void)sourceNameChangedForList:(DesktopMediaList*)list atIndex:(int)index;
20 - (void)sourceThumbnailChangedForList:(DesktopMediaList*)list 20 - (void)sourceThumbnailChangedForList:(DesktopMediaList*)list
(...skipping 17 matching lines...) Expand all
38 void OnSourceNameChanged(DesktopMediaList* list, int index) override; 38 void OnSourceNameChanged(DesktopMediaList* list, int index) override;
39 void OnSourceThumbnailChanged(DesktopMediaList* list, int index) override; 39 void OnSourceThumbnailChanged(DesktopMediaList* list, int index) override;
40 40
41 private: 41 private:
42 id<DesktopMediaPickerObserver> observer_; // weak; owns this 42 id<DesktopMediaPickerObserver> observer_; // weak; owns this
43 43
44 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPickerBridge); 44 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPickerBridge);
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_BRIDGE_H_ 47 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698