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

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

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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) 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 CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // views::MenuButtonListener interface. 67 // views::MenuButtonListener interface.
68 virtual void OnMenuButtonClicked(views::View* source, 68 virtual void OnMenuButtonClicked(views::View* source,
69 const gfx::Point& point) OVERRIDE; 69 const gfx::Point& point) OVERRIDE;
70 70
71 // views::WidgetDelegate interface. 71 // views::WidgetDelegate interface.
72 virtual void OnDisplayChanged() OVERRIDE; 72 virtual void OnDisplayChanged() OVERRIDE;
73 virtual void OnWorkAreaChanged() OVERRIDE; 73 virtual void OnWorkAreaChanged() OVERRIDE;
74 74
75 // views::ButtonListener interface. 75 // views::ButtonListener interface.
76 virtual void ButtonPressed(views::Button* sender, 76 virtual void ButtonPressed(views::Button* sender,
77 const views::Event&) OVERRIDE; 77 const ui::Event&) OVERRIDE;
78 78
79 // content::NotificationObserver interface. 79 // content::NotificationObserver interface.
80 virtual void Observe(int type, 80 virtual void Observe(int type,
81 const content::NotificationSource& source, 81 const content::NotificationSource& source,
82 const content::NotificationDetails& details) OVERRIDE; 82 const content::NotificationDetails& details) OVERRIDE;
83 83
84 // ui::AnimationDelegate interface. 84 // ui::AnimationDelegate interface.
85 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 85 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
86 86
87 // Initializes the options menu. 87 // Initializes the options menu.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 content::NotificationRegistrar notification_registrar_; 159 content::NotificationRegistrar notification_registrar_;
160 160
161 // Set to true if this is browser generate web UI. 161 // Set to true if this is browser generate web UI.
162 bool enable_web_ui_; 162 bool enable_web_ui_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); 164 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl);
165 }; 165 };
166 166
167 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ 167 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/network_profile_bubble_view.cc ('k') | chrome/browser/ui/views/notifications/balloon_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698