Make jsunit compiles in JsLibTest. externs w3c_dom1.js defines
Window.prototype.onload to be ?function(Event). Thus
JsCompiler complains that we are calling onload with no
parameter.

Also make benchmark.js assigned window.unload to function(e).

R=nnaze
DELTA=4  (1 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4626


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1781 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Adds map_perf.js to run benchmark of goog.labs.structs.Map
against goog.structs.Map. This perf test needs to be compiled
because the assertions, access to multi-level deep object
(BrowserFeature) are taking a significant chunk of
compilation.

The result is that goog.labs.structs.Map is slightly slower
than goog.structs.Map. The reason is that it does string
comparison check for '__proto__', while the original Map
doesn't. (The old map doesn't support key = '__proto__'.)
Removing the check makes the labs version slightly faster
in all tests. This is for latest Chrome/FF -- I have not
run this on other browsers.

R=nicksantos
DELTA=225  (225 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4627


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1782 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Remove @protected from getBackgroundIframe() function. The main purpose is so
that the caller can add a classname to the iframe.

R=chrishenry
DELTA=2  (0 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4628


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1783 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Allow passing a custom MenuItemRender to goog.ui.ComboBoxItem.

R=vbhasin
DELTA=4  (2 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4629


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1784 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Adjust getComputedStyle to not return null.

It appears getPropertyValue can return null- which results in this method
breaking its contract of being non-null [transitive effect is getBox can
result in a bunch of NaN's]

R=nnaze
DELTA=1  (0 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4630


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1785 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Rename namespace goog.ui.AutoComplete to goog.ui.ac.
The goog.ui.AutoComplete class was renamed into goog.ui.ac.AutoComplete.
Aliases from new goog.ui.ac to goog.ui.AutoComplete classes were also added.

Also replaced the goog.ui.AutoComplete.Basic class with a factory function goog.ui.ac.createSimpleAutoComplete.
I left the old class, though, because it needs to be replaced in existing codebase first.

I verified that this works using the old and new namespaces by patching this onto some code that uses autocomplete. I also ran all tests and SQs I could think of.

The next step that I forsee is making a pass through existing codebase to find usages and changing them to use the new namespace.
After this is done, I'd like to add a deprecation notice to the aliased classes/enums and/or finally remove them (I'll leave that in your discretion).

R=chrishenry


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4631


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1786 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Allow for transparent SolidFill instances.

Transparent fills are useful because they will receive mouse events, whereas
if there is no fill, mouse events are ignored.

R=arv
DELTA=57  (54 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4632


git-svn-id: http://closure-library.googlecode.com/svn/trunk@1787 0b95b8e8-c90f-11de-9d4f-f947ee5921c8