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

Side by Side Diff: chrome/browser/ui/views/notifications/balloon_view.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Draws the view for the balloons. 5 // Draws the view for the balloons.
6 6
7 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ 7 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_
8 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ 8 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // views::WidgetDelegate interface. 74 // views::WidgetDelegate interface.
75 virtual void OnDisplayChanged() OVERRIDE; 75 virtual void OnDisplayChanged() OVERRIDE;
76 virtual void OnWorkAreaChanged() OVERRIDE; 76 virtual void OnWorkAreaChanged() OVERRIDE;
77 77
78 // views::ButtonListener interface. 78 // views::ButtonListener interface.
79 virtual void ButtonPressed( 79 virtual void ButtonPressed(
80 views::Button* sender, const views::Event&) OVERRIDE; 80 views::Button* sender, const views::Event&) OVERRIDE;
81 81
82 // NotificationObserver interface. 82 // NotificationObserver interface.
83 virtual void Observe(NotificationType type, 83 virtual void Observe(int type,
84 const NotificationSource& source, 84 const NotificationSource& source,
85 const NotificationDetails& details) OVERRIDE; 85 const NotificationDetails& details) OVERRIDE;
86 86
87 // ui::AnimationDelegate interface. 87 // ui::AnimationDelegate interface.
88 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 88 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
89 89
90 // Launches the options menu at screen coordinates |pt|. 90 // Launches the options menu at screen coordinates |pt|.
91 void RunOptionsMenu(const gfx::Point& pt); 91 void RunOptionsMenu(const gfx::Point& pt);
92 92
93 // Initializes the options menu. 93 // Initializes the options menu.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_; 161 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_;
162 scoped_ptr<views::Menu2> options_menu_menu_; 162 scoped_ptr<views::Menu2> options_menu_menu_;
163 views::MenuButton* options_menu_button_; 163 views::MenuButton* options_menu_button_;
164 164
165 NotificationRegistrar notification_registrar_; 165 NotificationRegistrar notification_registrar_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); 167 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl);
168 }; 168 };
169 169
170 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ 170 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/notifications/balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698