| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_ | |
| 6 #define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_ | |
| 7 | |
| 8 #include "ui/message_center/message_view.h" | |
| 9 #include "ui/message_center/notification_list.h" | |
| 10 | |
| 11 namespace views { | |
| 12 class ImageView; | |
| 13 class LabelButton; | |
| 14 } | |
| 15 | |
| 16 namespace message_center { | |
| 17 | |
| 18 // A comprehensive message view. | |
| 19 class BaseFormatView : public MessageView { | |
| 20 public: | |
| 21 BaseFormatView(NotificationList::Delegate* list_delegate, | |
| 22 const NotificationList::Notification& notification); | |
| 23 virtual ~BaseFormatView(); | |
| 24 | |
| 25 // MessageView | |
| 26 virtual void SetUpView() OVERRIDE; | |
| 27 | |
| 28 // views::ButtonListener | |
| 29 virtual void ButtonPressed(views::Button* sender, | |
| 30 const ui::Event& event) OVERRIDE; | |
| 31 | |
| 32 protected: | |
| 33 BaseFormatView(); | |
| 34 | |
| 35 views::LabelButton* button_one_; | |
| 36 views::LabelButton* button_two_; | |
| 37 | |
| 38 DISALLOW_COPY_AND_ASSIGN(BaseFormatView); | |
| 39 }; | |
| 40 | |
| 41 } // namespace message_center | |
| 42 | |
| 43 #endif // UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_ | |
| OLD | NEW |