summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 02:59:36 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 02:59:36 +0000
commit98dc01072fbbd8c93d387f4dba8b328a752b1c15 (patch)
treef58eb3d29ac4d1cb7324c648048e4e4369d00c22 /chrome/browser/cocoa
parent0b5939222f9d18f407c2e28b916dcf5adc63640c (diff)
downloadchromium_src-98dc01072fbbd8c93d387f4dba8b328a752b1c15.zip
chromium_src-98dc01072fbbd8c93d387f4dba8b328a752b1c15.tar.gz
chromium_src-98dc01072fbbd8c93d387f4dba8b328a752b1c15.tar.bz2
Makes predictive with autocompleted text the default. I'm leaving the
three variants in though as I'm going to add to about:flags the ability to choose between them. Because of the time I'm doing the minimal set of changes for Mac and TBRing this. Rohit, could you clean it up when you have a chance? BUG=none TEST=none TBR=estade@chromium.org, rohitra@chromium.org Review URL: http://codereview.chromium.org/5373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.mm7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.mm b/chrome/browser/cocoa/preferences_window_controller.mm
index 1e556a8..7851ccc 100644
--- a/chrome/browser/cocoa/preferences_window_controller.mm
+++ b/chrome/browser/cocoa/preferences_window_controller.mm
@@ -1255,12 +1255,7 @@ enum { kHomepageNewTabPage, kHomepageURL };
NSInteger state = enabled ? NSOnState : NSOffState;
[instantCheckbox_ setState:state];
- NSString* title = @"";
- if (enabled) {
- title = [NSString stringWithFormat:@"[%d]",
- prefs_->GetInteger(prefs::kInstantType)];
- }
- [instantExperiment_ setStringValue:title];
+ [instantExperiment_ setStringValue:@""];
}
- (IBAction)learnMoreAboutInstant:(id)sender {