summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
Commit message (Collapse)AuthorAgeFilesLines
* win: string_util.h -> utf_string_conversions.h fix.jhawkins@google.com2010-03-111-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/830002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41292 0039d316-1c4b-4281-b951-d872f2087c98
* Fix few remaining issues with incognito extensions.mpcomplete@chromium.org2010-03-102-3/+0
| | | | | | | | | | | - Open the options page in a regular browser window. - Rip out the "incognito" permission and revise the warning dialog. BUG=37677 Review URL: http://codereview.chromium.org/749002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41109 0039d316-1c4b-4281-b951-d872f2087c98
* All platforms don't support same locales at the same time. Make locale check ↵cira@google.com2010-03-096-65/+113
| | | | | | | | | | for extensions less strict (we log a warning now, but let extension load). TEST=Create extension with _locales/xxx_yyy and see that it loads. Review URL: http://codereview.chromium.org/671011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41046 0039d316-1c4b-4281-b951-d872f2087c98
* svn prop fixes. Applied to all files not in third_party.pkasting@chromium.org2010-03-0937-0/+0
| | | | | | | | | | | | * Removed eol-style, executable and mergeinfo from BMP/GIF/ICO/JPEG files, and set correct mime-type. * Removed executable and mergeinfo from .c/.cc/.cpp/.h/.m/.mm and .gyp files, and set eol-style to LF. TBR=evanm BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40991 0039d316-1c4b-4281-b951-d872f2087c98
* Expose 'type' and 'incognito' bits to the extension window object, and makempcomplete@chromium.org2010-03-082-4/+140
| | | | | | | | | | | them settable in chrome.windows.create(). BUG=12658 BUG=28599 Review URL: http://codereview.chromium.org/669189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40961 0039d316-1c4b-4281-b951-d872f2087c98
* chrome/common: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-085-7/+14
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40927 0039d316-1c4b-4281-b951-d872f2087c98
* Next part of removing the dependency of chrome/common on chrome/browserphajdan.jr@chromium.org2010-03-061-3/+1
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/669184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40834 0039d316-1c4b-4281-b951-d872f2087c98
* Several benchmark updats:mbelshe@chromium.org2010-03-053-20/+189
| | | | | | | | | | | | - several more columns of data. - added a feature to export JSON results and to compare results. BUG=none TEST=n/a Review URL: http://codereview.chromium.org/668115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40752 0039d316-1c4b-4281-b951-d872f2087c98
* Load the bookmark manager extension at Chrome startup.aa@chromium.org2010-03-043-42/+49
| | | | | | Review URL: http://codereview.chromium.org/660232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40683 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit test that uses V8's JSON.parse() to read extension_api.json .skerner@chromium.org2010-03-031-113/+0
| | | | | | | | | BUG=18717 TEST=ExtensionApiJsonValidityTest.WithV8 Review URL: http://codereview.chromium.org/661406 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40516 0039d316-1c4b-4281-b951-d872f2087c98
* Add command line option to use a tabbed bookmark manager.arv@chromium.org2010-03-031-2/+7
| | | | | | | | | | | Start with --enable-tabbed-bookmark-manager. This will show chrome://bookmarks in a tab instead of the old bookmark manager. However, to get the bookmark manager extension to show you need to use --load-extension=path_to_extension. The extension uses the chrome_url_override to show the extension instead of the bookmark manager. BUG=4890 TEST=See description Review URL: http://codereview.chromium.org/661019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40468 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a new sample that talks to the Google DocList API.kathyw@chromium.org2010-03-0321-0/+1946
| | | | | | | | | | | | Reviewed in http://codereview.chromium.org/661032. TBR=none BUG=none TEST=none Review URL: http://codereview.chromium.org/661408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40467 0039d316-1c4b-4281-b951-d872f2087c98
* Better error output when background page fails to load.asargent@chromium.org2010-03-021-2/+2
| | | | | | | | | | | BUG=37082 TEST=Try loading a test extension with a background_page entry in your manifest.json for a file that doesn't exist. You should see the name from your manifest in the error output. Review URL: http://codereview.chromium.org/660287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40328 0039d316-1c4b-4281-b951-d872f2087c98
* Increment gmail_checker version number from 3 to 3.1cira@google.com2010-03-011-8/+8
| | | | | | | | | Sort keys in the manifest. TBR=finnur Review URL: http://codereview.chromium.org/660303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40295 0039d316-1c4b-4281-b951-d872f2087c98
* Adding hu and zh_TW translations for gmail checker. Some other locales got ↵cira@google.com2010-03-014-2/+4
| | | | | | | | minor updates. Review URL: http://codereview.chromium.org/660294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40287 0039d316-1c4b-4281-b951-d872f2087c98
* Badge font size change to 7.5 to match more closely what we had before.finnur@chromium.org2010-03-011-6/+6
| | | | | | | | | BUG=http://crbug.com/32364 TEST=See bug. Review URL: http://codereview.chromium.org/661283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40286 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for validating extension_api.json .skerner@chromium.org2010-02-281-0/+113
| | | | | | | | | BUG=18717 TEST=ExtensionApiTest.IsValidJson Review URL: http://codereview.chromium.org/661132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40249 0039d316-1c4b-4281-b951-d872f2087c98
* Continue removing bad dependency of chrome/common on chrome/browserphajdan.jr@chromium.org2010-02-273-115/+0
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/661178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40224 0039d316-1c4b-4281-b951-d872f2087c98
* Reset the default quota limit for extensions to 5MB, but add adumi@chromium.org2010-02-272-1/+4
| | | | | | | | | | | | | unlimited_quota permission that extensions can use to request unlimited quota. TEST=ExtensionsServiceTest.StorageQuota BUG=27688 Review URL: http://codereview.chromium.org/660113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40190 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 32364: Badge text of Browser Action is displayed in bold fontfinnur@chromium.org2010-02-261-3/+8
| | | | | | | | | BUG=32364 TEST=Extensions with badges should show normal font now. Review URL: http://codereview.chromium.org/661098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40159 0039d316-1c4b-4281-b951-d872f2087c98
* Extension Doc Changes (no building or testable changes)rafaelw@chromium.org2010-02-263-0/+83
| | | | | | | | | | | Build & render extension docs after incognito changes. Also, mark metrics api as "nodoc" because it is behind a command-line. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/661193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40147 0039d316-1c4b-4281-b951-d872f2087c98
* Add a metrics extensions API.rogerta@chromium.org2010-02-261-0/+105
| | | | | | | | | | | See http://docs.google.com/View?id=dd4ngnpz_0dpsb8n96 for API proposal. BUG=0 TEST=See unit tests as part of this CL Review URL: http://codereview.chromium.org/657037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40130 0039d316-1c4b-4281-b951-d872f2087c98
* Eric Bidelman's patches for the OAuth library.kathyw@chromium.org2010-02-264-33/+52
| | | | | | | | | | | | Reviewed at http://codereview.chromium.org/651081. TBR=ericbidelman TEST=none BUG=none Review URL: http://codereview.chromium.org/661168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40102 0039d316-1c4b-4281-b951-d872f2087c98
* Make the invalid version error a bit more specific; the previous textjoi@chromium.org2010-02-261-1/+1
| | | | | | | | | | | | led me to believe each component of the version string could be a 32-bit integer. BUG=none TEST=none Review URL: http://codereview.chromium.org/661154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40095 0039d316-1c4b-4281-b951-d872f2087c98
* Allow users to enable extensions in incognito. Requiresmpcomplete@chromium.org2010-02-251-2/+12
| | | | | | | | | | | | | --enable-experimental-extension-apis . The UI needs work. Tab and window events are hooked up so that they work with incognito tabs/windows when enabled. BUG=32365 BUG=36292 Review URL: http://codereview.chromium.org/657041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40057 0039d316-1c4b-4281-b951-d872f2087c98
* Adding message catalogs from TC for all locales except hu and zh_TW (not ↵cira@google.com2010-02-2542-76/+44
| | | | | | | | ready yet). Review URL: http://codereview.chromium.org/660099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40047 0039d316-1c4b-4281-b951-d872f2087c98
* Further reduce the bad dependency of chrome/common on chrome/browser.phajdan.jr@chromium.org2010-02-245-2/+889
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/656011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39877 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for more types of controls and events to GTK implementation ofdmazzoni@chromium.org2010-02-231-0/+10
| | | | | | | | | | | | accessibility extension API. Enable accessibility API for all subdialogs of the main Options dialog. BUG=none TEST=none Review URL: http://codereview.chromium.org/651037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39738 0039d316-1c4b-4281-b951-d872f2087c98
* Implement suggestions from Broc Seib:kathyw@chromium.org2010-02-2243-133/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update the group URL in all pages * Move xhr.send() down in the xhr.html samples * Add a note to xhr.html about content scripts * Link to Arne's new example of cross-origin xhr for a content script Also update the chrome.* APIs page to point to the dev version of the experimental page. Only the following files have changes besides the group URL change: api_index.html xhr.html messaging.html (added links to examples) content_scripts.html (added link to new example) I'll merge this change into all branches. TBR=erikkay TEST=none BUG=none Review URL: http://codereview.chromium.org/650107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39664 0039d316-1c4b-4281-b951-d872f2087c98
* TBR=erikkaykathyw@chromium.org2010-02-226-1/+120
| | | | | | | | | TEST=none BUG=36211 Review URL: http://codereview.chromium.org/652077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39658 0039d316-1c4b-4281-b951-d872f2087c98
* Pull gallery special case down into Extension::CanAccessHost() to avoid ↵aa@chromium.org2010-02-204-4/+25
| | | | | | | | | | | | duplicating it in multiple places. Also rename that method to better reflect what it is used for. BUG=35382 Review URL: http://codereview.chromium.org/650086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39550 0039d316-1c4b-4281-b951-d872f2087c98
* Bookmark Manager Drag and Drop backend.arv@chromium.org2010-02-201-2/+100
| | | | | | | | | | | | | | | | | | | | This adds the following methods to chrome.experimental.bookmarkManager: startDrag(idList) drop(parentId, opt_index) as well as the following events: onDragEnter(function(BookmarkDragData)) onDragLeave(function(BookmarkDragData)) onDrop(function(BookmarkDragData)) BUG=32194 TEST=None Review URL: http://codereview.chromium.org/596105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39540 0039d316-1c4b-4281-b951-d872f2087c98
* Link to experimental.html.kathyw@chromium.org2010-02-204-4/+4
| | | | | | | | | | TBR=erikkay BUG=none TEST=none Review URL: http://codereview.chromium.org/651091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39531 0039d316-1c4b-4281-b951-d872f2087c98
* Put experimental API info in its own page. No links to it yet.kathyw@chromium.org2010-02-194-2/+581
| | | | | | | | | | | | | | | | | | | (Currently this information is in .../trunk/api_index.html.) Also update the group URL in the header of the experimental API pages. My next set of commits will replace the experimental info in api_index.html with a link to this page (at the URL http://code.google.com/chrome/extensions/dev/experimental.html). TBR=erikkay BUG=none TEST=none Review URL: http://codereview.chromium.org/650077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39509 0039d316-1c4b-4281-b951-d872f2087c98
* Adding @@extension_id reserved message to l10n message map for extension.cira@chromium.org2010-02-183-5/+7
| | | | | | | | | | | | | | | | | | | | | It's added outside of ExtensionMessageBundle so that non-localized extensions can use it. Developer doesn't have to define default_locale in the manifest in order to get it working. With this change every extension css file will go through message replacement process (only localized extensions went through that before). This change will allow following construct in extension css: body { background-image:url('chrome-extension://__MSG_@@extension_id__/background.png'); } BUG=35208 TEST=Add an background image to your extension, and refer to it from css file using __MSG_@@extension_id__. Image should show up in the background. Review URL: http://codereview.chromium.org/628009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39385 0039d316-1c4b-4281-b951-d872f2087c98
* Extension Doc Changes (no building or testable changes)rafaelw@chromium.org2010-02-174-18/+22
| | | | | | | | | | | Auto generate api_index.html stable and experimental modules. BUG=35920 TBR=aa, kathyw Review URL: http://codereview.chromium.org/608024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39181 0039d316-1c4b-4281-b951-d872f2087c98
* Add link from processes doc to new example.kathyw@chromium.org2010-02-162-2/+4
| | | | | | | | | | TBR=erikkay TEST=none BUG=32303 Review URL: http://codereview.chromium.org/600158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39162 0039d316-1c4b-4281-b951-d872f2087c98
* Adds an example extension to demonstrate the processes experimental API.creis@chromium.org2010-02-163-0/+105
| | | | | | | | | | | | The extension adds a browser action that can list all the tabs that share a renderer process with the current tab. BUG=32303 TEST=Install show_tabs as an extension. Review URL: http://codereview.chromium.org/606061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39136 0039d316-1c4b-4281-b951-d872f2087c98
* Add Paul Kinlan's windows API example.kathyw@chromium.org2010-02-168-2/+74
| | | | | | | | | | TBR=erikkay BUG=33213 TEST=none Review URL: http://codereview.chromium.org/609007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39116 0039d316-1c4b-4281-b951-d872f2087c98
* Fix problem with test on Linux Views Toolkit.finnur@chromium.org2010-02-131-2/+4
| | | | | | | | | | | | | The extension was not initializing the being_upgraded_ value, causing it to randomly not increase the size of the browser action container. BUG=35593 TEST=This is enabling a test Review URL: http://codereview.chromium.org/593100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39003 0039d316-1c4b-4281-b951-d872f2087c98
* Clone of issue 577015.twiz@chromium.org2010-02-121-0/+6
| | | | | | | | | | | See http://codereview.chromium.org/577015 for the review status of this CL. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/600101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38927 0039d316-1c4b-4281-b951-d872f2087c98
* Generate doc for experimental.history & experimental.processes.kathyw@chromium.org2010-02-1210-423/+3382
| | | | | | | | | | | | | | | Point to this doc from the chrome.* APIs page. While I'm in there, fix some typos in the generated doc, add "nodoc" to experimental.accessibility (which was never generated), and remove experimental.popup.html (which was never *successfully* generated). TEST=none BUG=34766 Review URL: http://codereview.chromium.org/603019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38876 0039d316-1c4b-4281-b951-d872f2087c98
* Initial work on making extensions work in incognito mode.mpcomplete@chromium.org2010-02-114-14/+14
| | | | | | | | | | | | This merely adds a way to enable content scripts and browser actions in incognito windows. They still don't work properly because none of the APIs work with incognito tabs. The way to enable an extension is to add an "incognito" bit in the user prefs file. My plan is to add UI for this later. BUG=32365 Review URL: http://codereview.chromium.org/567037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38852 0039d316-1c4b-4281-b951-d872f2087c98
* Fix spelling error on history transition type.brg@chromium.com2010-02-111-1/+1
| | | | | | | | | Also mark the history test as flaky. BUG=35430, 26296 TEST=ExtensionApiTest.FLAKY_History Review URL: http://codereview.chromium.org/601049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38850 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valgrind problem with the tests, remove suppresions.cira@google.com2010-02-112-2/+16
| | | | | | | | | TEST=Run tests under valgrind - no errors. BUG=35367 Review URL: http://codereview.chromium.org/606001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38832 0039d316-1c4b-4281-b951-d872f2087c98
* Improve wording for getExtensionTabs docs.skerner@chromium.org2010-02-112-12/+12
| | | | | | | | | BUG=NONE TEST=Run build script to check that json is valid. Review URL: http://codereview.chromium.org/545091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38805 0039d316-1c4b-4281-b951-d872f2087c98
* Replace __MSG_some_name__ template within extension css files with localized ↵cira@chromium.org2010-02-119-1/+676
| | | | | | | | | | | | | messages. We avoid replacing messages within html and js extension files for security reasons. Also, developers can already localize messages in html/js using chrome.i18n.getMessage calls. TEST=Localize extension, try body{direction: __MSG_@@bidi_reversed_dir__;} in popup.css, while using non-rtl locale. Text should be alligned to the right (as if we were using rtl locale). BUG=26144 Review URL: http://codereview.chromium.org/570007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38717 0039d316-1c4b-4281-b951-d872f2087c98
* Extension Doc Changes (no building or testable changes).rafaelw@chromium.org2010-02-111-1/+1
| | | | | | | | | | Fix build.py script breakage. TBR=aa,kathyw Review URL: http://codereview.chromium.org/596049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38708 0039d316-1c4b-4281-b951-d872f2087c98
* Make it so that chrome.bookmarks.update can update the URL of a bookmark.arv@chromium.org2010-02-103-11/+100
| | | | | | | | | | | This changes the API slightly. Previously, if someone called update with an empty object ({}) it would set the title to "". This was only documented in the code and not on the API page. Now that we support updating both the url and title it seems more reasonable to ignore a missing title. BUG=34841 TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Bookmarks Review URL: http://codereview.chromium.org/591006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38555 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Reduce header dependencies in chrome.phajdan.jr@chromium.org2010-02-091-1/+1
| | | | | | | | | BUG=none TEST=If it compiles it is perfect. Review URL: http://codereview.chromium.org/585008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38463 0039d316-1c4b-4281-b951-d872f2087c98