OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_VIEWS_DESKTOP_MEDIA_PICKER_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_DESKTOP_MEDIA_PICKER_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_DESKTOP_MEDIA_PICKER_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_DESKTOP_MEDIA_PICKER_VIEWS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/media/desktop_media_list_observer.h" | 9 #include "chrome/browser/media/desktop_media_list_observer.h" |
9 #include "chrome/browser/media/desktop_media_picker.h" | 10 #include "chrome/browser/media/desktop_media_picker.h" |
10 #include "ui/views/window/dialog_delegate.h" | 11 #include "ui/views/window/dialog_delegate.h" |
11 | 12 |
12 namespace views { | 13 namespace views { |
13 class ImageView; | 14 class ImageView; |
14 class Label; | 15 class Label; |
15 } // namespace views | 16 } // namespace views |
16 | 17 |
17 class DesktopMediaPickerDialogView; | 18 class DesktopMediaPickerDialogView; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 181 |
181 // The |dialog_| is owned by the corresponding views::Widget instance. | 182 // The |dialog_| is owned by the corresponding views::Widget instance. |
182 // When DesktopMediaPickerViews is destroyed the |dialog_| is destroyed | 183 // When DesktopMediaPickerViews is destroyed the |dialog_| is destroyed |
183 // asynchronously by closing the widget. | 184 // asynchronously by closing the widget. |
184 DesktopMediaPickerDialogView* dialog_; | 185 DesktopMediaPickerDialogView* dialog_; |
185 | 186 |
186 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPickerViews); | 187 DISALLOW_COPY_AND_ASSIGN(DesktopMediaPickerViews); |
187 }; | 188 }; |
188 | 189 |
189 #endif // CHROME_BROWSER_UI_VIEWS_DESKTOP_MEDIA_PICKER_VIEWS_H_ | 190 #endif // CHROME_BROWSER_UI_VIEWS_DESKTOP_MEDIA_PICKER_VIEWS_H_ |
OLD | NEW |