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

Side by Side Diff: chrome/browser/ui/views/toolbar_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 #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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void OnInputInProgress(bool in_progress) OVERRIDE; 103 virtual void OnInputInProgress(bool in_progress) OVERRIDE;
104 104
105 // Overridden from CommandUpdater::CommandObserver: 105 // Overridden from CommandUpdater::CommandObserver:
106 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; 106 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE;
107 107
108 // Overridden from views::BaseButton::ButtonListener: 108 // Overridden from views::BaseButton::ButtonListener:
109 virtual void ButtonPressed(views::Button* sender, const views::Event& event) 109 virtual void ButtonPressed(views::Button* sender, const views::Event& event)
110 OVERRIDE; 110 OVERRIDE;
111 111
112 // Overridden from NotificationObserver: 112 // Overridden from NotificationObserver:
113 virtual void Observe(NotificationType type, 113 virtual void Observe(int type,
114 const NotificationSource& source, 114 const NotificationSource& source,
115 const NotificationDetails& details) OVERRIDE; 115 const NotificationDetails& details) OVERRIDE;
116 116
117 // Overridden from ui::AcceleratorProvider: 117 // Overridden from ui::AcceleratorProvider:
118 virtual bool GetAcceleratorForCommandId( 118 virtual bool GetAcceleratorForCommandId(
119 int command_id, ui::Accelerator* accelerator) OVERRIDE; 119 int command_id, ui::Accelerator* accelerator) OVERRIDE;
120 120
121 // Overridden from views::View: 121 // Overridden from views::View:
122 virtual gfx::Size GetPreferredSize() OVERRIDE; 122 virtual gfx::Size GetPreferredSize() OVERRIDE;
123 virtual void Layout() OVERRIDE; 123 virtual void Layout() OVERRIDE;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 // Vector of listeners to receive callbacks when the menu opens. 212 // Vector of listeners to receive callbacks when the menu opens.
213 std::vector<views::MenuListener*> menu_listeners_; 213 std::vector<views::MenuListener*> menu_listeners_;
214 214
215 NotificationRegistrar registrar_; 215 NotificationRegistrar registrar_;
216 216
217 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 217 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
218 }; 218 };
219 219
220 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ 220 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/theme_install_bubble_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