Adding ONLINE and OFFLINE values in goog.events.EventType enum to match
http://www.w3.org/TR/offline-webapps/#related.

R=nweiz
DELTA=5  (5 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4547


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

Refactor goog.fx.anim into a generic delay for requestAnimationFrame.
In a subsequent cl, we'll replace most of goog.fx.anim with this class.

R=steineldar
DELTA=340  (336 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4548


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

Make comment on goog.string.contains clearer. Present comment could be interpreted to mean it searches s for a single character.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4549


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

also mock out old-style MozBeforePaint in MockClock

R=chernand
DELTA=45  (29 added, 1 deleted, 15 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4550


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

add missing goog.require

R=pweis
DELTA=4  (2 added, 1 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4551


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

Fix a bunch of issues with slider and dragger in RTL layouts by adding option to use "right" instead of "left" for positioning in RTL layouts.  This makes it possible to correctly flip sliders for RTL.  Also Added keyboard tests for slider, including tests for RTL, since in RTL left/right behavior is swapped.

R=nicksantos
DELTA=481  (441 added, 0 deleted, 40 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4552


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

Flesh out unit tests for goog.Uri setters a bit (in prep for
bigger refactoring). Also made some simple simplifications to
goog.Uri.

R=gboyer
DELTA=192  (149 added, 2 deleted, 41 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4553


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

Fixed an issue with using goog.global.location without first checking for
existence.

R=nicksantos
DELTA=27  (7 added, 0 deleted, 20 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4554


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

Fixing bug - Trackpad two finger scrolling is too insensitive on Chrome OS.

This problem arises because the mouse wheel handler scales down event deltas for
all WebKit wheel events by a factor of 40. This is correct for click wheel
generated events, but not for trackpad originated events where the deltas are
already scaled. In fact an exception for such prescaled events already exists
for Mac to handle its trackpad events; there only events that are multiples of
the scale factor are scaled. This fix extends that exception to Linux (which
encompasses Chrome OS).

R=nicksantos
DELTA=24  (17 added, 0 deleted, 7 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4555


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

Remove goog.string/goog.Uri IE6 optimization.

Remove leftover uri_ member from goog.Uri.QueryData (left over
from previous cleanup).

R=gboyer
DELTA=63  (1 added, 53 deleted, 9 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4558


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

Simplify goog.array.toArray and goog.array.clone.

All the previous (4) paths where O(n) and we ended up in the concat branch in some cases even when arr was not a real array. (I'm working on fixing that in a different CL)

R=nicksantos,nnaze


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4559


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

Fix goog.dom.append to not clone the NodeList but convert it to an array

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4560


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

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

R=steineldar
DELTA=230  (8 added, 173 deleted, 49 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4561


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

fix fpsmontior to use the animationdelay api

R=zachlloyd
DELTA=25  (13 added, 4 deleted, 8 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4562


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

Make goog.array.toArray and goog.array.clone less strict again.

We used to allow any object and just return an empty array in that case.
With my last change this changed to not really work in the case a non
array like object was used. This restores the old lenient behavior.

R=nnaze,nicksantos
DELTA=14  (9 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4563


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

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