feat: add support for chrome.tabs.query
(#39330)
* feat: add support for tabs.query * fix: scope to webContents in current session * test: add test for session behavior
This commit is contained in:
parent
0425454687
commit
d9329042e2
9 changed files with 336 additions and 2 deletions
|
@ -134,6 +134,7 @@ class WebContents : public ExclusiveAccessContext,
|
|||
// if there is no associated wrapper.
|
||||
static WebContents* From(content::WebContents* web_contents);
|
||||
static WebContents* FromID(int32_t id);
|
||||
static std::list<WebContents*> GetWebContentsList();
|
||||
|
||||
// Get the V8 wrapper of the |web_contents|, or create one if not existed.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue