Automated g4 rollback 

*** Reason for rollback ***

breaks a gmail test

*** Original change description ***

Swap in goog.async.AnimationDelay for goog.fx.anim

R=sbills
DELTA=234  (172 added, 7 deleted, 55 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4570


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

fix a listener leak

R=vbhasin
DELTA=15  (15 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4571


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

Multiple small optimizations on goog.Uri (mostly choosing a more
expensive code path in favor of faster but more complicated ones).
All of these resulted in small reduction of size in compiled code.
This also simplifies quite a bit of the logic in QueryData (and
would have prevented 1 recent bug).

1) Remove all but one internal usage of setIgnoreCase from goog.Uri.
2) Use goog.string.urlEncode and remove goog.Uri.encodeString_.
3) Reusing slightly more expensive code paths for several methods
in QueryData instead of writing custom code (we can't yet perform
a more extensive simplification of QueryData -- eg, always storing
array in the backing key map -- because that will break unit
tests of multiple projects that depend on key ordering).

R=brenneman,gboyer
DELTA=98  (6 added, 60 deleted, 32 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4572


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

Add a comment to goog.array.toArray explaining why we check if the length is less than zero.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4573


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

Automated g4 rollback

*** Reason for rollback ***

Maybe broke things.

*** Original change description ***

Multiple small optimizations on goog.Uri (mostly choosing a more
expensive code path in favor of faster but more complicated ones).
All of these resulted in small reduction of size in compiled code.
This also simplifies quite a bit of the logic in QueryData (and
would have prevented 1 recent bug).

1) Remove all but one internal usage of setIgnoreCase from goog.Uri.
2) Use goog.string.urlEncode and remove goog.Uri.encodeString_.
3) Reusing slightly more expensive code paths for several methods
i

... description truncated by g4 rollback ...


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4574


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

Fixes to make sure focus is properly handled when not using an iframe for the editor
field. Without an iframe the selection was not properly being set.

R=nicksantos
DELTA=11  (5 added, 5 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4575


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

Add call to enterDocument in the Textarea widget, so exitDocument is called when it's disposed.

R=pallosp
DELTA=3  (3 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4576


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

Stray debugger statement snuck into textarea.  Removing it.

R=felixarends,pallosp
DELTA=2  (0 added, 2 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4577


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

Fix mouseout detection to agree with goog.events.BrowserEvent definition
For mouseout events relatedTarget is the event.toElement, which is external to
event.target.  The mouseout condition was not being evaluated correctly on mouseout.

R=nicksantos,pweis
DELTA=3  (0 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4578


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

Recover the browser channel If it's stuck on connecting state.
And make this behavior behind the BROWSER_CHANNEL_STUCK_RECOVERY
experiment.

R=mpd,dobrev,rrhett
DELTA=152  (150 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4586


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

Automated g4 rollback

*** Reason for rollback ***

Trying again with fix for edge case that only manifest in
unit test (passing undefined for type {string}).

*** Original change description ***

Automated g4 rollback

*** Reason for rollback ***

Maybe broke things.

*** Original change description ***

Multiple small optimizations on goog.Uri (mostly choosing a more
expensive code path in favor of faster but more complicated ones).
All of these resulted in small reduction of size in compiled code.
This also simplifies quite a bit of the logic in QueryData (and
would have prevented 1 recent bug).

1) Remove all but one internal usage of setIgnoreCase from goog.Uri.
2) Use goog.string.urlEncode and remove goog.Uri.encodeString_.
3) Reusing slightly more expensive code paths for several methods
in QueryData instead of writing custom code (we can't yet perform
a more extensive simplification of QueryData -- eg, always storing
array in the backing key map -- because that will break unit
tests of multiple projects that depend on key ordering).

R=gboyer,brenneman
DELTA=106  (11 added, 61 deleted, 34 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4587


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

Add relativePositionX and relativePositionY functions for gmail UI calculations.
Simplify goog.math.Box.distance using new functions.
Reduces file size from 1093 (compressed 413) to 1051 (compressed 404)

R=brenneman
DELTA=84  (70 added, 11 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4588


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

Fix compilation error

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4589


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