[Mac] Add a preference for Instant search.
XIB Changes (Preferences.xib):
* Add a NSButton checkbox for the Instant preference as an outlet (not with
bindings). Hook up the action of the button to First Responder.
* Add a "Learn more" link for Instant that sends the action to First Responder.
* Increase the size of the Basics view to accommodate those new subviews.
Note that this will not be properly sized-to-fit in some locales. See
http://crbug.com/64090 for details.
BUG=63651
TEST=Chromium-->Preferences. Toggle Instant and get the info sheet. Pressing OK enables it, Cancel does not.
TEST=After the first enabling, the sheet does not appear again.
Review URL: http://codereview.chromium.org/5090007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66994 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 168597eb..889f5fb1 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -1043,6 +1043,8 @@
'browser/cocoa/infobar_test_helper.h',
'browser/cocoa/install_from_dmg.h',
'browser/cocoa/install_from_dmg.mm',
+ 'browser/cocoa/instant_confirm_window_controller.h',
+ 'browser/cocoa/instant_confirm_window_controller.mm',
'browser/cocoa/js_modal_dialog_cocoa.h',
'browser/cocoa/js_modal_dialog_cocoa.mm',
'browser/cocoa/keystone_glue.h',
@@ -3688,6 +3690,7 @@
'app/nibs/HungRendererDialog.xib',
'app/nibs/ImportSettingsDialog.xib',
'app/nibs/ImportProgressDialog.xib',
+ 'app/nibs/InstantConfirm.xib',
'app/nibs/KeywordEditor.xib',
'app/nibs/MainMenu.xib',
'app/nibs/Preferences.xib',