summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 20:32:50 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 20:32:50 +0000
commitca6c990f200c470f2f026ccafac39e29a23c26f2 (patch)
treeb102e3fc82137c824530017a255ecd35ede96111 /chrome/browser/instant
parent9935e9f58cc7fd518da760d563d9f360c0ace9da (diff)
downloadchromium_src-ca6c990f200c470f2f026ccafac39e29a23c26f2.zip
chromium_src-ca6c990f200c470f2f026ccafac39e29a23c26f2.tar.gz
chromium_src-ca6c990f200c470f2f026ccafac39e29a23c26f2.tar.bz2
[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
Diffstat (limited to 'chrome/browser/instant')
-rw-r--r--chrome/browser/instant/instant_confirm_dialog.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/instant/instant_confirm_dialog.cc b/chrome/browser/instant/instant_confirm_dialog.cc
index e59a30b..cf7c7fd 100644
--- a/chrome/browser/instant/instant_confirm_dialog.cc
+++ b/chrome/browser/instant/instant_confirm_dialog.cc
@@ -33,11 +33,4 @@ void ShowInstantConfirmDialogIfNecessary(gfx::NativeWindow parent,
ShowInstantConfirmDialog(parent, profile);
}
-#if !defined(TOOLKIT_VIEWS) && !defined(TOOLKIT_GTK)
-void ShowInstantConfirmDialog(gfx::NativeWindow parent,
- Profile* profile) {
- NOTIMPLEMENTED();
-}
-#endif
-
} // namespace browser