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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
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_NOTIFICATION_VIEW_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
6 #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/message_center/message_center_export.h" 12 #include "ui/message_center/message_center_export.h"
13 #include "ui/message_center/views/message_view.h" 13 #include "ui/message_center/views/message_view.h"
14 #include "ui/views/view_targeter_delegate.h" 14 #include "ui/views/view_targeter_delegate.h"
15 15
16 class GURL;
17
18 namespace views { 16 namespace views {
19 class ProgressBar; 17 class ProgressBar;
20 } 18 }
21 19
22 namespace message_center { 20 namespace message_center {
23 21
24 class BoundedLabel; 22 class BoundedLabel;
25 class MessageCenter;
26 class NotificationButton; 23 class NotificationButton;
27 class PaddedButton;
28 class ProportionalImageView; 24 class ProportionalImageView;
29 25
30 // View that displays all current types of notification (web, basic, image, and 26 // View that displays all current types of notification (web, basic, image, and
31 // list) except the custom notification. Future notification types may be 27 // list) except the custom notification. Future notification types may be
32 // handled by other classes, in which case instances of those classes would be 28 // handled by other classes, in which case instances of those classes would be
33 // returned by the Create() factory method below. 29 // returned by the Create() factory method below.
34 class MESSAGE_CENTER_EXPORT NotificationView 30 class MESSAGE_CENTER_EXPORT NotificationView
35 : public MessageView, 31 : public MessageView,
36 public views::ViewTargeterDelegate { 32 public views::ViewTargeterDelegate {
37 public: 33 public:
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 views::ProgressBar* progress_bar_view_ = nullptr; 102 views::ProgressBar* progress_bar_view_ = nullptr;
107 std::vector<NotificationButton*> action_buttons_; 103 std::vector<NotificationButton*> action_buttons_;
108 std::vector<views::View*> separators_; 104 std::vector<views::View*> separators_;
109 105
110 DISALLOW_COPY_AND_ASSIGN(NotificationView); 106 DISALLOW_COPY_AND_ASSIGN(NotificationView);
111 }; 107 };
112 108
113 } // namespace message_center 109 } // namespace message_center
114 110
115 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ 111 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/message_view.h ('k') | ui/message_center/views/popup_alignment_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698