On Wed, Sep 23, 2009 at 11:18 AM, jfc <[email protected]> wrote:
>
> chrome.windows.create will create a new browser window and return the
> window ID in the provided function callback.
>
> The standard javascript window.open returns a window object (browser
> sense).
>
>
> When using chrome.windows.getAll(), an array of Windows is given to
> the callback function.  This Window array is NOT the same as the
> Window object returned from the window.open call.
>
>
> Is there any way given the window object from the window.open call to
> locate this particular window in the array returned from the
> chrome.windows.getAll function callback?

No.  This is by design.

These windows mostly exist in different processes.  We don't have
access to out of process window objects.  There are a lot of things
that would break if we tried to do this.

Could you give me an idea of the problem you're trying to solve?

Erik



> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to