summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Use FilePath in ProfileInfo struct.tfarina@chromium.org2010-05-151-1/+1
| | | | | | | | | BUG=24672 TEST=out/Debug/unit_tests Review URL: http://codereview.chromium.org/1741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47370 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Check the result value of StartHTTPServer to avoidphajdan.jr@chromium.org2010-05-1516-27/+27
| | | | | | | | | | | | | | | test hangs in cases when the server fails to start. The tests will still fail in that case, obviously, but will no longer hang (or crash), which is an improvement. TEST=browser_tests BUG=none Review URL: http://codereview.chromium.org/2095004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47362 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r47079: Shorten several appsrelated flags.aa@chromium.org2010-05-134-5/+4
| | | | | | TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47104 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 47079 - Shorten several appsrelated flags. "256 characters should be ↵aa@chromium.org2010-05-122-2/+3
| | | | | | | | | | | enough for anyone's shortcut flags!" Review URL: http://codereview.chromium.org/1991009 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/2010013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47081 0039d316-1c4b-4281-b951-d872f2087c98
* Shorten several apps-related flags. "256 characters should be enough for ↵aa@chromium.org2010-05-122-3/+2
| | | | | | | | anyone's shortcut flags!" Review URL: http://codereview.chromium.org/1991009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47079 0039d316-1c4b-4281-b951-d872f2087c98
* Add update and removeAll functions to extensions context menu APIasargent@chromium.org2010-05-127-82/+566
| | | | | | | | | | BUG=39505 TEST=Should be able to add a bunch of context menu items and then change or remove them using update and removeAll respectively. Review URL: http://codereview.chromium.org/1736028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47060 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow display of multiple experimental.extension.popup(...) windows ericdingle@google.com2010-05-123-19/+71
| | | | | | | | | | | This is a duplicate of http://codereview.chromium.org/2027006 which was accidentally created in a read-only client. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/2003016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47052 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Disable crashing extension UpdatePermission test.kkania@chromium.org2010-05-121-1/+8
| | | | | | | | | BUG=32906 TEST=none Review URL: http://codereview.chromium.org/2015018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47044 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Enable extension AutoUpdate and UpdatePermissions tests after fixing ↵kkania@chromium.org2010-05-121-9/+0
| | | | | | | | | | | a related crash. BUG=31737,32906 TEST=none Review URL: http://codereview.chromium.org/2018006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47036 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the gallery url passed through the command line to be referrer for ↵finnur@chromium.org2010-05-121-0/+12
| | | | | | | | | | | actual gallery downloads. BUG=None TEST=Pass in a gallery url through the command line and make sure the dangerous download warning does not show when downloading from that gallery. Review URL: http://codereview.chromium.org/1997019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47033 0039d316-1c4b-4281-b951-d872f2087c98
* BackgroundContents browser testrafaelw@chromium.org2010-05-111-0/+37
| | | | | | | | BUG=41275 Review URL: http://codereview.chromium.org/2013015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46979 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in chrome/phajdan.jr@chromium.org2010-05-1113-9/+24
| | | | | | | | | TEST=if it compiles, it is perfect BUG=none Review URL: http://codereview.chromium.org/2001007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46894 0039d316-1c4b-4281-b951-d872f2087c98
* Add the geolocation permission to the extension install dialog.aa@chromium.org2010-05-081-1/+6
| | | | | | | | BUG=43172 Review URL: http://codereview.chromium.org/2044002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46763 0039d316-1c4b-4281-b951-d872f2087c98
* Moved URLFetcher and related classes to chrome/common/net.sanjeevr@chromium.org2010-05-073-3/+3
| | | | | | | | BUG=None TEST=Build and Unittests Review URL: http://codereview.chromium.org/1995008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46739 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46592 - Disallow display of multiple ↵zork@chromium.org2010-05-063-70/+20
| | | | | | | | | | | | | | | | | experimental.extension.popup(...) windows. Patch 1 contains twiz@'s code reviewed implementation from http://codereview.chromium.org/1512007. This CL is to address the failure of release tests. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/1921003 TBR=ericdingle@google.com Review URL: http://codereview.chromium.org/2036002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46638 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46611 - Quick fix to browser tests failure for ↵zork@chromium.org2010-05-061-8/+6
| | | | | | | | | | | | | | http://codereview.chromium.org/1921003 Bug=none Test=none Review URL: http://codereview.chromium.org/2030004 TBR=ericdingle@google.com Review URL: http://codereview.chromium.org/1981005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46636 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix to browser tests failure for http://codereview.chromium.org/1921003ericdingle@google.com2010-05-061-6/+8
| | | | | | | | | Bug=none Test=none Review URL: http://codereview.chromium.org/2030004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46611 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow display of multiple experimental.extension.popup(...) windows.ericdingle@google.com2010-05-063-20/+70
| | | | | | | | | | | | Patch 1 contains twiz@'s code reviewed implementation from http://codereview.chromium.org/1512007. This CL is to address the failure of release tests. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/1921003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46592 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionInstallUIBrowserTest.TestThemeInstallUndoResetsToDefault as flaky.phajdan.jr@chromium.org2010-05-061-1/+2
| | | | | | | | | | TBR=bulach TEST=none BUG=43441 Review URL: http://codereview.chromium.org/1998005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46587 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ExtensionApiTest.Tabs, it flakily exceeds test timeout.phajdan.jr@chromium.org2010-05-061-8/+2
| | | | | | | | | | TBR=skerner TEST=none BUG=43440 Review URL: http://codereview.chromium.org/1988004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46586 0039d316-1c4b-4281-b951-d872f2087c98
* Changing a NOTREACHED to a DLOG(ERROR) since we hit this when running the ↵tommi@chromium.org2010-05-061-1/+1
| | | | | | | | | | | | | net tests with chrome frame. See revision 42240 for more details: http://codereview.chromium.org/1107013 TEST=n/a BUG=none Review URL: http://codereview.chromium.org/1987001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46577 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for web-extent background pages.rafaelw@chromium.org2010-05-063-24/+34
| | | | | | | | | | | | | | | | | | | | This patch adds a new RVH container: BackgroundContents. The idea is that apps can open a live web-page as a "background" page using window.open('<url>', '<name>', 'background'); If 'background' is specified and the opener is within the app's extent, a BackgroundContents will be used. Otherwise, the 'background' feature is ignored and it is treated as a regular popup call. Note that as of this patch the following are explicitly not-yet addressed: 1) Session storage for BackgroundContents 2) SSL (or other failures) requiring UI 3) Javascript messages (alert, etc...) 4) Session restore TEST=All tests should pass BUG=41275 Review URL: http://codereview.chromium.org/1734014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46544 0039d316-1c4b-4281-b951-d872f2087c98
* Make the app launcher bubble fit its contents.jcivelli@google.com2010-05-051-2/+1
| | | | | | | | | | | | | | It remains at least as wide as the browser location bar (that way it can always point at the + button). InfoBubble was modified so it can be resized. BUG=42260 TEST=Open the app launcher multiple-times. The app launcher should fit its contents nicely. Review URL: http://codereview.chromium.org/1739020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46482 0039d316-1c4b-4281-b951-d872f2087c98
* Tell the app launcher about any newly installed apps. This is intended to be ↵aa@chromium.org2010-05-051-4/+26
| | | | | | | | used for a nice animation. Review URL: http://codereview.chromium.org/1906004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46472 0039d316-1c4b-4281-b951-d872f2087c98
* Replace CHECK(false) by LOG(FATAL) where appropriate.evan@chromium.org2010-05-051-2/+2
| | | | | | | | | The difference is that the error message doesn't contain "Assertion failed: false". Review URL: http://codereview.chromium.org/1970001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46422 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent chrome extension URL overrides from applying in incognito mode.mpcomplete@chromium.org2010-05-042-4/+27
| | | | | | | | BUG=39372 Review URL: http://codereview.chromium.org/1940002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46390 0039d316-1c4b-4281-b951-d872f2087c98
* Enable BrowserActionApiTest.BrowserActionPopup test after fixing some ↵kkania@chromium.org2010-05-041-14/+16
| | | | | | | | | | | flaky/crash problems. BUG=39158 TEST=none Review URL: http://codereview.chromium.org/1872002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46389 0039d316-1c4b-4281-b951-d872f2087c98
* Enable clipboard in extensions. re-enable the disabled clipboard test.inferno@chromium.org2010-05-042-2/+4
| | | | | | | | BUG=43147 Review URL: http://codereview.chromium.org/1933001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46330 0039d316-1c4b-4281-b951-d872f2087c98
* Disable clipboard test until I enable back clipboard for extensions. My ↵inferno@chromium.org2010-05-041-1/+2
| | | | | | | | recent webkit fix disabled clipboard completely, unfortunately. Review URL: http://codereview.chromium.org/1925001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46322 0039d316-1c4b-4281-b951-d872f2087c98
* Include App pages in chrome://extensions "active views" list.rafaelw@chromium.org2010-05-034-43/+76
| | | | | | | | | | | This changes the implementation such that the extensions_ui now iterates over all the RVHs in the process, rather than maintain an explicit list of ExtensionFunctionDispatchers (live app pages don't have EFDs). TEST=none BUG=42605 Review URL: http://codereview.chromium.org/1827002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46295 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Clean-up of the asynchronous behaviour of the experimental extension ↵phajdan.jr@chromium.org2010-05-013-60/+15
| | | | | | | | | | | | popup API. " This reverts http://codereview.chromium.org/1512007 TBR=twiz Review URL: http://codereview.chromium.org/1735026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46184 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix AppApiTest.AppProcess and ExtensionApiTest.Storage flakiness.kkania@chromium.org2010-04-302-4/+6
| | | | | | | | | BUG=42497,42943 TEST=none Review URL: http://codereview.chromium.org/1705025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46151 0039d316-1c4b-4281-b951-d872f2087c98
* Clean-up of the asynchronous behaviour of the experimental extension popup API. twiz@chromium.org2010-04-303-15/+60
| | | | | | | | | | | | | | | | | - It was previously possible to programmatically launch two popups from the same extension. (Simply call popup.show twice in a row, or in a callback chain.) I removed this incorrect funcationality by registering ExtensionPopupHost to listen for EXTENSION_HOST_CREATED notifications. If a popup is shown, and a new ExtensionHost is constructed of type EXTENSION_POPUP, then the presently displayed popup is dismissed. - The callback function for popup.show(...) was previously called in response to EXTENSION_POPUP_VIEW_READY, as processed in response to a ViewHostMsg_DocumentAvailableInMainFrame message. This message wassent after PARSING of the conent of the popup view. Because of this behaviour, the API was difficult to use because one could not meaningfully interact with the popup page during the callback: The callback would race with completion of the onload handler within the popup, so some sort of polling for onload-complete was required. I fixed the problem by adding new notifications and messages so that EXTENSION_POPUP_VIEW_READY is now sent only after all onload handlers have been invoked.Corresponding unit-tests have also been added. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/1512007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46136 0039d316-1c4b-4281-b951-d872f2087c98
* Mark AppApiTest.AppProcess as flaky.willchan@chromium.org2010-04-301-1/+1
| | | | | | | | BUG=42497 Review URL: http://codereview.chromium.org/1691023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46096 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Mark ExtensionApiTest.Storage as flaky.kkania@chromium.org2010-04-301-1/+8
| | | | | | | | | | BUG=42943 TEST=none TBR=rafaelw Review URL: http://codereview.chromium.org/1810012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46083 0039d316-1c4b-4281-b951-d872f2087c98
* Unpack extensions inside chrome's profile directory.skerner@chromium.org2010-04-304-9/+57
| | | | | | | | | | | Other users of the temp directory will be altered in a subsequent CL. BUG=13044 TEST=SandboxedExtensionUnpackerTest.*, ScopedTempDir.UniqueTempDirUnderPath, FileUtilTest.CreateNewTempDirInDirTest, manual testing on win, linux, mac. Review URL: http://codereview.chromium.org/1582022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46078 0039d316-1c4b-4281-b951-d872f2087c98
* Have extension call windows.getLastFocused include incognito windows if thempcomplete@chromium.org2010-04-301-1/+2
| | | | | | | | | | extension is enabled for incognito. BUG=39113 Review URL: http://codereview.chromium.org/1789010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46076 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Small change to get the BrowserActionApiTest.IncognitoDragging test ↵kkania@chromium.org2010-04-301-5/+0
| | | | | | | | | | running. BUG=none TEST=none Review URL: http://codereview.chromium.org/1810008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46074 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated things from net test suite:phajdan.jr@chromium.org2010-04-301-31/+31
| | | | | | | | | | | | - URLRequestTestContext (from now on use TestURLRequestContext) - TestServerPageW (use TestServerPage). TEST=none BUG=none Review URL: http://codereview.chromium.org/1814002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46044 0039d316-1c4b-4281-b951-d872f2087c98
* Changing linux platform for chromeos. This involved moving platform_util ↵dhg@chromium.org2010-04-2915-13/+134
| | | | | | | | | | and extension_error_reporter to browser, so that the UIs surrounding them can be in the browser. BUG=none TEST=none Review URL: http://codereview.chromium.org/1705009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45986 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionApiTest.Incognito as flaky.phajdan.jr@chromium.org2010-04-291-1/+2
| | | | | | | | | | | TBR=mpcomplete TEST=flaky BUG=42844 Review URL: http://codereview.chromium.org/1705014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45948 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionTestBrowserEvents.RunTest as flaky.phajdan.jr@chromium.org2010-04-291-1/+2
| | | | | | | | | | | TBR=rogerta TEST=flaky BUG=37554 Review URL: http://codereview.chromium.org/1695024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45947 0039d316-1c4b-4281-b951-d872f2087c98
* Nukes one of the AddTabWithURL variants.sky@chromium.org2010-04-291-3/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1736022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45902 0039d316-1c4b-4281-b951-d872f2087c98
* This is the second side of a multi-sided webkit patch that will allow ↵rafaelw@chromium.org2010-04-282-3/+8
| | | | | | | | | | | | | | | | | experimental window.open feature strings to be captured and passed to the client. It should wait for: https://bugs.webkit.org/show_bug.cgi?id=38013 to land. This is required because this patch needs to use the WebWindowFeature binding struct in WebKit. Once this is landed, a webkit patch to change the call signature for WebViewClient::createView to include the WebWindowFeatures will be submitted (and after that another chromium patch to remove the old call signature). This patch implements old and new WebViewClient::createView signatures, and additionally passes the vector all the way to RenderViewHostDelegateHelper who will eventually use it to observe the 'background' feature. BUG=41275 TEST=all tests should pass Review URL: http://codereview.chromium.org/1758004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45877 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Link the name of the extension on the management page to thefinnur@chromium.org2010-04-282-7/+7
| | | | | | | | | | | | | gallery page, if the extension is from the gallery. BUG=29739 TEST=Install a gallery extension and a third-party extension and make sure the gallery extension name is a link (whereas the third party extension name is static text). Review URL: http://codereview.chromium.org/1780009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45807 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 45749 - (missing test fix)finnur@chromium.org2010-04-272-7/+7
| | | | | | | | | | | | | | | Link the name of the extension on the management page to the gallery page, if the extension is from the gallery. BUG=29739 TEST=Install a gallery extension and a thirdparty extension and make sure the gallery extension name is a link (whereas the third party extension name is static text). Review URL: http://codereview.chromium.org/1792006 TBR=finnur@chromium.org Review URL: http://codereview.chromium.org/1807001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45751 0039d316-1c4b-4281-b951-d872f2087c98
* Link the name of the extension on the management page to thefinnur@chromium.org2010-04-272-7/+7
| | | | | | | | | | | gallery page, if the extension is from the gallery. BUG=29739 TEST=Install a gallery extension and a third-party extension and make sure the gallery extension name is a link (whereas the third party extension name is static text). Review URL: http://codereview.chromium.org/1792006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45749 0039d316-1c4b-4281-b951-d872f2087c98
* Adding ExtensionPrefs methods for storing update-when-idle data.asargent@chromium.org2010-04-2710-239/+460
| | | | | | | | | | | | | | | | This includes adding a few methods to ExtensionPrefs that I'm going to need to use inside ExtensionUpdater for implementing the "do updates at idle" feature. Instead of adding more call-through stubs to the interface that ExtensionsService providers to the ExtensionUpdater, I instead decided it was time to do some refactoring to expose a ExtensionPrefs getter in the interface. TEST=(Should be covered by unit/browser tests) BUG=37971 Review URL: http://codereview.chromium.org/1695018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45738 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:executable property from more files that don't need it.thestig@chromium.org2010-04-271-0/+0
| | | | | | Review URL: http://codereview.chromium.org/1723014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45659 0039d316-1c4b-4281-b951-d872f2087c98
* Fix flaky AppApiTest.AppProcess.mpcomplete@chromium.org2010-04-261-6/+7
| | | | | | | | BUG=42497 Review URL: http://codereview.chromium.org/1745016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45630 0039d316-1c4b-4281-b951-d872f2087c98