| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // message center views. | 148 // message center views. |
| 149 views::View* source_view_; | 149 views::View* source_view_; |
| 150 int source_height_; | 150 int source_height_; |
| 151 views::View* target_view_; | 151 views::View* target_view_; |
| 152 int target_height_; | 152 int target_height_; |
| 153 | 153 |
| 154 // True when the widget is closing so that further operations should be | 154 // True when the widget is closing so that further operations should be |
| 155 // ignored. | 155 // ignored. |
| 156 bool is_closing_; | 156 bool is_closing_; |
| 157 | 157 |
| 158 bool is_clearing_ = false; | 158 bool is_clearing_all_notifications_ = false; |
| 159 bool is_locked_ = false; | 159 bool is_locked_ = false; |
| 160 | 160 |
| 161 // Current view mode. During animation, it is the target mode. | 161 // Current view mode. During animation, it is the target mode. |
| 162 Mode mode_ = Mode::BUTTONS_ONLY; | 162 Mode mode_ = Mode::BUTTONS_ONLY; |
| 163 | 163 |
| 164 std::unique_ptr<MessageViewContextMenuController> context_menu_controller_; | 164 std::unique_ptr<MessageViewContextMenuController> context_menu_controller_; |
| 165 | 165 |
| 166 views::FocusManager* focus_manager_ = nullptr; | 166 views::FocusManager* focus_manager_ = nullptr; |
| 167 | 167 |
| 168 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); | 168 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace message_center | 171 } // namespace message_center |
| 172 | 172 |
| 173 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ | 173 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ |
| OLD | NEW |