Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / media_picker / desktop_media_picker_cocoa.h
blob5ca332acc3492d5a53f670be9f87445f9e760fa8
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_COCOA_H_
8 #import "base/mac/scoped_nsobject.h"
9 #include "chrome/browser/media/desktop_media_picker.h"
11 @class DesktopMediaPickerController;
13 // Cocoa's DesktopMediaPicker implementation.
14 class DesktopMediaPickerCocoa : public DesktopMediaPicker {
15 public:
16 DesktopMediaPickerCocoa();
17 virtual ~DesktopMediaPickerCocoa();
19 // Overridden from DesktopMediaPicker:
20 virtual void Show(gfx::NativeWindow context,
21 gfx::NativeWindow parent,
22 const base::string16& app_name,
23 scoped_ptr<DesktopMediaList> media_list,
24 const DoneCallback& done_callback) OVERRIDE;
26 private:
27 base::scoped_nsobject<DesktopMediaPickerController> controller_;
30 #endif // CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_COCOA_H_