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

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

Issue 12326091: Made notification center notifications collapsed and expandable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, rebase, and rebase again! Created 7 years, 9 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 | Annotate | Revision Log
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_NOTIFIER_SETTINGS_VIEW_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_NOTIFIER_SETTINGS_VIEW_H_
6 #define UI_MESSAGE_CENTER_VIEWS_NOTIFIER_SETTINGS_VIEW_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_NOTIFIER_SETTINGS_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 27 matching lines...) Expand all
38 void set_delegate(NotifierSettingsViewDelegate* new_delegate) { 38 void set_delegate(NotifierSettingsViewDelegate* new_delegate) {
39 delegate_ = new_delegate; 39 delegate_ = new_delegate;
40 } 40 }
41 41
42 private: 42 private:
43 class NotifierButton; 43 class NotifierButton;
44 44
45 NotifierSettingsView(NotifierSettingsViewDelegate* delegate); 45 NotifierSettingsView(NotifierSettingsViewDelegate* delegate);
46 virtual ~NotifierSettingsView(); 46 virtual ~NotifierSettingsView();
47 47
48 // views::WidgetDelegate overrides: 48 // Overridden from views::WidgetDelegate:
49 virtual bool CanResize() const OVERRIDE; 49 virtual bool CanResize() const OVERRIDE;
50 virtual string16 GetWindowTitle() const OVERRIDE; 50 virtual string16 GetWindowTitle() const OVERRIDE;
51 virtual void WindowClosing() OVERRIDE; 51 virtual void WindowClosing() OVERRIDE;
52 virtual views::View* GetContentsView() OVERRIDE; 52 virtual views::View* GetContentsView() OVERRIDE;
53 53
54 // views::ButtonListener overrides: 54 // Overridden from views::ButtonListener:
55 virtual void ButtonPressed(views::Button* sender, 55 virtual void ButtonPressed(views::Button* sender,
56 const ui::Event& event) OVERRIDE; 56 const ui::Event& event) OVERRIDE;
57 57
58 NotifierSettingsViewDelegate* delegate_; 58 NotifierSettingsViewDelegate* delegate_;
59 std::set<NotifierButton*> buttons_; 59 std::set<NotifierButton*> buttons_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(NotifierSettingsView); 61 DISALLOW_COPY_AND_ASSIGN(NotifierSettingsView);
62 }; 62 };
63 63
64 } // namespace message_center 64 } // namespace message_center
65 65
66 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFIER_SETTINGS_VIEW_H_ 66 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFIER_SETTINGS_VIEW_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | ui/message_center/views/notifier_settings_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698