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

Unified Diff: chrome/browser/gtk/options/cookie_filter_page_gtk.cc

Issue 3299020: Remove vestigial cookie/web app permissions prompting UI now that the async U... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/options/cookie_filter_page_gtk.cc
===================================================================
--- chrome/browser/gtk/options/cookie_filter_page_gtk.cc (revision 59533)
+++ chrome/browser/gtk/options/cookie_filter_page_gtk.cc (working copy)
@@ -66,9 +66,6 @@
}
GtkWidget* CookieFilterPageGtk::InitCookieStoringGroup() {
- bool disable_cookie_prompt = !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableCookiePrompt);
-
GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing);
allow_radio_ = gtk_radio_button_new_with_label(NULL,
@@ -77,15 +74,6 @@
G_CALLBACK(OnCookiesAllowToggledThunk), this);
gtk_box_pack_start(GTK_BOX(vbox), allow_radio_, FALSE, FALSE, 0);
- if (!disable_cookie_prompt) {
- ask_every_time_radio_ = gtk_radio_button_new_with_label_from_widget(
- GTK_RADIO_BUTTON(allow_radio_),
- l10n_util::GetStringUTF8(IDS_COOKIES_ASK_EVERY_TIME_RADIO).c_str());
- g_signal_connect(G_OBJECT(ask_every_time_radio_), "toggled",
- G_CALLBACK(OnCookiesAllowToggledThunk), this);
- gtk_box_pack_start(GTK_BOX(vbox), ask_every_time_radio_, FALSE, FALSE, 0);
- }
-
block_radio_ = gtk_radio_button_new_with_label_from_widget(
GTK_RADIO_BUTTON(allow_radio_),
l10n_util::GetStringUTF8(IDS_COOKIES_BLOCK_RADIO).c_str());

Powered by Google App Engine
This is Rietveld 408576698