summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Include browser.h -> ui/browser.h [Part 2].jhawkins@chromium.org2010-11-161-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5046002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66229 0039d316-1c4b-4281-b951-d872f2087c98
* Handful of related instant changes:sky@chromium.org2010-11-159-82/+406
| | | | | | | | | | | | | | | | | | | | . Makes the code for running the promo more real. We're not ready to flip it on yet, so it isn't enabled. . Nukes verbatim from about:flags and instead randomly chooses verbatim/predictive when the user opts in. We're doing this to try and see if we get feedback as to which one folks like more. Windows preferences shows you which one you get (by way of an obscure label). I'll change gtk do to that shortly too. . Adds metrics. And a couple of random style issues I encountered in some files. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/5023001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66187 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the current page dim out when transitioning to instant preview.sky@chromium.org2010-11-152-0/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4932001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66164 0039d316-1c4b-4281-b951-d872f2087c98
* Disable InstantTest.OnSubmitEventphajdan.jr@chromium.org2010-11-121-1/+2
| | | | | | | | | | | TBR=tonyg BUG=62940 TEST=interactive_ui_tests Review URL: http://codereview.chromium.org/4889001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65929 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Instant when typing an extension keyword.mpcomplete@chromium.org2010-11-112-5/+12
| | | | | | | | | BUG=61991 TEST=Enable Instant. Load extension at chrome/common/extensions/docs/examples/extensions/chrome_search. Type "src foo" into the omnibox. You should not see Instant displaying an error page. Review URL: http://codereview.chromium.org/4782001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65754 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a switch to change the instant-url. This'll be used for testing.sky@chromium.org2010-11-091-0/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4678003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65500 0039d316-1c4b-4281-b951-d872f2087c98
* Allow verbatim to be passed in OnSearchBoxChange.tonyg@chromium.org2010-11-081-1/+1
| | | | | | | BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65433 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] instant confirm dialogestade@chromium.org2010-11-051-1/+1
| | | | | | | | | BUG=58937 TEST=manual Review URL: http://codereview.chromium.org/4427001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65160 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new SearchBox API along side existing API.tonyg@chromium.org2010-11-043-228/+327
| | | | | | | | | Add some tests. BUG=none TEST=interactive_ui_tests --gtest_filter=InstantTest.* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65061 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability to show verbatim instant results rather thansky@chromium.org2010-11-012-12/+49
| | | | | | | | | | | predictive results. More work is needed if we decide this is the direction to go, but it's good enough for us to play with. BUG=61378 TEST=none Review URL: http://codereview.chromium.org/4196009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64662 0039d316-1c4b-4281-b951-d872f2087c98
* Instant - move AutocompleteLosingFocus implementation to InstantController.estade@chromium.org2010-11-013-1/+55
| | | | | | | | | | | This way Linux and Windows can share. BUG=58937 TEST=manual Review URL: http://codereview.chromium.org/4157004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64657 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] Added unit tests for omnibox highlightingscr@chromium.org2010-10-271-1/+1
| | | | | | | | | | BUG=55418 TEST=unit_tests --gtest_filter=AutocompletePopupViewGtkTest.\* should run tests on GTK but not Windows or Mac. Review URL: http://codereview.chromium.org/4082002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64169 0039d316-1c4b-4281-b951-d872f2087c98
* Makes instant results from Google less flakey. We check for a propertysky@chromium.org2010-10-271-5/+59
| | | | | | | | | | | | | to be registered at onload time, then check again for the actual functions after a delay. We need to do this as functions aren't registered until after onload time. BUG=59216 TEST=none Review URL: http://codereview.chromium.org/4183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64155 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/4154003/show for Timo.sky@chromium.org2010-10-271-4/+13
| | | | | | | | | BUG=59679 TEST=see bug Review URL: http://codereview.chromium.org/4206001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64096 0039d316-1c4b-4281-b951-d872f2087c98
* Makes RLZ listen for changes to instant so that it can update at thesky@chromium.org2010-10-211-0/+6
| | | | | | | | | | | right time. BUG=56259 TEST=none Review URL: http://codereview.chromium.org/3969004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63393 0039d316-1c4b-4281-b951-d872f2087c98
* Visual tweaks to instant opt-in promo and command line switch to turnsky@chromium.org2010-10-211-1/+9
| | | | | | | | | | | it on. BUG=58917 TEST=none Review URL: http://codereview.chromium.org/3961003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63361 0039d316-1c4b-4281-b951-d872f2087c98
* Removes two unused methods:rohitrao@chromium.org2010-10-202-13/+0
| | | | | | | | | | | InstantLoader::DestroyPreviewContents() AutocompleteEditView::GetMaxYCoordinate() BUG=None TEST=Everything should still compile. Review URL: http://codereview.chromium.org/3772008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63218 0039d316-1c4b-4281-b951-d872f2087c98
* Makes it so we show the instant confirm dialog until the user clickssky@chromium.org2010-10-182-2/+3
| | | | | | | | | | | ok. BUG=59148 TEST=none Review URL: http://codereview.chromium.org/3803007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62944 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 62881 - Moves instant back into flags.sky@chromium.org2010-10-172-4/+5
| | | | | | | | | | | | | | | I'm TBRing this since it's mostly a revert. TBR=ben@chromium.org BUG=59298 TEST=make sure instant isn't in preferences anymore. Review URL: http://codereview.chromium.org/3809005 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/3777009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62883 0039d316-1c4b-4281-b951-d872f2087c98
* Moves instant back into flags.sky@chromium.org2010-10-172-5/+4
| | | | | | | | | | | | I'm TBRing this since it's mostly a revert. TBR=ben@chromium.org BUG=59298 TEST=make sure instant isn't in preferences anymore. Review URL: http://codereview.chromium.org/3809005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62881 0039d316-1c4b-4281-b951-d872f2087c98
* Makes instant use instant_url for instant results rather than searchsky@chromium.org2010-10-144-18/+27
| | | | | | | | | | | url. BUG=58756 TEST=none Review URL: http://codereview.chromium.org/3754004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62591 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes instant so that it correctly deals with child contents. I'vesky@chromium.org2010-10-143-1/+14
| | | | | | | | | | | | | | | changed around BlockedPopupContainer so that it can handle any types and made TabContents offer a mode to block all child content. BUG=58927 TEST=enable instant, go to a site that would normally show a popup on entering (or explicitly enable all popups). While typing in the omnibox the popup shouldn't appear, but as soon as you commit the instant result it should appear. Review URL: http://codereview.chromium.org/3694005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62553 0039d316-1c4b-4281-b951-d872f2087c98
* Moves instant out of labs and into prefs.sky@chromium.org2010-10-122-4/+5
| | | | | | | | | | BUG=58772 TEST=make sure that there is an entry in prefs for instant. See that it works. Review URL: http://codereview.chromium.org/3726002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62250 0039d316-1c4b-4281-b951-d872f2087c98
* [Macs] Adds a RenderWidgetHostView method to tell the view to take focus ↵rohitrao@chromium.org2010-10-121-0/+10
| | | | | | | | | | | | only on a mouse down event. This will allow us to click on instant results without dismissing the omnibox popup. BUG=56385 TEST=No visible impact, yet. TEST=Should still be able to tab from the omnibox into webpages. TEST=Clicking on a webpage should transfer focus to the page. Review URL: http://codereview.chromium.org/3535015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62222 0039d316-1c4b-4281-b951-d872f2087c98
* Adds confirm dialog when enabling instant.sky@chromium.org2010-10-116-4/+93
| | | | | | | | | BUG=58567 TEST=none Review URL: http://codereview.chromium.org/3710002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62197 0039d316-1c4b-4281-b951-d872f2087c98
* Makes instant delay sending omnibox bounds changes to the page. Thissky@chromium.org2010-10-082-2/+37
| | | | | | | | | | | | | is done as it's quite expensive to have the page shift around, and the omnibox can dance around a bit before settling down at a particular size. BUG=54833 TEST=none Review URL: http://codereview.chromium.org/3555023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62035 0039d316-1c4b-4281-b951-d872f2087c98
* The start of the instant opt-in mocks.sky@chromium.org2010-10-082-0/+43
| | | | | | | | | | | I also had to make it so you can turn off animations in CustomButton. BUG=54833 TEST=none Review URL: http://codereview.chromium.org/3544015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62009 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes uneeded delete in InstantLoader. This is no longer needed assky@chromium.org2010-10-081-6/+0
| | | | | | | | | | | | FrameLoaderObserver's lifetime is tied to that of InstantLoader. BUG=58411 TEST=none TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/3536017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61912 0039d316-1c4b-4281-b951-d872f2087c98
* Adds throttling of instant results for sites that don't supportsky@chromium.org2010-10-088-43/+158
| | | | | | | | | | | instant. BUG=55342 TEST=none Review URL: http://codereview.chromium.org/3613014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61908 0039d316-1c4b-4281-b951-d872f2087c98
* Changes around instant to verify if the page really supports instantsky@chromium.org2010-10-078-70/+324
| | | | | | | | | | | | before sending down the instant script. If the page doesn't support instant we fallback to reloading urls. BUG=54833 TEST=none Review URL: http://codereview.chromium.org/3608009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61743 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in instant that would result if the preview page showed asky@chromium.org2010-10-061-3/+0
| | | | | | | | | | | popup. BUG=57361 TEST=see bug Review URL: http://codereview.chromium.org/3536012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61600 0039d316-1c4b-4281-b951-d872f2087c98
* Renames and moves match preview classes to instant. This doesn'tsky@chromium.org2010-10-0510-0/+1669
contain any changes other than renaming/moving, as such I'm TBRing. BUG=54833 TEST=none TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/3602015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61553 0039d316-1c4b-4281-b951-d872f2087c98