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

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

Issue 533553002: Changing the order of weak_ptr_factory in src/ui module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_bubble_base.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) 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 UI_MESSAGE_CENTER_VIEWS_MESSAGE_BUBBLE_BASE_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_BUBBLE_BASE_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_BUBBLE_BASE_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_BUBBLE_BASE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/message_center/message_center.h" 9 #include "ui/message_center/message_center.h"
10 #include "ui/message_center/message_center_export.h" 10 #include "ui/message_center/message_center_export.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 MessageCenter* message_center() { return message_center_; } 63 MessageCenter* message_center() { return message_center_; }
64 MessageCenterTray* tray() { return tray_; } 64 MessageCenterTray* tray() { return tray_; }
65 void set_bubble_view(views::TrayBubbleView* bubble_view) { 65 void set_bubble_view(views::TrayBubbleView* bubble_view) {
66 bubble_view_ = bubble_view; 66 bubble_view_ = bubble_view;
67 } 67 }
68 68
69 private: 69 private:
70 MessageCenter* message_center_; 70 MessageCenter* message_center_;
71 MessageCenterTray* tray_; 71 MessageCenterTray* tray_;
72 views::TrayBubbleView* bubble_view_; 72 views::TrayBubbleView* bubble_view_;
73 int max_height_;
73 base::WeakPtrFactory<MessageBubbleBase> weak_ptr_factory_; 74 base::WeakPtrFactory<MessageBubbleBase> weak_ptr_factory_;
74 int max_height_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(MessageBubbleBase); 76 DISALLOW_COPY_AND_ASSIGN(MessageBubbleBase);
77 }; 77 };
78 78
79 } // namespace message_center 79 } // namespace message_center
80 80
81 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_BUBBLE_BASE_H_ 81 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_BUBBLE_BASE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/message_center/views/message_bubble_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698