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

Side by Side Diff: chrome/browser/ui/gtk/content_setting_bubble_gtk.h

Issue 8632022: Add OVERRIDE to chrome/browser/ui/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 28 matching lines...) Expand all
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 // content::NotificationObserver: 46 // content::NotificationObserver:
47 virtual void Observe(int type, 47 virtual void Observe(int type,
48 const content::NotificationSource& source, 48 const content::NotificationSource& source,
49 const content::NotificationDetails& details); 49 const content::NotificationDetails& details) OVERRIDE;
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);
58 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnRadioToggled); 58 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnRadioToggled);
59 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCustomLinkClicked); 59 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCustomLinkClicked);
(...skipping 23 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/constrained_window_gtk.h ('k') | chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698