[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread Avi Drissman
You found it. At the beginning of the function you see: *static* NSButtonCell *buttonCell; //... if (!buttonCell) { There is only one cell created ever, and it's reused. Avi On Fri, Oct 9, 2009 at 4:20 PM, hap 497 hap...@gmail.com wrote: Hi, Does Chromium MacOSX always

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread Avi Drissman
Oh, and google.com has custom buttons which may or may not go through that function at all (I haven't checked). Avi On Fri, Oct 9, 2009 at 4:44 PM, Avi Drissman a...@chromium.org wrote: You found it. At the beginning of the function you see: *static* NSButtonCell *buttonCell;

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread hap 497
Sorry, maybe I used a wrong term in asking my question. I think I am looking for the code which chormium create a native UI widget for each html input submit button in the html source. I assume chromium needs to use 1 native UI widget for each input submit button so that each one of them can

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread Stefan Nuxoll
Google.com uses custom styling, so chances are a NSButton is not being created since you can't style OS X widgets (without considerable resource hacking, at least). It would be better if you just made a local HTML test page for this. On Fri, Oct 9, 2009 at 5:02 PM, hap 497 hap...@gmail.com

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread hap 497
Thank you. I did test it with a local test page which just 1 input submit button. But for the case of button with custom styling (like google.com), what kind of widget, which respond to mouse clicking, chromium will create to put that on the page during renderering? Thank you for any more

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread Amanda Walker
On Fri, Oct 9, 2009 at 7:02 PM, hap 497 hap...@gmail.com wrote: Sorry, maybe I used a wrong term in asking my question. I think I am looking for the code which chormium create a native UI widget for each html input submit button in the html source. I assume chromium needs to use 1 native UI