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

Side by Side Diff: chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h

Issue 10832367: (Gtk only) Remove the "Manage permission settings" link from the Website Settings UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | chrome/browser/ui/gtk/website_settings/website_settings_popup_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Removes all children of |container|. 74 // Removes all children of |container|.
75 void ClearContainer(GtkWidget* container); 75 void ClearContainer(GtkWidget* container);
76 76
77 // Creates a popup section and returns a virtual box that contains the 77 // Creates a popup section and returns a virtual box that contains the
78 // section content. 78 // section content.
79 GtkWidget* CreateSection(std::string section_title, 79 GtkWidget* CreateSection(std::string section_title,
80 GtkWidget* section_content); 80 GtkWidget* section_content);
81 81
82 // Callbacks for the link buttons. 82 // Callbacks for the link buttons.
83 CHROMEGTK_CALLBACK_0(WebsiteSettingsPopupGtk, void, OnCookiesLinkClicked); 83 CHROMEGTK_CALLBACK_0(WebsiteSettingsPopupGtk, void, OnCookiesLinkClicked);
84 CHROMEGTK_CALLBACK_0(WebsiteSettingsPopupGtk, void,
85 OnPermissionsSettingsLinkClicked);
86 CHROMEGTK_CALLBACK_0(WebsiteSettingsPopupGtk, void, OnViewCertLinkClicked); 84 CHROMEGTK_CALLBACK_0(WebsiteSettingsPopupGtk, void, OnViewCertLinkClicked);
87 85
88 // Parent window. 86 // Parent window.
89 GtkWindow* parent_; 87 GtkWindow* parent_;
90 88
91 // The container that contains the content of the popup. 89 // The container that contains the content of the popup.
92 GtkWidget* contents_; 90 GtkWidget* contents_;
93 91
94 // The widget relative to which the popup is positioned. 92 // The widget relative to which the popup is positioned.
95 GtkWidget* anchor_; 93 GtkWidget* anchor_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 scoped_ptr<WebsiteSettings> presenter_; 130 scoped_ptr<WebsiteSettings> presenter_;
133 131
134 // The permission selectors that allow the user to change individual 132 // The permission selectors that allow the user to change individual
135 // permissions. 133 // permissions.
136 ScopedVector<PermissionSelector> selectors_; 134 ScopedVector<PermissionSelector> selectors_;
137 135
138 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupGtk); 136 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupGtk);
139 }; 137 };
140 138
141 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ 139 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698