summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 23:07:01 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 23:07:01 +0000
commit5b5a5c976aead85a87ced0847c068012d3979cae (patch)
tree6d486fcb1ce323029394763e404d5d8f95f9c0b5 /chrome/browser/gtk
parent44b5204abe46182f22a4d29b5436df0ab145b11c (diff)
downloadchromium_src-5b5a5c976aead85a87ced0847c068012d3979cae.zip
chromium_src-5b5a5c976aead85a87ced0847c068012d3979cae.tar.gz
chromium_src-5b5a5c976aead85a87ced0847c068012d3979cae.tar.bz2
[GTK] enable spoof proof infobars by default.
BUG=60110 TEST=manual Review URL: http://codereview.chromium.org/4223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/infobar_container_gtk.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/gtk/infobar_container_gtk.cc b/chrome/browser/gtk/infobar_container_gtk.cc
index b53a995..b5c95e3 100644
--- a/chrome/browser/gtk/infobar_container_gtk.cc
+++ b/chrome/browser/gtk/infobar_container_gtk.cc
@@ -145,11 +145,6 @@ void InfoBarContainerGtk::UpdateInfoBars() {
void InfoBarContainerGtk::ShowArrowForDelegate(InfoBarDelegate* delegate,
bool animate) {
- if (!CommandLine::ForCurrentProcess()->
- HasSwitch(switches::kEnableSecureInfoBars)) {
- return;
- }
-
GList* children = gtk_container_get_children(GTK_CONTAINER(widget()));
if (!children)
return;
@@ -216,11 +211,6 @@ void InfoBarContainerGtk::RemoveInfoBar(InfoBarDelegate* delegate,
void InfoBarContainerGtk::UpdateToolbarInfoBarState(
InfoBar* infobar, bool animate) {
- if (!CommandLine::ForCurrentProcess()->
- HasSwitch(switches::kEnableSecureInfoBars)) {
- return;
- }
-
GtkWindow* parent = platform_util::GetTopLevel(widget());
BrowserWindowGtk* browser_window =
BrowserWindowGtk::GetBrowserWindowForNativeWindow(parent);