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

Side by Side Diff: chrome/browser/ui/gtk/content_setting_bubble_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_CONTENT_SETTING_BUBBLE_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 26 matching lines...) Expand all
37 // Dismisses the bubble. 37 // Dismisses the bubble.
38 void Close(); 38 void Close();
39 39
40 private: 40 private:
41 typedef std::map<GtkWidget*, int> PopupMap; 41 typedef std::map<GtkWidget*, int> PopupMap;
42 42
43 // BubbleDelegateGtk: 43 // BubbleDelegateGtk:
44 virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE; 44 virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE;
45 45
46 // NotificationObserver: 46 // NotificationObserver:
47 virtual void Observe(NotificationType type, 47 virtual void Observe(int type,
48 const NotificationSource& source, 48 const NotificationSource& source,
49 const NotificationDetails& details); 49 const NotificationDetails& details);
50 50
51 // Builds the bubble and all the widgets that it displays. 51 // Builds the bubble and all the widgets that it displays.
52 void BuildBubble(); 52 void BuildBubble();
53 53
54 // Widget callback methods. 54 // Widget callback methods.
55 CHROMEGTK_CALLBACK_1(ContentSettingBubbleGtk, void, OnPopupIconButtonPress, 55 CHROMEGTK_CALLBACK_1(ContentSettingBubbleGtk, void, OnPopupIconButtonPress,
56 GdkEventButton*); 56 GdkEventButton*);
57 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnPopupLinkClicked); 57 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnPopupLinkClicked);
(...skipping 25 matching lines...) Expand all
83 83
84 // Stored controls so we can figure out what was clicked. 84 // Stored controls so we can figure out what was clicked.
85 PopupMap popup_links_; 85 PopupMap popup_links_;
86 PopupMap popup_icons_; 86 PopupMap popup_icons_;
87 87
88 typedef std::vector<GtkWidget*> RadioGroupGtk; 88 typedef std::vector<GtkWidget*> RadioGroupGtk;
89 RadioGroupGtk radio_group_gtk_; 89 RadioGroupGtk radio_group_gtk_;
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ 92 #endif // CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/collected_cookies_gtk.cc ('k') | chrome/browser/ui/gtk/content_setting_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698