Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: ui/message_center/views/message_center_view.h

Issue 2848523002: Fix use-after-free in MessageListView. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698