On Mon, Aug 17, 2009 at 9:05 PM, The Sailor<[email protected]> wrote:
> I am new to chromium extensions ..till now I have played around a bit
> with content scripts and am amazed with the power it provides.

I'm happy to hear that!

> I have worked a bit on FireFox and IE extensios earlier and am
> interested in developing an extension for the chrome.

Developing extensions for Chrome is going to be quite a bit different
than either of those two platforms. It will help you somewhat if you
forget what you know from IE and Firefox add-on development.

> I had few questions regarding this:
>
> 1. From what I understood, the chromium extension development is
> mainly aimed at making extension development easy for web developers
> and can be done only using HTML and javascript. Is this right ?

That is true. There are far more web developers in the world than C++
developers, so this made sense to us. Also we really like web
technologies, on the whole.

> Is there some library (similar to the mozilla gecko library) which will
> help us develop extensions using C++ ?

It is possible to include C++ in extensions via NPAPI, but that C++
will only have access to:

a) The underlying platform (win32, posix, carbon, etc)
b) The NPAPI interface
(https://developer.mozilla.org/en/Gecko_Plugin_API_Reference)
c) The DOM via NPObject (https://developer.mozilla.org/en/NPObject)

This is not the same thing that Gecko provides, which is deep access
to the browser internals for C++ programs. Chrome extensions don't
have that and likely won't ever (providing deep access to the browser
internals would be a large burden to maintain, and we think you can
get a pretty large bang for the buck just by providing a place for
extension developers to plug into the UI in more well-defined ways).

> 2. Can I make the toolstrip button to behave like a toolbar button and
> get to open some form menu on clicking the button on the toolstrip ?

There is no way to open dropdown menus if that's what you mean. But we
are working on some new features that will let you expand toolstrips
vertically to get more space. Keep your eyes peeled, we'll post here
when there's more working.

- a

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