diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-06 09:59:19 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-06 09:59:19 +0000 |
commit | eb7ef5f39f4041a06a2eef6e2916b0ab3039238f (patch) | |
tree | af8e0a815e03c80be555e38a2fd1315cc16eab59 /chrome/common/extensions/extension_messages.h | |
parent | ae415588b46037ef8fc0ce0a52a1aa86e7762d4c (diff) | |
download | chromium_src-eb7ef5f39f4041a06a2eef6e2916b0ab3039238f.zip chromium_src-eb7ef5f39f4041a06a2eef6e2916b0ab3039238f.tar.gz chromium_src-eb7ef5f39f4041a06a2eef6e2916b0ab3039238f.tar.bz2 |
Extensions: Send the tab id to platform apps.
This lets mediaGalleries.addUserSelectedFolder() figure out the tab
that triggered the API, so it can display the select dialog in the tab
when the platform app has no open windows.
BUG=333899
Review URL: https://codereview.chromium.org/145463002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_messages.h')
-rw-r--r-- | chrome/common/extensions/extension_messages.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h index 3a58cf4..e4e5ec4 100644 --- a/chrome/common/extensions/extension_messages.h +++ b/chrome/common/extensions/extension_messages.h @@ -84,6 +84,9 @@ IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params) // extension. Or, they can originate from hosted apps or normal web pages. IPC_STRUCT_MEMBER(GURL, source_url) + // The id of the tab that sent this request, or -1 if there is no source tab. + IPC_STRUCT_MEMBER(int, source_tab_id) + // Unique request id to match requests and responses. IPC_STRUCT_MEMBER(int, request_id) |