summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Keep shelf item visible when extension install blocked off-store.aa@chromium.org2012-06-192-1/+15
| | | | | | | | | BUG=133025 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10559026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142885 0039d316-1c4b-4281-b951-d872f2087c98
* Order the script badges in the location bar in the order thatkalman@chromium.org2012-06-185-41/+103
| | | | | | | | | | | they appeared, and fix the logic on each platform which assumes they never change. BUG=133139 Review URL: https://chromiumcodereview.appspot.com/10544185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142855 0039d316-1c4b-4281-b951-d872f2087c98
* Persist declarative rules to the extension state store.mpcomplete@chromium.org2012-06-1812-22/+420
| | | | | | | | | BUG=123366 TEST=no Review URL: https://chromiumcodereview.appspot.com/10560013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142842 0039d316-1c4b-4281-b951-d872f2087c98
* Change the USB extension API to use ArrayBuffers.gdk@chromium.org2012-06-183-12/+6
| | | | | | | | | | BUG=130181 TEST=none Review URL: https://chromiumcodereview.appspot.com/10561021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142827 0039d316-1c4b-4281-b951-d872f2087c98
* Implement base::win::IsMetroProcess. siggi@chromium.org2012-06-181-1/+1
| | | | | | | | | | | | | Change GetMetroModule callers that don't need the HMODULE. TBR=stevenjb@chromium.org,brettw@chromium.org,mirandac@chromium.org,sky@chromium.org,kalman@chromium.org BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10560015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142801 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new --enable-script-badges flag and use that rather than ↵kalman@chromium.org2012-06-183-5/+5
| | | | | | | | | | | | --enable-action-box where appropriate. Also remove the behaviour where page actions are turned into browser actions (just swallow them). Review URL: https://chromiumcodereview.appspot.com/10544190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142800 0039d316-1c4b-4281-b951-d872f2087c98
* Initial work to remove the notion of all extension message payloads as strings.gdk@chromium.org2012-06-183-20/+89
| | | | | | | | | | | | | | | | The internal IPC events already route ListValues around, however a _lot_ of places have assumed that the message payload string will be eventually treated as a JSON string. This change allows arbitrary Value types to be passed in message payloads while still handling the case of users of the API passing in hard-coded JSON strings. BUG=133190 TEST=none Review URL: https://chromiumcodereview.appspot.com/10566018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142785 0039d316-1c4b-4281-b951-d872f2087c98
* Bluetooth API: Add getServicesbryeung@chromium.org2012-06-182-1/+78
| | | | | | | | | | | | | This CL depends on https://chromiumcodereview.appspot.com/10543170/ TEST=coming soon BUG=132598 Review URL: https://chromiumcodereview.appspot.com/10543171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142775 0039d316-1c4b-4281-b951-d872f2087c98
* ContentSettings now uses the JSON Schema Compiler.hebert.christopherj@chromium.org2012-06-184-85/+62
| | | | | | | | | BUG=121174 TEST=Old Tests Cover Review URL: https://chromiumcodereview.appspot.com/10553018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142763 0039d316-1c4b-4281-b951-d872f2087c98
* Add ManagedModePolicyProvider and extension API to get and set policies.bauerb@chromium.org2012-06-183-0/+60
| | | | | | | | | | BUG=128318 TEST=none Review URL: https://chromiumcodereview.appspot.com/10510006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142720 0039d316-1c4b-4281-b951-d872f2087c98
* Fix fileSystem extension API to work when user chooses existing file for ↵benwells@chromium.org2012-06-181-1/+2
| | | | | | | | | | | | writing. BUG=133068 TEST=Manually tested Review URL: https://chromiumcodereview.appspot.com/10563019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142668 0039d316-1c4b-4281-b951-d872f2087c98
* Bluetooth Extension API: Add a discovery APIbryeung@chromium.org2012-06-187-29/+225
| | | | | | | | | | | | BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142623 Review URL: https://chromiumcodereview.appspot.com/10536159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142666 0039d316-1c4b-4281-b951-d872f2087c98
* Change Bluetooth API to use options dictionaries.bryeung@chromium.org2012-06-183-201/+143
| | | | | | | | | | | TEST=ran the api tests BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142617 Review URL: https://chromiumcodereview.appspot.com/10535181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142665 0039d316-1c4b-4281-b951-d872f2087c98
* Move input.ime back out of experimental for M21zork@chromium.org2012-06-183-23/+17
| | | | | | | | | BUG=chromium-os:23646 Review URL: https://chromiumcodereview.appspot.com/10533170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142664 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142617 - Change Bluetooth API to use options dictionaries.nsylvain@chromium.org2012-06-173-143/+201
| | | | | | | | | | | | | | | This broke BluetoothApiTest.SetOutOfBandPairingData TEST=ran the api tests BUG=none Review URL: https://chromiumcodereview.appspot.com/10535181 TBR=bryeung@chromium.org Review URL: https://chromiumcodereview.appspot.com/10563018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142645 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142630 - Disable BluetoothApiTest.SetOutOfBandPairingData under ASan.nsylvain@chromium.org2012-06-171-7/+1
| | | | | | | | | | | | | I'm reverting the change that added the test, so this won't be needed anymore. BUG=133199 TBR=bryeung Review URL: https://chromiumcodereview.appspot.com/10544200 TBR=glider@chromium.org Review URL: https://chromiumcodereview.appspot.com/10559023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142644 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142623 - Bluetooth Extension API: Add a discovery APInsylvain@chromium.org2012-06-177-225/+29
| | | | | | | | | | | | | | | | This change depends on 142617, which broke browser tests on chromeos. BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Review URL: https://chromiumcodereview.appspot.com/10536159 TBR=bryeung@chromium.org Review URL: https://chromiumcodereview.appspot.com/10556033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142643 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BluetoothApiTest.SetOutOfBandPairingData under ASan.glider@chromium.org2012-06-171-1/+7
| | | | | | | | BUG=133199 TBR=bryeung Review URL: https://chromiumcodereview.appspot.com/10544200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142630 0039d316-1c4b-4281-b951-d872f2087c98
* Bluetooth Extension API: Add a discovery APIbryeung@chromium.org2012-06-177-29/+225
| | | | | | | | | | | BUG=132597 TEST=simple test added (events testing coming in a future CL: crbug.com/132616) Review URL: https://chromiumcodereview.appspot.com/10536159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142623 0039d316-1c4b-4281-b951-d872f2087c98
* Change Bluetooth API to use options dictionaries.bryeung@chromium.org2012-06-163-201/+143
| | | | | | | | | | TEST=ran the api tests BUG=none Review URL: https://chromiumcodereview.appspot.com/10535181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142617 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=110235mitchellwrosen@chromium.org2012-06-1512-864/+925
| | | | | | | | | | | | TEST=Manual Refactored chrome/browser/extensions/extension_browsertests_misc.cc into several files, as per Aaron's recommendations. Review URL: https://chromiumcodereview.appspot.com/9568043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142518 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BrowserList::GetLastActive from extensions install dialog code by ↵jam@chromium.org2012-06-1524-88/+90
| | | | | | | | | plumbing through the Browser window. In two places (file_manager_util.cc and download_crx_util.cc) there is no context so I left those with FindLastActiveWithProfile for now. BUG=129187 Review URL: https://chromiumcodereview.appspot.com/10548057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142489 0039d316-1c4b-4281-b951-d872f2087c98
* Updated web navigation extension api to use json schema compiler.mtytel@chromium.org2012-06-153-37/+29
| | | | | | | | | | BUG=121174 TEST= Review URL: https://chromiumcodereview.appspot.com/10541190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142475 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IPC::Channel and IPC::Sender in src/chrome.brettw@chromium.org2012-06-159-16/+16
| | | | | | | | | | | | Changes code in chrome to use the new names over the old now-typedefed-for-compat ones. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10553010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142474 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable regression test for packing and installing extensions on Windows.hebert.christopherj@chromium.org2012-06-153-9/+15
| | | | | | | | | | | | | | | I changed it to wait for NOTIFICATION_CRX_INSTALLER_DONE as that notification is definitely sent after confirmation_requested is set to true. Before, it waited for NOTIFICATION_EXTENSION_INSTALLED which occurs at about the same time, causing the test to be flaky for Windows. BUG=130951 TEST=Yes Review URL: https://chromiumcodereview.appspot.com/10540068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142457 0039d316-1c4b-4281-b951-d872f2087c98
* Add drive search function to fileBrowserPrivate api.tbarzic@chromium.org2012-06-151-0/+1
| | | | | | | | | BUG=129068 TEST=added RemoteFileSystemExtensionApiTest.ContentSearch Review URL: https://chromiumcodereview.appspot.com/10548032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142436 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning Up Extensions When Local Content Removedrdevlin.cronin@chromium.org2012-06-155-25/+385
| | | | | | | | | | | | | | | | | | This fixes an issue where removing an extension's local content, e.g. deleting the user-data-dir/Default/Extensions/<id> directory, would result in a broken extension. Chrome will now uninstall/remove any extensions where the path to the extension cannot be resolved. BUG=31910 TEST=ExtensionServiceTest.CleanupInternalExtensionsMissingLocalContent; ExtensionServiceTest.CleanupUnpackedExtensionsMissingLocalContent; test by hand by loading an extension, deleting the local directory, and restarting chrome Review URL: https://chromiumcodereview.appspot.com/10541126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142427 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromiumOS compile.bryeung@chromium.org2012-06-151-3/+3
| | | | | | | | | BUG=none TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10562008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142402 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional device attributes.bryeung@chromium.org2012-06-152-17/+40
| | | | | | | | | | | TEST=updated apitest BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142360 Review URL: https://chromiumcodereview.appspot.com/10537167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142396 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142360 - Add additional device attributes.hbono@chromium.org2012-06-152-38/+16
| | | | | | | | | | | | | TEST=updated apitest BUG=none Review URL: https://chromiumcodereview.appspot.com/10537167 TBR=bryeung@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142363 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional device attributes.bryeung@chromium.org2012-06-152-16/+38
| | | | | | | | | | TEST=updated apitest BUG=none Review URL: https://chromiumcodereview.appspot.com/10537167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142360 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the OOB Pairing APIs.bryeung@chromium.org2012-06-153-17/+307
| | | | | | | | | | | | This depends on https://chromiumcodereview.appspot.com/10546010 TEST=new apitests added BUG=119473 Review URL: https://chromiumcodereview.appspot.com/10544013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142346 0039d316-1c4b-4281-b951-d872f2087c98
* Implement fileSystem.chooseFile.benwells@chromium.org2012-06-152-31/+150
| | | | | | | | | | | | | | This allows platform apps to prompt the user for a file to read or a file to write. If opening (reading) the file entry returned will be read only. If saving the file entry will be read write. BUG=130196 TEST=Manual testing Review URL: https://chromiumcodereview.appspot.com/10534156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142314 0039d316-1c4b-4281-b951-d872f2087c98
* Allow platform apps to open links in the browser.mihaip@chromium.org2012-06-151-0/+11
| | | | | | | | | | | | Triggered via <a href="..." target="_blank"> or window.open('...'). R=miket@chromium.org BUG=130213 Review URL: https://chromiumcodereview.appspot.com/10534147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142292 0039d316-1c4b-4281-b951-d872f2087c98
* Add "regular_only" scope for extension-defined preferences.bauerb@chromium.org2012-06-148-107/+186
| | | | | | | | | | BUG=98431 TEST=none Review URL: https://chromiumcodereview.appspot.com/10542003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142251 0039d316-1c4b-4281-b951-d872f2087c98
* Support redirects by regular expression in declarative WebRequest APIbattre@chromium.org2012-06-145-11/+201
| | | | | | | | | BUG=112155 TEST=no Review URL: https://chromiumcodereview.appspot.com/10449069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142182 0039d316-1c4b-4281-b951-d872f2087c98
* Move guid generation from chrome/common/ to base/.marja@chromium.org2012-06-141-2/+2
| | | | | | | | | | | | It will be needed in webkit/dom_storage/. BUG=NONE TEST=Existing tests. Review URL: https://chromiumcodereview.appspot.com/10540003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142142 0039d316-1c4b-4281-b951-d872f2087c98
* `chrome.browsingData` extension API can now remove data from protected origins.mkwst@chromium.org2012-06-144-18/+121
| | | | | | | | | | | | | | | Currently, installing a hosted application for `example.com` means that we ignore that origin when removing browsing data. This CL extends the filtering options available to extension authors using the BrowsingData API to include removal of browsing data for these "protected" web origins. BUG=113194 TEST=browser_tests Review URL: https://chromiumcodereview.appspot.com/10522002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142133 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the guts of ResourceDispatcherHostImpl into a new class nameddarin@chromium.org2012-06-142-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ResourceLoader. This class is responsible for driving the URLRequest (calling Start, Read, and servicing events). This change also generalizes ResourceThrottleController so that it can be used by ResourceHandler implementations to resume or cancel a resource load. The ResourceLoader is a ResourceController. (In a follow-up patch, the BufferedResourceHandler will also become a ResourceController. This will enable us to make the "resume" behavior sane.) The ResourceDispatcherHostImpl now keeps a set of ResourceLoader objects instead of URLRequests. The ResourceLoader owns its URLRequest as well as ResourceHandler (chain). Numerous fields from ResourceRequestInfo become member variables of ResourceLoader because they are only needed by ResourceLoader. This helps cleanup some code. ResourceDispatcherHostImpl is no longer a friend of ResourceRequestInfoImpl, and indeed RRII no longer has any private getter/setters intended for use by RDHI! The ResourceDispatcherHostImpl used to maintain a set of transferred URLRequests. This set is eliminated in favor of just storing a boolean flag on ResourceLoader (is_transferring_). When transferring a request from one RenderView to another, we still replace the ResourceHandler as before, but we keep the ResourceLoader. This means the logic for completing the transfer becomes a member function on ResourceLoader. See ResourceLoader::CompleteTransfer(). NOTE: I left it as future cleanup to improve some of the methods on ResourceLoader that are essentially just copy/pasted from RDHI. For example, I suspect that the new deferred_stage_ member variable will make called_on_response_started_, has_started_reading_, and is_paused_ obsolete. I plan to make these simplifications along with making BufferedResourceHandler implement ResourceController. For now, I'm just trying to minimize changes since this CL is already too big. R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10501004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142108 0039d316-1c4b-4281-b951-d872f2087c98
* [Font Settings API]: Remove default charset from API.falken@google.com2012-06-144-68/+0
| | | | | | | | | | | As suggested by Jungshik. Although charset is currently one of the settings in the built-in font options UI, it is not really a font setting and doesn't belong there or in the API. BUG=114148 TEST= Review URL: https://chromiumcodereview.appspot.com/10535142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142089 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BrowserList::GetLastActive from extensions tabs code by using ↵jam@chromium.org2012-06-142-10/+19
| | | | | | | | | BrowserWindow to check instead. BUG=129187 Review URL: https://chromiumcodereview.appspot.com/10533131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142088 0039d316-1c4b-4281-b951-d872f2087c98
* Better logging in extension update code for case of invalid crx urlsasargent@chromium.org2012-06-141-1/+2
| | | | | | | | | | | | | It turns out that calling .spec() on an invalid url just returns the empty string (and causes a DCHECK failure). BUG=130881 TEST=none Review URL: https://chromiumcodereview.appspot.com/10534148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142058 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor chrome.alarms interface to support absolute alarm deadlines.jyasskin@chromium.org2012-06-148-224/+423
| | | | | | | | | | | | BUG=122817 TEST=Created an extension with absolute delays under 5 minutes away, and watched that they didn't fire for 5 minutes. Review URL: https://chromiumcodereview.appspot.com/10545104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142037 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak of a TestingValueStore in unit_tests.mpcomplete@chromium.org2012-06-141-0/+1
| | | | | | | | | BUG=132621 TEST=no Review URL: https://chromiumcodereview.appspot.com/10544146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142033 0039d316-1c4b-4281-b951-d872f2087c98
* Close all infobars before testing the count, otherwise the count will be wrong.rsesek@chromium.org2012-06-131-0/+14
| | | | | | | | | | BUG=none TEST=ExtensionInstallUIBrowserTest.* on 10.5 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141979 0039d316-1c4b-4281-b951-d872f2087c98
* Remove CHECK that's causing a crash in chromeos.mpcomplete@chromium.org2012-06-131-5/+4
| | | | | | | | | BUG=131401 TEST=no Review URL: https://chromiumcodereview.appspot.com/10541147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141975 0039d316-1c4b-4281-b951-d872f2087c98
* Create new Mac Panels (PanelCocoa) without web content.jennb@chromium.org2012-06-131-12/+31
| | | | | | | | | | | | | Added command line switch --browserless-panels to open new refactored panels. Command line switch currently only useful for Mac. Tests updated to work with refactored panels. Only enabled for Mac at the moment. BUG=127323 TEST=Updated Review URL: https://chromiumcodereview.appspot.com/10534119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141973 0039d316-1c4b-4281-b951-d872f2087c98
* Add DNS resolution to socket.sendTo().miket@chromium.org2012-06-133-59/+99
| | | | | | | | | | | | | - Refactored DNS functionality from connect() to common base class. - Also fixed some new JS warnings re BlobBuilder. BUG=110520 TEST=yes, added Review URL: https://chromiumcodereview.appspot.com/10537137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141970 0039d316-1c4b-4281-b951-d872f2087c98
* Move context menu persisting from ExtensionPrefs to extension StateStore.mpcomplete@chromium.org2012-06-139-62/+87
| | | | | | | | | BUG=123366 TEST=extension alarms are still remembered after chrome restart Review URL: https://chromiumcodereview.appspot.com/10544124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141957 0039d316-1c4b-4281-b951-d872f2087c98
* TabContentsWrapper -> TabContents, part 56.avi@chromium.org2012-06-131-3/+0
| | | | | | | | | | | That's almost all. BUG=131026 TEST=no change Review URL: https://chromiumcodereview.appspot.com/10551002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141891 0039d316-1c4b-4281-b951-d872f2087c98