| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" | 11 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" |
| 12 #include "ui/views/context_menu_controller.h" | 12 #include "ui/views/context_menu_controller.h" |
| 13 #include "ui/views/controls/button/button.h" | 13 #include "ui/views/controls/button/button.h" |
| 14 #include "ui/views/window/dialog_delegate.h" | 14 #include "ui/views/window/dialog_delegate.h" |
| 15 | 15 |
| 16 namespace ui { | |
| 17 class MenuModel; | |
| 18 } | |
| 19 | |
| 20 namespace views { | 16 namespace views { |
| 21 class Checkbox; | 17 class Checkbox; |
| 22 class LabelButton; | 18 class LabelButton; |
| 23 class MenuRunner; | 19 class MenuRunner; |
| 24 class Widget; | 20 class Widget; |
| 25 } | 21 } |
| 26 | 22 |
| 27 // The media galleries configuration view for Views. It will immediately show | 23 // The media galleries configuration view for Views. It will immediately show |
| 28 // upon construction. | 24 // upon construction. |
| 29 class MediaGalleriesDialogViews : public MediaGalleriesDialog, | 25 class MediaGalleriesDialogViews : public MediaGalleriesDialog, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 100 |
| 105 // True if the user has pressed accept. | 101 // True if the user has pressed accept. |
| 106 bool accepted_; | 102 bool accepted_; |
| 107 | 103 |
| 108 scoped_ptr<views::MenuRunner> context_menu_runner_; | 104 scoped_ptr<views::MenuRunner> context_menu_runner_; |
| 109 | 105 |
| 110 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); | 106 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); |
| 111 }; | 107 }; |
| 112 | 108 |
| 113 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ | 109 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ |
| OLD | NEW |