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

Side by Side Diff: chrome/browser/ui/views/toolbar_view.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
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void OnInputInProgress(bool in_progress) OVERRIDE; 125 virtual void OnInputInProgress(bool in_progress) OVERRIDE;
126 126
127 // Overridden from chrome::search::SearchModelObserver: 127 // Overridden from chrome::search::SearchModelObserver:
128 virtual void ModeChanged(const chrome::search::Mode& mode) OVERRIDE; 128 virtual void ModeChanged(const chrome::search::Mode& mode) OVERRIDE;
129 129
130 // Overridden from CommandObserver: 130 // Overridden from CommandObserver:
131 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; 131 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE;
132 132
133 // Overridden from views::ButtonListener: 133 // Overridden from views::ButtonListener:
134 virtual void ButtonPressed(views::Button* sender, 134 virtual void ButtonPressed(views::Button* sender,
135 const views::Event& event) OVERRIDE; 135 const ui::Event& event) OVERRIDE;
136 136
137 // Overridden from content::NotificationObserver: 137 // Overridden from content::NotificationObserver:
138 virtual void Observe(int type, 138 virtual void Observe(int type,
139 const content::NotificationSource& source, 139 const content::NotificationSource& source,
140 const content::NotificationDetails& details) OVERRIDE; 140 const content::NotificationDetails& details) OVERRIDE;
141 141
142 // Overridden from ui::AcceleratorProvider: 142 // Overridden from ui::AcceleratorProvider:
143 virtual bool GetAcceleratorForCommandId( 143 virtual bool GetAcceleratorForCommandId(
144 int command_id, ui::Accelerator* accelerator) OVERRIDE; 144 int command_id, ui::Accelerator* accelerator) OVERRIDE;
145 145
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // A list of listeners to call when the menu opens. 243 // A list of listeners to call when the menu opens.
244 ObserverList<views::MenuListener> menu_listeners_; 244 ObserverList<views::MenuListener> menu_listeners_;
245 245
246 content::NotificationRegistrar registrar_; 246 content::NotificationRegistrar registrar_;
247 247
248 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 248 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
249 }; 249 };
250 250
251 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ 251 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698