| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
| 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // message center views. | 149 // message center views. |
| 150 views::View* source_view_; | 150 views::View* source_view_; |
| 151 int source_height_; | 151 int source_height_; |
| 152 views::View* target_view_; | 152 views::View* target_view_; |
| 153 int target_height_; | 153 int target_height_; |
| 154 | 154 |
| 155 // True when the widget is closing so that further operations should be | 155 // True when the widget is closing so that further operations should be |
| 156 // ignored. | 156 // ignored. |
| 157 bool is_closing_; | 157 bool is_closing_; |
| 158 | 158 |
| 159 bool is_clearing_ = false; | 159 bool is_clearing_all_notifications_ = false; |
| 160 bool is_locked_ = false; | 160 bool is_locked_ = false; |
| 161 | 161 |
| 162 // Current view mode. During animation, it is the target mode. | 162 // Current view mode. During animation, it is the target mode. |
| 163 Mode mode_ = Mode::BUTTONS_ONLY; | 163 Mode mode_ = Mode::BUTTONS_ONLY; |
| 164 | 164 |
| 165 std::unique_ptr<MessageViewContextMenuController> context_menu_controller_; | 165 std::unique_ptr<MessageViewContextMenuController> context_menu_controller_; |
| 166 | 166 |
| 167 views::FocusManager* focus_manager_ = nullptr; | 167 views::FocusManager* focus_manager_ = nullptr; |
| 168 | 168 |
| 169 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); | 169 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace message_center | 172 } // namespace message_center |
| 173 | 173 |
| 174 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 174 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
| OLD | NEW |