Thanks! Managed to make it work:
http://repo.cat-v.org/burning_chrome/marvin/screenshots/marvin_v04b.png

Found some issues (like calling toolstrip.expand without an URL
argument crashes, but passing an empty string works fine).

Thanks again and keep up the great work, just try to keep us a bit
updated about new APIs and API changes, right now it involves quite a
bit of trial and error work, and also the sooner the APIs are
published (even if the implementations are not quite ready) the sooner
we can find any issues that might require non-backwards compatible
changes...

Anyway, thanks again.

uriel

On Sun, Aug 16, 2009 at 2:14 AM, Aaron Boodman<[email protected]> wrote:
>
> There are actually two ways to use moles presently in the code. The
> way you mention, in which case yes, bar.html is replaced b mole.html.
> In that case, bar.html can't communicate with anything, because it is
> dead. But a background page, for example, could communicate with the
> mole using the mechanism Erik described.
>
> There is also another way to use moles, where the toolstrip simply
> grows larger and becomes the mole. The DOM is not replaced. For an
> example of that, see:
>
> http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/mappy/
>
> We're still tinkering with the mole design though, so please keep in
> mind that none of this is set in stone.
>
> - a
>
> On Sat, Aug 15, 2009 at 4:47 PM, Uriel<[email protected]> wrote:
>>
>> Interesting... but if have a bar.html and a corresponding mole.html,
>> how can the code in bar.html communicate with mole.html? Sorry if I'm
>> missing something obvious, but as far as I can tell bar.html is
>> replaced by mole.html, but the whole javascript environment (as well
>> as the DOM and html body) are replaced) so there is no way for the bar
>> to affect the content of the mole.
>>
>> Sorry if I'm being dense and thanks for your answer!
>>
>> uriel
>>
>> On Sun, Aug 16, 2009 at 12:43 AM, Erik Kay<[email protected]> wrote:
>>>
>>> On Thu, Aug 13, 2009 at 8:22 PM, Uriel<[email protected]> wrote:
>>>>
>>>> What is the recommended way to communicate with a mole from a toolstrip?
>>>
>>> A mole essentially is the toolstrip, just transformed, so there's
>>> nothing to communicate with, it's the same page.  If you want to talk
>>> to it from another toolstrip (or a background page, etc.) it's just
>>> like talking to a toolstrip (use getViews()).
>>>
>>> Erik
>>>
>>>
>>>> I have been trying to use chrome.self.onConnect and so on, but failed
>>>> miserably so far.
>>>
>>>
>>>> Thanks
>>>>
>>>> uriel
>>>>
>>>> >
>>>>
>>>
>>> >
>>>
>>
>> >
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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