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

Side by Side Diff: chrome/browser/gtk/content_blocked_bubble_gtk.h

Issue 1360007: Implement the geolocation bubble for GTK... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_CONTENT_BLOCKED_BUBBLE_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_CONTENT_BLOCKED_BUBBLE_GTK_H_
6 #define CHROME_BROWSER_GTK_CONTENT_BLOCKED_BUBBLE_GTK_H_ 6 #define CHROME_BROWSER_GTK_CONTENT_BLOCKED_BUBBLE_GTK_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 GdkEventButton* event, 56 GdkEventButton* event,
57 ContentSettingBubbleGtk* bubble); 57 ContentSettingBubbleGtk* bubble);
58 static void OnPopupLinkClicked(GtkWidget* button, 58 static void OnPopupLinkClicked(GtkWidget* button,
59 ContentSettingBubbleGtk* bubble); 59 ContentSettingBubbleGtk* bubble);
60 static void OnRadioToggled(GtkWidget* widget, 60 static void OnRadioToggled(GtkWidget* widget,
61 ContentSettingBubbleGtk* bubble); 61 ContentSettingBubbleGtk* bubble);
62 static void OnCloseButtonClicked(GtkButton *button, 62 static void OnCloseButtonClicked(GtkButton *button,
63 ContentSettingBubbleGtk* bubble); 63 ContentSettingBubbleGtk* bubble);
64 static void OnManageLinkClicked(GtkButton* button, 64 static void OnManageLinkClicked(GtkButton* button,
65 ContentSettingBubbleGtk* bubble); 65 ContentSettingBubbleGtk* bubble);
66 static void OnClearLinkClicked(GtkButton* button,
67 ContentSettingBubbleGtk* bubble);
66 68
67 // A reference to the toplevel browser window, which we pass to the 69 // A reference to the toplevel browser window, which we pass to the
68 // InfoBubbleGtk implementation so it can tell the WM that it's a subwindow. 70 // InfoBubbleGtk implementation so it can tell the WM that it's a subwindow.
69 GtkWindow* toplevel_window_; 71 GtkWindow* toplevel_window_;
70 72
71 // Positioning information for the info bubble. 73 // Positioning information for the info bubble.
72 gfx::Rect bounds_; 74 gfx::Rect bounds_;
73 75
74 // The active profile. 76 // The active profile.
75 Profile* profile_; 77 Profile* profile_;
(...skipping 15 matching lines...) Expand all
91 93
92 // Stored controls so we can figure out what was clicked. 94 // Stored controls so we can figure out what was clicked.
93 PopupMap popup_links_; 95 PopupMap popup_links_;
94 PopupMap popup_icons_; 96 PopupMap popup_icons_;
95 97
96 typedef std::vector<GtkWidget*> RadioGroupGtk; 98 typedef std::vector<GtkWidget*> RadioGroupGtk;
97 std::vector<RadioGroupGtk> radio_groups_gtk_; 99 std::vector<RadioGroupGtk> radio_groups_gtk_;
98 }; 100 };
99 101
100 #endif // CHROME_BROWSER_GTK_CONTENT_BLOCKED_BUBBLE_GTK_H_ 102 #endif // CHROME_BROWSER_GTK_CONTENT_BLOCKED_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/content_blocked_bubble_gtk.cc » ('j') | chrome/browser/gtk/content_blocked_bubble_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698