summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Documentation and sample for the experimental Clear API.mkwst@chromium.org2012-01-2012-31/+550
| | | | | | | | | BUG=107518 TEST= Review URL: https://chromiumcodereview.appspot.com/8932015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118446 0039d316-1c4b-4281-b951-d872f2087c98
* Document the background.scripts feature.aa@chromium.org2012-01-2010-72/+130
| | | | | | | | BUG=107791 Review URL: https://chromiumcodereview.appspot.com/9190071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118419 0039d316-1c4b-4281-b951-d872f2087c98
* Let hosted apps declare web intents.jstritar@chromium.org2012-01-192-3/+2
| | | | | | | | | | BUG=none TEST=ManifestTest.HostedApp Review URL: http://codereview.chromium.org/9240010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118307 0039d316-1c4b-4281-b951-d872f2087c98
* Update tabs.onActiveChanged docs to indicate the URL may not be set.jstritar@chromium.org2012-01-194-6/+3
| | | | | | | | | | BUG=81298 TEST=none Review URL: http://codereview.chromium.org/9249034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118306 0039d316-1c4b-4281-b951-d872f2087c98
* Change the IME warning to "Your data on all sites"zork@chromium.org2012-01-193-4/+4
| | | | | | | | | BUG=chromium-os:24085 TEST=Install an IME extension, check that the right permission is checked Review URL: https://chromiumcodereview.appspot.com/9179007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118271 0039d316-1c4b-4281-b951-d872f2087c98
* Add more logging to ExtensionUnpacker to debug crashes in unit tests.mpcomplete@chromium.org2012-01-181-0/+15
| | | | | | | | | | | | From the logs, you can see it's crashing after returning from ExtensionUnpacker::Run(), which means it's probably crashing in a destructor. BUG=108724 TEST=no Review URL: https://chromiumcodereview.appspot.com/9252025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118183 0039d316-1c4b-4281-b951-d872f2087c98
* Add skeleton plumbing for serial API. No functionality yet.miket@chromium.org2012-01-183-0/+65
| | | | | | | | | | BUG=110241 TEST=added a small extension to test roundtrip. Review URL: http://codereview.chromium.org/9174019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118151 0039d316-1c4b-4281-b951-d872f2087c98
* Fix example of onBeforeSendHeaders in webRequest API documentationbattre@chromium.org2012-01-182-4/+14
| | | | | | | | | BUG=110359 TEST=no Review URL: https://chromiumcodereview.appspot.com/9215008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118094 0039d316-1c4b-4281-b951-d872f2087c98
* [NTP4] Add ExtensionSet::AddAll and ExtensionService::GetAllInstalledExtensions.dbeam@chromium.org2012-01-183-3/+33
| | | | | | | | | | | | R=aa@chromium.org TBR=estade@chromium.org TEST=ExtensionsSetTest.ExtensionSet passes and nothing breaks. BUG=97762 Review URL: http://codereview.chromium.org/9134003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118077 0039d316-1c4b-4281-b951-d872f2087c98
* Remove API elements that are no longer in the IME API design documentzork@chromium.org2012-01-181-27/+2
| | | | | | | | | | R=yusukes@chromium.org BUG=chromium-os:23639 TEST=Run the API tests Review URL: https://chromiumcodereview.appspot.com/9230004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118047 0039d316-1c4b-4281-b951-d872f2087c98
* Extension Manifest: MIME types for Intents are now a JSON arraygroby@chromium.org2012-01-184-7/+50
| | | | | | | | | | TEST=ExtensionManifestTest.*:WebIntentsRegistryTest.* BUG=none Review URL: http://codereview.chromium.org/9139048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118027 0039d316-1c4b-4281-b951-d872f2087c98
* Documentation builder now looks for DumpRenderTree under `out` on Mac.mkwst@chromium.org2012-01-171-1/+5
| | | | | | | | | | | | | The `make` build puts `DumpRenderTree` under `out/{Release,Debug}/...`. We should search for it there. BUG= TEST= Review URL: http://codereview.chromium.org/9242012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117940 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BackgroundScriptsMustExist.dcheng@chromium.org2012-01-141-2/+2
| | | | | | | | | | | | This test seems to hang on Windows sometimes. BUG=110279 TEST=none TBR=aa Review URL: http://codereview.chromium.org/9222002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117808 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionFileUtil.BackgroundScriptsMustExist as flaky on Windows.dcheng@chromium.org2012-01-141-1/+7
| | | | | | | | | | BUG=110279 TEST=none TBR=aa Review URL: http://codereview.chromium.org/9133027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117804 0039d316-1c4b-4281-b951-d872f2087c98
* Implement chrome.windows.update(drawAttention=false).jennb@chromium.org2012-01-142-2/+2
| | | | | | | | | | | | | Modified BrowserWindow FlashFrame to take a param to turn flashing on/off. Prior, drawAttention=false was ignored. BUG=104807 TEST=Manually tested with extension that uses new API. Review URL: http://codereview.chromium.org/9112036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117738 0039d316-1c4b-4281-b951-d872f2087c98
* Update samples to use the background.scripts or background.page feature.aa@chromium.org2012-01-13125-578/+370
| | | | | | | | BUG=107791 Review URL: http://codereview.chromium.org/9192003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117713 0039d316-1c4b-4281-b951-d872f2087c98
* Use chrome.windows.WINDOW_ID_CURRENT constant consistently in extension APIs.jstritar@chromium.org2012-01-132-8/+9
| | | | | | | | | | BUG=109776 TEST=ExtensionApiTest browser_tests Review URL: http://codereview.chromium.org/9139066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117676 0039d316-1c4b-4281-b951-d872f2087c98
* Add DNS resolution API. Part of socket APIs.miket@chromium.org2012-01-123-0/+44
| | | | | | | | | | BUG=106802 TEST=yes, added Review URL: http://codereview.chromium.org/9122008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117435 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leaks in extension_file_util::LoadExtensionManifest().aa@chromium.org2012-01-121-3/+3
| | | | | | | | BUG=109862 Review URL: http://codereview.chromium.org/9188021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117394 0039d316-1c4b-4281-b951-d872f2087c98
* Add HttpHeaders to experimental.downloads.jsoncbentzel@chromium.org2012-01-111-0/+18
| | | | | | Review URL: http://codereview.chromium.org/9155014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117303 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix the memory leak reports in g_restrictions.jstritar@chromium.org2012-01-111-4/+7
| | | | | | | | | | | | | | This updates the Restrictions usage to be more consistent with other LazyInstances: - do not copy and assign - use static keyword - use LAZY_INSTANCE_INITIALIZER BUG=106571 TEST=existing Review URL: http://codereview.chromium.org/9027007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117292 0039d316-1c4b-4281-b951-d872f2087c98
* Add conditional logging to ExtensionUnpacker to help debug crashes in unitmpcomplete@chromium.org2012-01-113-7/+49
| | | | | | | | | | | tests. BUG=108724 TEST=no Review URL: http://codereview.chromium.org/9181007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117256 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce background.scripts feature for extension manifests.aa@chromium.org2012-01-107-14/+178
| | | | | | | | | | | | | This optimizes for the common use case where background pages just include a reference to one or more script files and no additional HTML. BUG=107791 Review URL: http://codereview.chromium.org/9150008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117110 0039d316-1c4b-4281-b951-d872f2087c98
* Query the current window with chrome.tabs.query using -1.jstritar@chromium.org2012-01-105-3/+88
| | | | | | | | | | | | This makes querying for tabs in the current window easier by requiring less callbacks. BUG=108942 TEST=ExtensionApiTest.TabQuery Review URL: http://codereview.chromium.org/9162002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117107 0039d316-1c4b-4281-b951-d872f2087c98
* ExtensionUnpackerTest.InvalidMessagesFile is flaky on Windowsjeremy@chromium.org2012-01-101-1/+7
| | | | | | | | | | | | Disable on Windows for now. TEST=None BUG=109738 TBR=mpcomplete Review URL: http://codereview.chromium.org/9155012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117031 0039d316-1c4b-4281-b951-d872f2087c98
* Removing files that should have been removed in r116901mkwst@chromium.org2012-01-104-0/+0
| | | | | | | | | | | | | | Due to http://crbug.com/109715, the commit queue didn't remove more than a few files when committing http://codereview.chromium.org/9006027 This CL removes them manually. BUG=109712, 109715 TEST= TBR=rdevlin.cronin, aa Review URL: http://codereview.chromium.org/9158008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117014 0039d316-1c4b-4281-b951-d872f2087c98
* Remove comment that webRequest API is experimental from API documentationbattre@chromium.org2012-01-102-6/+2
| | | | | | | | | | BUG=108541 TEST=no Review URL: http://codereview.chromium.org/9147019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116990 0039d316-1c4b-4281-b951-d872f2087c98
* Update extension permissions to support optional permission API by default.jstritar@chromium.org2012-01-092-57/+58
| | | | | | | | | | BUG=106207 TEST=existing Review URL: http://codereview.chromium.org/9120012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116958 0039d316-1c4b-4281-b951-d872f2087c98
* Calculate extension permission increases from changes in warning messages.jstritar@chromium.org2012-01-092-17/+13
| | | | | | | | | | | | Instead of calculating permission increases from changes in API permissions, use the changes in actual warning messages. This makes sure we only prompt the user once when permissions share warnings. BUG=108198 TEST=ExtensionPermissionSetTest.HasLessPrivilegesThan Review URL: http://codereview.chromium.org/9152006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116931 0039d316-1c4b-4281-b951-d872f2087c98
* Rip Out the Sidebar APIrdevlin.cronin@chromium.org2012-01-0914-520/+3
| | | | | | | | | | | This fix removes the sidebar api and all its references from the code (primarily relating to chrome/common/extensions and chrome/browser/ui). BUG=107646 TEST=Covered by existing tests. Review URL: http://codereview.chromium.org/9006027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116901 0039d316-1c4b-4281-b951-d872f2087c98
* Implement chrome.experimental.downloads.getFileIcon().asanka@chromium.org2012-01-091-0/+41
| | | | | | | | | BUG=12133 TEST=browser_tests --gtest_filter=DownloadExtensionTest.*:DownloadsApiTest.* Review URL: http://codereview.chromium.org/8519004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116898 0039d316-1c4b-4281-b951-d872f2087c98
* Disable intermittently crashing ExtensionUnpackerTest.InvalidDefaultLocale ↵msw@chromium.org2012-01-061-2/+7
| | | | | | | | | | | | | | | | on Win. http://build.chromium.org/p/chromium/builders/Vista%20Tests%20%283%29/builds/10138/steps/unit_tests/logs/stdio This may be a more general problem; see bugs and crrev.com/116592. BUG=109238,108724 TEST=NONE TBR=yoz,dslomov,cira Review URL: http://codereview.chromium.org/9110041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116738 0039d316-1c4b-4281-b951-d872f2087c98
* Update permission restrictions for platform apps.jstritar@chromium.org2012-01-062-10/+12
| | | | | | | | | | | | - do not allow webstorePrivate for platform apps - clarify permission registration comments BUG=none TEST=ExtensionAPIPermissionTest.* Review URL: http://codereview.chromium.org/9096001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116699 0039d316-1c4b-4281-b951-d872f2087c98
* ExtensionUnpackerTest.HasDefaultLocaleMissingLocalesFolder crashes on Vista.jknotten@chromium.org2012-01-061-1/+9
| | | | | | | | | | | | Mark the test as disabled for windows. TBR=cira@chromium.org BUG=109385 TEST=ExtensionUnpackerTest.HasDefaultLocaleMissingLocalesFolder Review URL: http://codereview.chromium.org/9120003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116660 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionUnpackerTest.ExtensionUnpackerTest DISABLED on OS_WIN.msw@chromium.org2012-01-061-3/+3
| | | | | | | | | BUG=109238,108724 TEST=NONE Review URL: http://codereview.chromium.org/9108029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116592 0039d316-1c4b-4281-b951-d872f2087c98
* An interim commit that works for simple cases. There is an arbitrary 1K ↵miket@chromium.org2012-01-051-2/+37
| | | | | | | | | | | | | | limit on individual read operations, and we're very wishy-washy about what we're actually reading/writing (they're std::strings). Next step: handle blobs rather than strings. Some of the toy code will go away, and we'll get the story straight about buffer sizes and blocking. BUG=106802 TEST=added. Also added a simple echo server. Manually verified that server skips busy ports. Review URL: http://codereview.chromium.org/9002001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116547 0039d316-1c4b-4281-b951-d872f2087c98
* Marking ExtensionUnpackerTest.EmptyDefaultLocale as flake on Windows. See ↵dslomov@chromium.org2012-01-051-2/+9
| | | | | | | | | | http://crbug.com/109238 TBR=cira@chromium.org,RDevlin.Cronin@gmail.com Review URL: http://codereview.chromium.org/9108006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116463 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated page action features from manifest v2.aa@chromium.org2012-01-0450-223/+153
| | | | | | | | BUG=106977 Review URL: http://codereview.chromium.org/8989055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116398 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in extension permissions docs.jstritar@chromium.org2012-01-044-5/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9085011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116321 0039d316-1c4b-4281-b951-d872f2087c98
* Move background_page extension manifest key to background.page.aa@chromium.org2012-01-047-39/+84
| | | | | | | | | | | | | Move background_page to background.page so that additional properties can be added to the background group in the future. Only support background_page in older manifest versions. BUG=107791 Review URL: http://codereview.chromium.org/9072015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116289 0039d316-1c4b-4281-b951-d872f2087c98
* Hide downloads of extensions blacklist from web request API.battre@chromium.org2012-01-042-2/+21
| | | | | | | | | | | | | This CL prevents that extensions using the web request API can prevent Chrome from updating its extensions blacklist. R=mpcomplete@chromium.org BUG=108648 TEST=no Review URL: http://codereview.chromium.org/8952021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116258 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable extension_l10n_util unittests on non-Windows.yoz@chromium.org2011-12-281-21/+64
| | | | | | | | | BUG=108429 TBR=pastarmovj@chromium.org Review URL: http://codereview.chromium.org/9049009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115902 0039d316-1c4b-4281-b951-d872f2087c98
* Improved Web Request API documentationbattre@chromium.org2011-12-283-43/+43
| | | | | | | | | BUG=none TEST=no Review URL: http://codereview.chromium.org/9018011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115881 0039d316-1c4b-4281-b951-d872f2087c98
* Disable flakily crashing ExtensionResourceTest.CreateWithAllResourcesOnDisk ↵yoz@chromium.org2011-12-281-0/+4
| | | | | | | | | | | on Windows. BUG=108721 TBR=asargent@chromium.org Review URL: http://codereview.chromium.org/9049003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115865 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions: Move Debugger Extension API (chrome.debugger) out of experimental.pfeldman@chromium.org2011-12-2717-96/+78
| | | | | | | | BUG=105931 Review URL: http://codereview.chromium.org/8980017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115820 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the whole ExtensionL10nUtil test suite because it crashes the ↵pastarmovj@chromium.org2011-12-261-20/+20
| | | | | | | | | | | | Vista bot. BUG=108429 TEST=unit_tests should not crash on Vista. TBR=cira@chromium.org Review URL: http://codereview.chromium.org/9030011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115790 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled GetEmptyLocalesEmptyLocaleFolder because it crashes too often on ↵pastarmovj@chromium.org2011-12-261-1/+1
| | | | | | | | | | | | the Vista bot. BUG=108429 TEST=unit_tests GetEmptyLocalesEmptyLocaleFolder TBR=cira@chromium.org Review URL: http://codereview.chromium.org/8980018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115787 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions: bring generated messages in sync with json schemas.pfeldman@chromium.org2011-12-266-10/+418
| | | | | | | | TBR=mtytel,calamity,aa Review URL: http://codereview.chromium.org/9042002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115783 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing names in extension api jsons so that code generation will work.calamity@chromium.org2011-12-259-11/+22
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8958023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115776 0039d316-1c4b-4281-b951-d872f2087c98
* WebRequest API documentation reviewbattre@chromium.org2011-12-233-377/+300
| | | | | | | | | BUG=108541 TEST=no Review URL: http://codereview.chromium.org/8729027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115717 0039d316-1c4b-4281-b951-d872f2087c98