OLD | NEW |
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_MEDIA_NATIVE_DESKTOP_MEDIA_LIST_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_NATIVE_DESKTOP_MEDIA_LIST_H_ |
6 #define CHROME_BROWSER_MEDIA_NATIVE_DESKTOP_MEDIA_LIST_H_ | 6 #define CHROME_BROWSER_MEDIA_NATIVE_DESKTOP_MEDIA_LIST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/sequenced_task_runner.h" | 11 #include "base/sequenced_task_runner.h" |
12 #include "chrome/browser/media/desktop_media_list.h" | 12 #include "chrome/browser/media/desktop_media_list.h" |
13 #include "content/public/browser/desktop_media_id.h" | 13 #include "content/public/browser/desktop_media_id.h" |
14 #include "ui/gfx/image/image_skia.h" | 14 #include "ui/gfx/image/image_skia.h" |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 class ScreenCapturer; | 17 class ScreenCapturer; |
18 class WindowCapturer; | 18 class WindowCapturer; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // Current list of sources. | 92 // Current list of sources. |
93 std::vector<Source> sources_; | 93 std::vector<Source> sources_; |
94 | 94 |
95 base::WeakPtrFactory<NativeDesktopMediaList> weak_factory_; | 95 base::WeakPtrFactory<NativeDesktopMediaList> weak_factory_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(NativeDesktopMediaList); | 97 DISALLOW_COPY_AND_ASSIGN(NativeDesktopMediaList); |
98 }; | 98 }; |
99 | 99 |
100 #endif // CHROME_BROWSER_MEDIA_NATIVE_DESKTOP_MEDIA_LIST_H_ | 100 #endif // CHROME_BROWSER_MEDIA_NATIVE_DESKTOP_MEDIA_LIST_H_ |
OLD | NEW |