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

Side by Side Diff: chrome/browser/ui/gtk/browser_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
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.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) 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_TOOLBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <string> 10 #include <string>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Overridden from MenuGtk::Delegate: 90 // Overridden from MenuGtk::Delegate:
91 virtual void StoppedShowing(); 91 virtual void StoppedShowing();
92 virtual GtkIconSet* GetIconSetForId(int idr); 92 virtual GtkIconSet* GetIconSetForId(int idr);
93 virtual bool AlwaysShowIconForCmd(int command_id) const; 93 virtual bool AlwaysShowIconForCmd(int command_id) const;
94 94
95 // Overridden from ui::AcceleratorProvider: 95 // Overridden from ui::AcceleratorProvider:
96 virtual bool GetAcceleratorForCommandId(int id, 96 virtual bool GetAcceleratorForCommandId(int id,
97 ui::Accelerator* accelerator); 97 ui::Accelerator* accelerator);
98 98
99 // NotificationObserver implementation. 99 // NotificationObserver implementation.
100 virtual void Observe(NotificationType type, 100 virtual void Observe(int type,
101 const NotificationSource& source, 101 const NotificationSource& source,
102 const NotificationDetails& details); 102 const NotificationDetails& details);
103 103
104 Profile* profile() { return profile_; } 104 Profile* profile() { return profile_; }
105 void SetProfile(Profile* profile); 105 void SetProfile(Profile* profile);
106 106
107 // Message that we should react to a state change. 107 // Message that we should react to a state change.
108 void UpdateTabContents(TabContents* contents, bool should_restore_state); 108 void UpdateTabContents(TabContents* contents, bool should_restore_state);
109 109
110 private: 110 private:
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // rendering. 209 // rendering.
210 OwnedWidgetGtk offscreen_entry_; 210 OwnedWidgetGtk offscreen_entry_;
211 211
212 // Manages the home button drop signal handler. 212 // Manages the home button drop signal handler.
213 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; 213 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); 215 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk);
216 }; 216 };
217 217
218 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ 218 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698