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

Unified Diff: chrome/browser/cocoa/content_blocked_bubble_controller.mm

Issue 3030033: Flip the default for the cookie prompt to disabled. (Closed)
Patch Set: Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/content_exceptions_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/content_blocked_bubble_controller.mm
diff --git a/chrome/browser/cocoa/content_blocked_bubble_controller.mm b/chrome/browser/cocoa/content_blocked_bubble_controller.mm
index 519278aa46968dfde1d6dcb23e9125f99316f288..8f3d613c3f8b4f2598a279c01f8e3096eef23e3d 100644
--- a/chrome/browser/cocoa/content_blocked_bubble_controller.mm
+++ b/chrome/browser/cocoa/content_blocked_bubble_controller.mm
@@ -362,8 +362,8 @@ NSTextField* LabelWithFrame(NSString* text, const NSRect& frame) {
}
- (void)removeInfoButton {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCookiePrompt)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCookiePrompt)) {
// Remove info button and resize vertically.
int deltaY = NSHeight([infoButton_ frame]);
[infoButton_ removeFromSuperview];
« no previous file with comments | « no previous file | chrome/browser/cocoa/content_exceptions_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698