summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/extension_app_provider.cc
Commit message (Collapse)AuthorAgeFilesLines
* Revert 113071 - Revert 113047 - Make ExtensionService use ExtensionSet.yoz@chromium.org2011-12-061-2/+2
| | | | | | | | | | | | | | | | | | | ExtensionManagementApiBrowserTest.LaunchApp fixed by r113141. Make ExtensionSet iterate like a set instead of a map. BUG=104091 TEST=existing tests Review URL: http://codereview.chromium.org/8733004 TBR=yoz@chromium.org Review URL: http://codereview.chromium.org/8789018 TBR=yoz@chromium.org Review URL: http://codereview.chromium.org/8822021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113233 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113047 - Make ExtensionService use ExtensionSet.yoz@chromium.org2011-12-061-2/+2
| | | | | | | | | | | | | | | | It broke ExtensionManagementApiBrowserTest.LaunchApp. Make ExtensionSet iterate like a set instead of a map. BUG=104091 TEST=existing tests Review URL: http://codereview.chromium.org/8733004 TBR=yoz@chromium.org Review URL: http://codereview.chromium.org/8789018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113071 0039d316-1c4b-4281-b951-d872f2087c98
* Make ExtensionService use ExtensionSet.yoz@chromium.org2011-12-051-2/+2
| | | | | | | | | | | Make ExtensionSet iterate like a set instead of a map. BUG=104091 TEST=existing tests Review URL: http://codereview.chromium.org/8733004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113047 0039d316-1c4b-4281-b951-d872f2087c98
* Strip special characters in extension omnibox suggestions.asvitkine@chromium.org2011-10-281-21/+32
| | | | | | | | | | | | | | | | This makes the drop downs on Mac and Linux match how Windows currently renders these suggestions when they include newline, tab and carriage return characters. Removes invalid characters in matches coming from extension suggestions and apps. BUG=100564 TEST=Manual per bug and added ExtensionAppProviderTest.CreateMatchSanitize KeywordProviderTest.SuggestionMatchSanitize tests. Review URL: http://codereview.chromium.org/8364001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107746 0039d316-1c4b-4281-b951-d872f2087c98
* Extension loaded/unloaded notifications are always sent from non-incognito ↵pkasting@chromium.org2011-10-221-2/+5
| | | | | | | | | | profiles. BUG=none TEST=none Review URL: http://codereview.chromium.org/8355012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106830 0039d316-1c4b-4281-b951-d872f2087c98
* Make NotificationService an interface in the content namespace, and switch ↵jam@chromium.org2011-10-191-1/+1
| | | | | | | | | callers to use it. Move the implementation to content/browser. Stop creating it in all child processes since it's only used in the browser. BUG=98716 Review URL: http://codereview.chromium.org/8342048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106403 0039d316-1c4b-4281-b951-d872f2087c98
* Move NotificationObserver, NotificationSource, and NotificationDetails to ↵jam@chromium.org2011-10-191-4/+4
| | | | | | | | | | | content/public/browser. This patch got way bigger than I wanted, but once I moved NotificationDetails, I figured I might as well mvoe the others since they're in the same files. In hindsight, I should have converted a subset of files at a time by leaving a using statement in the header. BUG=98716 TBR=joi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106196 0039d316-1c4b-4281-b951-d872f2087c98
* Remove confidence from AutocompleteMatch and use History DB instead.dominich@chromium.org2011-09-011-5/+1
| | | | | | | | | | | | Adds a class responsible for providing recommended actions given an AutocompleteMatch which uses the History Database to determine that action. BUG=92896,94423 TEST=NetworkActionPredictorTest* Review URL: http://codereview.chromium.org/7686012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99140 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash on NTP related to multi-profile extensions.jstritar@chromium.org2011-08-301-2/+2
| | | | | | | | | | | This makes sure the NTP only listens for extension related notifications from the current profile. It also updates some of the sources for extension notifications in the Browser and ExtensionManagementEventRouters. BUG=94438,87457,94034 TEST=see bug report Review URL: http://codereview.chromium.org/7799008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98836 0039d316-1c4b-4281-b951-d872f2087c98
* Add confidence to AutocompleteMatch.dominich@chromium.org2011-08-111-1/+5
| | | | | | | | | | | | | | Calculated by each provider using whatever measure makes sense and stored as a float in the range [0, 1]. Will be used for determining benefit of using instant, prerender, DNS preconnect to increase success rate and avoid wasted resources. Currently fed into UMA to validate experiment. BUG=None TEST=None Review URL: http://codereview.chromium.org/7607007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96446 0039d316-1c4b-4281-b951-d872f2087c98
* Moving notification types which are chrome specific to a new header file ↵ananta@chromium.org2011-07-101-3/+4
| | | | | | | | | | | | | chrome_notification_types.h. This file lives in chrome\common. The chrome specific notifications start from NOTIFICATION_CONTENT_END which defines the end of the enum used by content to define notification types. The notificaton_type.h file in content\common has been renamed to content_notification_types.h BUG=76698 Review URL: http://codereview.chromium.org/7327007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91972 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang build.pkasting@chromium.org2011-05-251-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86744 0039d316-1c4b-4281-b951-d872f2087c98
* Make the app provider match highlighting use the existing ClassifyMatchXXX() ↵pkasting@chromium.org2011-05-251-50/+26
| | | | | | | | | | | | machinery, and set the correct base styles (NONE rather than DIM for the contents, and URL rather than DIM for the description). This also switches from UTF-8 to UTF-16 for various temps/members since that's the destination encoding for the various AutocompleteMatch fields. BUG=none TEST=App matches in omnibox should have undimmed names and green URLs. Review URL: http://codereview.chromium.org/7031058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86735 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show suggestions in the Omnibox (from the Extension App provider) for ↵finnur@chromium.org2011-05-121-0/+4
| | | | | | | | | | packaged apps unless the app has Incognito enabled and split mode set to true. Hosted apps should always be able to load in incognito. BUG=81304 TEST=Install a packaged app from the web store and type its name into the Omnibox of an incognito window. Make sure it does not show up. Now go to chrome://extensions and check 'Allow in incognito' for this extension. Make sure it now shows up in the Omnibox as a suggestion. Review URL: http://codereview.chromium.org/7016005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85209 0039d316-1c4b-4281-b951-d872f2087c98
* Extension App provider should include packaged apps as well. They have nofinnur@chromium.org2011-04-271-3/+4
| | | | | | | | | | | web launch URL (which is why they don't show up right now), but they have a local extension url we can launch. BUG=80504 TEST=Install a packaged app, such as SparkChess, and make sure it appears in Omnibox when you type in SparkChess. Review URL: http://codereview.chromium.org/6901025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83139 0039d316-1c4b-4281-b951-d872f2087c98
* Show an Extension App icon in the omnibox for matches from the Extension App ↵finnur@chromium.org2011-04-131-1/+2
| | | | | | | | | | provider. BUG=52444 TEST=Matches against title/url from Extension Apps should now have it's distinct Extension App icon as opposed to using the globe icon. Review URL: http://codereview.chromium.org/6811017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81391 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for the Extension App Provider.finnur@chromium.org2011-04-071-0/+6
| | | | | | | | BUG=52444 TEST=None. Adding an automated test. Review URL: http://codereview.chromium.org/6810002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80757 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a simple Extension App Omnibox provider. finnur@chromium.org2011-04-061-0/+165
BUG=52444 TEST=Install an App from the gallery, then type a substring from its name (or it's launch url) and see it appear as a suggestion in the Omnibox. Review URL: http://codereview.chromium.org/6758031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80605 0039d316-1c4b-4281-b951-d872f2087c98