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

Side by Side Diff: chrome/browser/ui/gtk/browser_actions_toolbar_gtk.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_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 Browser* browser() { return browser_; } 55 Browser* browser() { return browser_; }
56 56
57 // Returns the currently selected tab ID, or -1 if there is none. 57 // Returns the currently selected tab ID, or -1 if there is none.
58 int GetCurrentTabId(); 58 int GetCurrentTabId();
59 59
60 // Update the display of all buttons. 60 // Update the display of all buttons.
61 void Update(); 61 void Update();
62 62
63 // NotificationObserver implementation. 63 // NotificationObserver implementation.
64 virtual void Observe(NotificationType type, 64 virtual void Observe(int type,
65 const NotificationSource& source, 65 const NotificationSource& source,
66 const NotificationDetails& details); 66 const NotificationDetails& details);
67 67
68 bool animating() { 68 bool animating() {
69 return resize_animation_.is_animating(); 69 return resize_animation_.is_animating();
70 } 70 }
71 71
72 private: 72 private:
73 friend class BrowserActionButton; 73 friend class BrowserActionButton;
74 74
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 ui::GtkSignalRegistrar signals_; 214 ui::GtkSignalRegistrar signals_;
215 215
216 NotificationRegistrar registrar_; 216 NotificationRegistrar registrar_;
217 217
218 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_; 218 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk); 220 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk);
221 }; 221 };
222 222
223 #endif // CHROME_BROWSER_UI_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 223 #endif // CHROME_BROWSER_UI_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698