| 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" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 views::LabelButton* auxiliary_button_; | 100 views::LabelButton* auxiliary_button_; |
| 101 | 101 |
| 102 // This tracks whether the confirm button can be clicked. It starts as false | 102 // This tracks whether the confirm button can be clicked. It starts as false |
| 103 // if no checkboxes are ticked. After there is any interaction, or some | 103 // if no checkboxes are ticked. After there is any interaction, or some |
| 104 // checkboxes start checked, this will be true. | 104 // checkboxes start checked, this will be true. |
| 105 bool confirm_available_; | 105 bool confirm_available_; |
| 106 | 106 |
| 107 // True if the user has pressed accept. | 107 // True if the user has pressed accept. |
| 108 bool accepted_; | 108 bool accepted_; |
| 109 | 109 |
| 110 scoped_ptr<views::MenuRunner> context_menu_runner_; | 110 std::unique_ptr<views::MenuRunner> context_menu_runner_; |
| 111 | 111 |
| 112 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); | 112 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogViews); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ | 115 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERIES_DIALOG_VIEWS_H_ |
| OLD | NEW |