| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* chrome/browser/extensions/extension_service.cc:
Register virtual keyboard extension's URL and layout names to the IME library.
* chrome/browser/ui/touch/frame/:
Register a callback function which is called when IME is switched. The callback function sends a notification to the current virtual keyboard extension.
* chrome/browser/resources/keyboard/main.js:
Handles window.onhashchange event.
This change depends on http://codereview.chromium.org/7096001/ .
All-in-one CL for testing is also available at http://codereview.chromium.org/7074008/ .
BUG=chromium-os:14241
TEST=ran browser_test
Review URL: http://codereview.chromium.org/7042033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89433 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These tests were originally in http://codereview.chromium.org/6696090 (which
never got landed). The actual behavior was fixed with r80213, but we didn't have
a test case for bug 76816. Getting the tests to pass involved some
ExtensionBrowserTest tweaks, since unpacked extensions default to always
allowing file:/// access, but we want to disallow that for some tests.
BUG=76816
TEST=no
R=mpcomplete@chromium.org
Review URL: http://codereview.chromium.org/7155012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89340 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
immediately
Add loading and unloading code to SystemOptionsHandler
Add unregister_component_extension to ExtensionService
BUG=chromium-os:11887
TEST=manually confirmed that enabling/disabling a11y features works immediately
Review URL: http://codereview.chromium.org/7129015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to go through the newly made ProfileKeyedServiceFactory subclass.
In addition, makes further modifications to the unit testing stuff because the TemplateURL tests change the active TemplateURLService on a profile during the test.
BUG=77155
TEST=unit tests
R=mirandac
Review URL: http://codereview.chromium.org/7056056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88153 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
with plugins.
First landing broke some browser tests.
BUG=83273
TEST=in the extensions managmenet page, with developer mode enabled, Load an unpacked extension on an extension with NPAPI plugins. You should get an install dialog.
TBR=mihaip
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87738 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
extension with plugins.
BUG=83273
TEST=in the extensions managmenet page, with developer mode enabled, Load an unpacked extension on an extension with NPAPI plugins. You should get an install dialog.
Review URL: http://codereview.chromium.org/7077018
TBR=mpcomplete@chromium.org
Review URL: http://codereview.chromium.org/7109014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87655 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
plugins.
BUG=83273
TEST=in the extensions managmenet page, with developer mode enabled, Load an unpacked extension on an extension with NPAPI plugins. You should get an install dialog.
Review URL: http://codereview.chromium.org/7077018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87637 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
When we raise the size limit on CRXes, it will become possible to have an extension that takes a long time and lots of CPU to unpack. To avoid starting many resource-intensive unpack jobs at once, update one extension at a time.
BUG=80012
TEST=ExtensionUpdaterTest.TestMultipleExtensionDownloadingUpdates*
Review URL: http://codereview.chromium.org/6965018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87401 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ExtensionService."
This breaks, among other things, multi-profile and the first run dialog.
Reverting at least for M13.
This reverts commit 45758c29485736d7164085e6b7f8bf0999df1c4f.
BUG=81745
TEST=none
Review URL: http://codereview.chromium.org/7084006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87083 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=manual (install nacl extension, restart browser)
Review URL: http://codereview.chromium.org/7074015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87075 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
not change.
BUG=chromium-os:14880
TEST=Click "play" button on an audion file in the file browser. Check that the mediaplayer panel has popped up. Click on another file. Check that the mediaplayer playlist panel has popped up and contains 2 items.
Review URL: http://codereview.chromium.org/7067020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87002 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread was set incorrectly when initialized from the FILE thread)
Also roll back r85951 which is not needed when no file access takes place during extension initialization.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7008016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86838 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ExtensionService is in turn owned by the Profile.
Also stop pretending that each event router observes more than one profile. (To support multi-profile, each profile would have its own ExtensionService and routers.)
BUG=81745
TEST=covered by existing tests
Review URL: http://codereview.chromium.org/6961027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86750 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
ExtensionContentSettingsStore will eventually be used by the content settings extension API.
BUG=71067
TEST=unit tests
Review URL: http://codereview.chromium.org/6969062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
std::vector<URLPattern>
- Rename ExtensionExtent to URLPatternSet
- Refactor common/extensions/user_script.h, common/extensions/user_script.cc, common/extensions/file_browser_handler.h and common/extensions/file_browser_handler.cc so that they use URLPatternSet instead of std::vector<URLPattern>
- At many places rename std::vector<URLPattern> to URLPatternList, which is typedefed at common/extensions/url_pattern.h
- Rename URLPatternSet::ClearPaths() to URLPatternSet::ClearPatterns()
- Rename URLPatternSet::ContainsURL() to URLPatternSet::MatchesUrl()
BUG=72955
TEST=ExtensionManifestTest.FileBrowserHandlers, ExtensionUserScriptTest.*, ExtensionURLPatternTest.*
Review URL: http://codereview.chromium.org/7038029
Patch from Kentaro Hara <haraken@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86060 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It looks like they got moved accidentally in http://codereview.chromium.org/6714032
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7048007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
when updating the PluginList.
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/7042023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85951 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
trying to uninstall it.
BUG=80868
TEST=ExtensionServiceTest.UninstallingNotLoadedExtension
Review URL: http://codereview.chromium.org/7037037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85944 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Add IME UI related extension API. We will use it to show IME candidates in a chrome extension.
BUG=none
TEST=seaboard
Review URL: http://codereview.chromium.org/6869024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84658 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Report path length to extensions dir.
* Report cause and install source in histograms.
* Add histogram to show why writing an update to a file might fail.
* Don't create installer for crx that can't be read.
BUG=81687
TEST=Manual: look at about:histogram
Review URL: http://codereview.chromium.org/6932045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84617 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:13739
TEST=None
Review URL: http://codereview.chromium.org/6932038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84502 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert GetSyncData() to taking a const Extension& instead of an ID, as
the service may not know about the extension via ID anymore.
BUG=81470
TEST=
Review URL: http://codereview.chromium.org/6931019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84165 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=80056
TEST=Install an extension (e.g. forecastfox), kill the extension from the task manager. The balloon that pops up should show the forecastfox extension.
Review URL: http://codereview.chromium.org/6912034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84140 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add IME UI related extension API. We will use it to show IME candidates in a chrome extension.
BUG=none
TEST=seaboard
Review URL: http://codereview.chromium.org/6869024
TBR=bryeung@chromium.org
Review URL: http://codereview.chromium.org/6930018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add IME UI related extension API. We will use it to show IME candidates in a chrome extension.
BUG=none
TEST=seaboard
Review URL: http://codereview.chromium.org/6869024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84095 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
net/base/escape.h, and net/base/net_util.h, and reduce the API surfaces in various places slightly where possible.
BUG=23581
TEST=none
Review URL: http://codereview.chromium.org/6898026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83948 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also cleaned up some dead code and obsolete comments.
BUG=80726
TEST=
Review URL: http://codereview.chromium.org/6909001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83877 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change enabled -> terminated state transition to be atomic.
Added unit tests for various functions' behavior with terminated
extensions.
Fix incorrect use of extension_id parameter in UninstallExtension (by renaming the parameter to extension_id_unsafe and the copy to extension_id).
Cleaned up unit tests a bit.
BUG=80756,80752
TEST=
Review URL: http://codereview.chromium.org/6889015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83868 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since sync sets the enabled flag before it adds the pending extension,
there's no need to plumb this through anymore.
BUG=72659
TEST=
Review URL: http://codereview.chromium.org/6902134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83593 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make Enable/DisableExtension handle non-installed extensions gracefully.
Make DisableExtension handle terminated extensions.
Make ProcessSyncData enable/disable an extension regardless of whether
it's already installed.
BUG=72659
TEST=
Review URL: http://codereview.chromium.org/6903127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83571 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The concept was added to support syncing. Instead, made
SetIsIncognitoEnabled() work regardless of whether or not the extension
is installed.
BUG=72659
TEST=
Review URL: http://codereview.chromium.org/6904102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83457 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a prerequisite for sync being able to enable/disable an extension
before it's installed.
Removed obsolete TODO.
BUG=72659
TEST=
Review URL: http://codereview.chromium.org/6903121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83445 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is not necessary to unload extensions during destruction because that only happens when the profile is going away, so the unloading would be wasted effort.
With that gone, you can also get rid of DestroyingProfile(), which simplifies things.
Also moved all hooking of outside components that happens during extension load and unload into a central location.
Review URL: http://codereview.chromium.org/6902059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83408 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extend GetExtensionByIdInternal() to handle terminated
extensions.
Make ExtensionService and PendingExtensionManager use
GetInstalledExtension().
BUG=80752
TEST=
Review URL: http://codereview.chromium.org/6901079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83380 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
And add myself to an ntp watchlist.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/6905067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83379 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add appropriate warnings if the return value is false.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6901067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
both non-refcounted and have a lifetime that isexactly equivalent to Profile.The DestroyingProfile code dates to a time whenExtensionService was ref-counted.Review URL: http://codereview.chromium.org/6905050
TBR=aa@chromium.org
Review URL: http://codereview.chromium.org/6902085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83209 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
These guys are both non-refcounted and have a lifetime that is
exactly equivalent to Profile.
The DestroyingProfile code dates to a time when
ExtensionService was ref-counted.
Review URL: http://codereview.chromium.org/6905050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83198 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
an ntp watchlist.BUG=noneTEST=trybotsReview URL: http://codereview.chromium.org/6883154
TBR=estade@chromium.org
Review URL: http://codereview.chromium.org/6903039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83063 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
And add myself to an ntp watchlist.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/6883154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83062 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
content layer now. ExtensionService keeps a map from renderer child ids to installed extensions instead.
Review URL: http://codereview.chromium.org/6880089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6882089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82796 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move sync-related methods in ExtensionService to the interface
ExtensionServiceSyncInterface. Add methods GetSyncData() and
GetSyncDataList() for sync to query.
Make extension/app sync code use new interface and methods. Stop
listening to EXTENSION_INSTALLED notification as it is unneeded;
EXTENSION_LOADED/EXTENSION_UPDATE_DISABLED is called afterwards.
Clean up now-unneeded methods in ExtensionServiceInterface.
Stop keeping track of unsynced extensions in SlurpClientData(). We check it in SlurpServerData(), but we shouldn't be sending that data to the server in the first place.
Add OVERRIDE annotations to subclasses of ExtensionService* subclasses.
BUG=77995
TEST=
Review URL: http://codereview.chromium.org/6900012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82755 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=Builds
Review URL: http://codereview.chromium.org/6898008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82693 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use weak pointers instead, which makes it easier to reason about lifetimes.
Make CrxInstaller et al. use a weak pointer instead.
Add MakeCrxInstaller() function to ExtensionService.
Make WebUI handlers use a raw pointer (since they will always get destroyed
before the profile does).
Make tests use raw or scoped pointers, as appropriate.
Rename extensions_service to extension_service where encountered.
Add checks for BrowserThread::PostTask.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6873065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82257 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the disabled extension prompt to use the new re-enable prompt text.
BUG=42672, 37963
TEST=about:histograms/Extensions
Review URL: http://codereview.chromium.org/6626024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
(NaCl, registration of Chrome plugins like pdf/remoting/flash) behind.
Review URL: http://codereview.chromium.org/6869051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81959 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add ExtensionSyncData class to hold the data that goes between the
extension service and extension sync.
Add ProcessSyncData() method to ExtensionService (with unit tests!).
Remove now-unneeded extension sync functions.
BUG=77995
TEST=
Review URL: http://codereview.chromium.org/6852029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81899 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=none
TEST=BackgroundApplicationListModelTest.LoadExplicitExtensions
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81873 0039d316-1c4b-4281-b951-d872f2087c98
|