| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
over SSL.
Review URL: http://codereview.chromium.org/8805020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whitelists the following permissions:
- contentSettings
- pageCapture
- webNavigation
- webRequest
- webRequestBlocking
BUG=105630
TEST=existing
Review URL: http://codereview.chromium.org/8770051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112821 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this CL also introduces a new permission webRequestBlocking that is required in addition to webRequest if you want to use blocking request handlers.
BUG=60101
TEST=no
Review URL: http://codereview.chromium.org/8662010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112181 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The actual changes here are to `.../template/api_template.html` and `.../js/api_page_generator.js`. Everything else is just generated from those two files.
As a drive-by, this also changes `api_page_generator.js` to allow for more than one `prerenderjs` block in each template. Each should be evaluate in the order in which they're discovered on the page.
BUG=105105
TEST=
Review URL: http://codereview.chromium.org/8638011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111688 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/8510074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110186 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8380008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108304 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=84507
TEST=*Extension*
Review URL: http://codereview.chromium.org/8277004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105491 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for handling multiple tabs, including selecting, removing and moving many tabs at once. (Selecting is now called highlighting for backwards compatibility). The changes are outlined below.
Adds:
- 'highlighted' property to Tab, chrome.tabs.update
- chrome.tabs.query for searching across tabs
- chrome.tabs.highlight for selecting multiple tabs
- chrome.tabs.onHighlightChanged for listening to multi-select events
Modifies:
- renames 'selected' to 'active' on Tab, chrome.tabs.create, chrome.tabs.update
- renames onSelectionChanged to onActiveChanged
- chrome.tabs.move to accept an array of tabs or a single tab
- chrome.tabs.remove to accept an array of tabs or a single tab
- deprecates chrome.tabs.getSelected in favor of chrome.tabs.query
- deprecates chrome.tabs.getAllInWindow in favor of chrome.tabs.query
BUG=81411
TEST=ExtensionApiTest.*Tab*
Review URL: http://codereview.chromium.org/7731004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103084 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=97674
TEST=added a test extension with permissions, enhanced an existing one.
Review URL: http://codereview.chromium.org/7967021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103059 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=97330
TEST=added appropriate browser test
Review URL: http://codereview.chromium.org/7981040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unused experimental.idle API page and remove stray reference to the API
documentation for chrome.idle from the "Implementation" submenu.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7872006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101120 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
As of r87870 remove and onRemoved don't need the tabs permission anymore (that
updated the generated docs, but missed this paragraph).
BUG=62107
R=asargent@chromium.org
Review URL: http://codereview.chromium.org/7892019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100972 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update documentation for chrome.tabs module.
* Change TODO comment to TODO(who) by http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/extension_tabs_module.cc?r1=88703&r2=89083
BUG=91618
TEST=unit test in browser_tests ExtensionApiTest.TabReload
Review URL: http://codereview.chromium.org/7747039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99935 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=94087
TEST=no
R=smus@chromium.org
Review URL: http://codereview.chromium.org/7718029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98074 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/7520034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94806 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use tab IDs.
Also fixes Windows line endings in background.html
BUG=62107
TEST=no
Review URL: http://codereview.chromium.org/6982050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87870 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=none
BUG=72523
Review URL: http://codereview.chromium.org/7038039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86112 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=none
BUG=72523
Review URL: http://codereview.chromium.org/7004038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86101 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to third_party.
All third party libraries should be in third_party.
The presubmit check complains about jstemplate's README.chromium
being nonstandard; I will fix that in a follow-up.
The interesting changes are to the .grd file and the .py file.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6901102
TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/6905149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83632 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All third party libraries should be in third_party.
The presubmit check complains about jstemplate's README.chromium
being nonstandard; I will fix that in a follow-up.
The interesting changes are to the .grd file and the .py file.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6901102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83452 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
These events are special in 2 ways:
- Their addListener method can accept extra arguments beyond the callback.
- Their callbacks can return a value (in the case of a blocking event), which
is sent back to the browser.
Review URL: http://codereview.chromium.org/6879027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82346 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Factor out methods & events to a separate template
- Support methods & events nested within a type
- Fix signature generation for event handlers with no arguments
- Add DevTools extensions docs (in a separate schema)
BUG=65605
TEST=none
Review URL: http://codereview.chromium.org/6386023/
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73790 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Glen got bit by this during development of an extension, where he was
expecting that the tab's url would always be defined right away. (Someone
filed crbug.com/52195 about this a while back, but I had marked it as WontFix
because there are legitimate reasons why the url isn't always set)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6193001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70767 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=aa
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6140001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70653 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/5398002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
check the content changes to manifest.html and omnibar.html.
BUG=63845
TEST=none
Review URL: http://codereview.chromium.org/5326007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67590 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/4774002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65744 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Fire tabs.onUpdated event if a tab's pinned state changes.
BUG=24781
TEST=ExtensionApiTest
Review URL: http://codereview.chromium.org/3816005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65379 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adds a new "toggle" sprite to the documentation images.
* Adds CSS classes for the toggles.
* Includes "sidebar.js" for documentation pages which implements the toggles in JavaScript.
BUG=49239
TEST=None
Review URL: http://codereview.chromium.org/4005003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64488 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
2. Throws an error in port.postMessage if the port has already been disconnected.
3. Sets lastError when tabs.sendRequest can't connect to the tab.
BUG=27565, 32899
TEST=ExtensionApiTest
Review URL: http://codereview.chromium.org/3676008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64277 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a removeInfo object to the chrome.tabs.onRemoved callback that indicates if the tab's window is also closing.
BUG=56592
TEST=ExtensionApiTest
Review URL: http://codereview.chromium.org/3692004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62755 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes the original code plus changes to 2 new files to fix a test that
was failing:
chrome/browser/resources/webstore_app/manifest.json
chrome/test/data/extensions/api_test/extension_gallery_install/test.html
Original review url was:
http://codereview.chromium.org/3537010
BUG=56399
TEST=You should be able to write an extension using the management API.
TBR=aa@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61422 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=56399
TEST=You should be able to write an extension using the management API.
Review URL: http://codereview.chromium.org/3537010
TBR=asargent@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61348 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=56399
TEST=You should be able to write an extension using the management API.
Review URL: http://codereview.chromium.org/3537010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61347 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
permission to use.
Landing: http://codereview.chromium.org/3329022/show for finnur who can't currently build extension docs.
TBR=finnur
BUG=43743
TEST=None (doc change)
Review URL: http://codereview.chromium.org/3367024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59113 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3331002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58329 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Affected interfaces:
* GetCookiesWithOptions (used by HTTP requests)
* GetAllCookiesForURL (used by extensions and Cookies UI)
* GetAllCookies (used by Cookies UI).
BUG=8850 (indirectly)
TEST=Standard cookie monster tests, unit_tests::CookiesTreeModelTest.OriginOrdering, browser_tests::ExtensionApiTest.Cookies
Review URL: http://codereview.chromium.org/3170034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57694 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Allow automagic links to types in API descriptions, using "$ref:TYPE_ID"
-Fix syntax error in callback code
-Fix a couple other small nits
BUG=52616
TEST=none
Review URL: http://codereview.chromium.org/3117029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56764 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/3183016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This required modifying the docs build system to be able to output information
about function parameters.
BUG=49693
TEST=none
Review URL: http://codereview.chromium.org/3167003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add boilerplate line for experimental api pages
BUG=48582
TEST=NONE
Review URL: http://codereview.chromium.org/2881038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In r52616 Aaron checked in some improvements to speed up doc generation, but
they don't seem to work for me on either windows or ubuntu hardy. Either he
missed some changes or it only works on newer ubuntu or something.
TBR=rafaelw
BUG=none
TESt=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52866 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=48725,39508
Review URL: http://codereview.chromium.org/2840038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52784 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=41663,48726
Review URL: http://codereview.chromium.org/2982008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52623 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
description and bug association. Will re-land with correct
information.
TBR=thakis@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52585 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack we were doing before.
This has a side-effect of fixing a bunch of content-interaction
bugs because we will be using real user-level styles (in the
CSS sense) rather than content-level styles.
BUG=29995
Review URL: http://codereview.chromium.org/2932007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52581 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Idle
BUG=None
Review URL: http://codereview.chromium.org/2930001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52121 0039d316-1c4b-4281-b951-d872f2087c98
|