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

Side by Side Diff: chrome/browser/ui/gtk/infobars/infobar_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_INFOBARS_INFOBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void AddLabelWithInlineLink(const string16& display_text, 69 void AddLabelWithInlineLink(const string16& display_text,
70 const string16& link_text, 70 const string16& link_text,
71 size_t link_offset, 71 size_t link_offset,
72 GCallback callback); 72 GCallback callback);
73 73
74 // InfoBar: 74 // InfoBar:
75 virtual void PlatformSpecificShow(bool animate) OVERRIDE; 75 virtual void PlatformSpecificShow(bool animate) OVERRIDE;
76 virtual void PlatformSpecificOnHeightsRecalculated() OVERRIDE; 76 virtual void PlatformSpecificOnHeightsRecalculated() OVERRIDE;
77 77
78 // NotificationObserver: 78 // NotificationObserver:
79 virtual void Observe(NotificationType type, 79 virtual void Observe(int type,
80 const NotificationSource& source, 80 const NotificationSource& source,
81 const NotificationDetails& details) OVERRIDE; 81 const NotificationDetails& details) OVERRIDE;
82 82
83 // The second highest widget in the hierarchy (after the |widget_|). 83 // The second highest widget in the hierarchy (after the |widget_|).
84 GtkWidget* bg_box_; 84 GtkWidget* bg_box_;
85 85
86 // The hbox that holds infobar elements (button, text, icon, etc.). 86 // The hbox that holds infobar elements (button, text, icon, etc.).
87 GtkWidget* hbox_; 87 GtkWidget* hbox_;
88 88
89 // The x that closes the bar. 89 // The x that closes the bar.
(...skipping 15 matching lines...) Expand all
105 void UpdateBorderColor(); 105 void UpdateBorderColor();
106 106
107 // A GtkExpandedContainer that contains |bg_box_| so we can varry the height 107 // A GtkExpandedContainer that contains |bg_box_| so we can varry the height
108 // of the infobar. 108 // of the infobar.
109 OwnedWidgetGtk widget_; 109 OwnedWidgetGtk widget_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(InfoBarGtk); 111 DISALLOW_COPY_AND_ASSIGN(InfoBarGtk);
112 }; 112 };
113 113
114 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_GTK_H_ 114 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_theme_service.cc ('k') | chrome/browser/ui/gtk/infobars/infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698