Add a capability to goog.net.BrowserChannel to send fine grained network events to its handler.  Remove the existing integration with goog.events.OnlineHandler, which was not safe for production use.  The navigator.onLine API was found to be returning false-negatives, which needlessly shut down user's browser channels.  Involved adding a capability to goog.testing.net.XhrIo to simulate partial responses.

R=nicksantos
DELTA=421  (170 added, 176 deleted, 75 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4912


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

Added missing override in SimpleResult. This file was renamed
in the interim and I couldn't get a merge, so decided to
splinter it off as another CL.

R=nnaze
DELTA=14  (2 added, 8 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4913


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

Deprecate old goog.ui.AutoComplete stubs.


R=chrishenry
DELTA=20  (10 added, 0 deleted, 10 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4914


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

Move x, y event position calculation to a protected getEventPosition function.
Need to be able to override this in a subclass, so that position may be
computed as the center of the dragged element rather than the mouse x and y.

R=nicksantos
DELTA=18  (13 added, 2 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4915


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

Make some private methods in hsvpalette protected so
hsvapalette can override them without warnings/errors. There
should be no change in behavior.

R=nnaze
DELTA=57  (1 added, 27 deleted, 29 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4916


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

Make AnimationDelay uses goog.now() for the handler for all
cases.

R=nicksantos
DELTA=39  (26 added, 2 deleted, 11 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4917


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

Added missing @override to base.js. I have fixed a single
breakage that I found (from using wrong externs) prior to this
CL. Hopefully, there isn't more breakage.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4918


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

Make asserts robust to failures in toString, common when using mocks.

R=nicksantos
DELTA=31  (30 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4919


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

Old IE will give us an embed tag as part of form.elements.  Ignore it.

Fixes issue 227.

R=arv
DELTA=25  (21 added, 2 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4920


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

Adds getProgress to goog.fx.Animation. I'm trying to remove
direct access to progress and other protected fields. Currently,
I want to make this.lastFrame private and the only usage can be
replaced with getProgress().

R=nicksantos
DELTA=10  (9 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4931


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

Make goog.json.Serializer.serializeArray protected so
goog.proto.Serializer can override it without warnings/errors.

R=nnaze
DELTA=11  (2 added, 5 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4932


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

Avoid getBoundingClientRect in mobile webkit due to
http://crbug.com/130651

In Chrome Android specifically, getBoundingClientRect returns zoomed
values, but only in an iframe.  To avoid adding a dependency to
goog.userAgent.PRODUCT, this is done for ALL mobile WebKit, but only in
iframes (to avoid impacting performance elsewhere).

Many thanks to Jacob Moon for spending hours debugging and tracking
down this as the root cause issue and identifying a suitable fix!

Cleanup: Fixed references to "getClientBoundingRect" which is not a
real function.

R=eae
DELTA=40  (29 added, 1 deleted, 10 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4933


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

Replace deferred's with Result's in goog.labs.net.xhr.

R=nnaze
DELTA=909  (396 added, 359 deleted, 154 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4934


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

Add viewport meta to style_test.html so more tests pass on Chrome
Android.

R=eae
DELTA=4  (4 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4935


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

Added menubar widget, much requested by Closure community.  Includes demo in google3/javascript/closure/demos/menubar.html for decorated and programmatic menubar.  I went with the most bare-bones approach, no bells or      whistles, I figure it will be easiest to start the code review here and add features as it makes sense.  Thank you so much for looking over this code.

R=chrishenry,closure-team


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4944


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

Menu buttons no longer render dropdown icon when embedded inside a menuBar.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4945


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

Added new menubar component demo to demo index html.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4946


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

Changed LooseMock to ignore unexpected calls by default.

R=chrishenry,marcosalmeida,mpd,rrhett
DELTA=210  (107 added, 35 deleted, 68 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4947


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

Add missing aliases to goog.dom functions to goog.dom.DomHelper.

JsDocs copied wholesale from original definitions.

I wish there were a way to safely mix in the goog.dom methods
to the DomHelper prototype, but I can't think of anything that
the compiler would agree with.

R=arv
DELTA=152  (148 added, 2 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4948


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

Make goog.ds.STR_ATTRIBUTE_START_ public to avoid errors in
"javascript/closure/datasource/xmldatasource.js:198: ERROR - Access to
private property STR_ATTRIBUTE_START_ of goog.ds not allowed here."

R=chrishenry
DELTA=11  (0 added, 7 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4950


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