diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 21:30:41 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 21:30:41 +0000 |
commit | e3eafb29b7b0e24405e432d7672ccbd212927ab9 (patch) | |
tree | ba52d5549c43783dbd107c5f0afc3a377ef1b153 /build/common.gypi | |
parent | 07bf8accd645e7ad05c7de29d9ca8fefcff999e5 (diff) | |
download | chromium_src-e3eafb29b7b0e24405e432d7672ccbd212927ab9.zip chromium_src-e3eafb29b7b0e24405e432d7672ccbd212927ab9.tar.gz chromium_src-e3eafb29b7b0e24405e432d7672ccbd212927ab9.tar.bz2 |
Add chrome.tabs.getCurrent() api call to extensions.
This is primarily so that code running in an infobar can discover what tab the info is inserted in. It also works for code running directly in a TabContents. The call will return undefined if called from a background page or popup view.
BUG=40428
TEST=All tests should pass (additional tests included)
Review URL: http://codereview.chromium.org/1521032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
0 files changed, 0 insertions, 0 deletions