Automated g4 rollback

*** Reason for rollback ***

causing build breakages, investigating

*** Original change description ***

Fix reference to private property in mockactivitymonitor.

DELTA=149 (1 added, 128 deleted, 20 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6212


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

*** Reason for rollback ***

rolling forward

*** Original change description ***

Automated g4 rollback

*** Reason for rollback ***

causing build breakages, investigating

*** Original change description ***

Fix reference to private property in mockactivitymonitor.

R=chrishenry
DELTA=149 (128 added, 1 deleted, 20 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6213


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2476 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Make a number of private properties that were being used as
protected properties protected so that we can move
javascript/closure/compiledClosure to visibility=error.

R=chrishenry,nicksantos
DELTA=137 (40 added, 15 deleted, 82 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6214


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2477 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Return value of goog.events and goog.events.listenOnce is going to
change from ?number to goog.events.ListenableKey. As a first step, we
are switching the return value to a typedef goog.events.Key (currently
just typedef to ?number). This CL switches JS files to use this typedef.

Obviously, the subsequent change will be problematic if this code
make an assumption that the return value is a number and uses the return
value in context where the number is required (e.g. goog.isNumber, using
it as index to an array). While I've tried my best to fix these usages,
I may have missed some of them. Please check that the code will still
remain correct if the return value of goog.events.listen/listenOnce is
changed to an object (goog.events.ListenableKey). Furthermore, if
you know of any other location where the return value is used in a context
that require it to be numbers, please send me a quick email.

This is parts of goog.events refactoring to remove leaking listeners
problem.

R=dnadasi,pallosp
DELTA=9 (0 added, 0 deleted, 9 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6215


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2478 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
fix percentage format for lt before CLDR fix.

R=mscherer
DELTA=3 (2 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6216


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2479 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fulfill a goog.ui.Dialog TODO to make shift-tabbing from the top of the dialog wrap backward to the last tabbable element in the dialog. This helps improve keyboard accessibility.

Tested on a variety of Closure dialogs in Chrome 25, Firefox 18, Safari 6, IE9.

R=nicksantos
DELTA=72 (67 added, 1 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6217


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2480 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Ensure that classes inheriting from goog.events.EventTarget
also calls super-class constructor. This is becoming necessary
because we plan to submit a change that will require
initialization in the EventTarget constructor.

This change is made by adding goog.base(this); to the first
line of constructors inheriting directly from
goog.events.EventTarget. Thus, reviewers should ensure that
there is no other call to super-class constructor in the
constructor body.

This is part of goog.events leaking listeners elimination
effort.

R=ajp,dbeam
DELTA=6 (6 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6218


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2481 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Restrict goog.soy.Renderer.render to only render strict Soy templates of kind="html".

Also, strenghten .renderStrict to assume kind="html" if called without explicit kind in opt_kind parameter.

R=gboyer
DELTA=40 (36 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6219


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

*** Reason for rollback ***

Broke

*** Original change description ***

Restrict goog.soy.Renderer.render to only render strict Soy templates of kind="html".

Also, strenghten .renderStrict to assume kind="html" if called without explicit kind in opt_kind parameter.

DELTA=40 (0 added, 36 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6220


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2483 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
A few fixes to goog.events+goog.events.EventTarget:

1) Adds reallyDisposed_ to goog.events.EventTarget. Use this
to bypass dispatchEvent/fireListeners instead of this.isDisposed().
Reason: this.isDisposed() returns true when dispose() is called,
even when disposeInternal has not been executed. Many classes
(including goog.ui.Component) wants to fire events in
disposeInternal, which should be allowed. Added test.

2) wrapListener_ now returns the value from handleEvent call
correctly + added tests.

R=nicksantos
DELTA=70 (65 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6221


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2484 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Ensure that classes inheriting from goog.events.EventTarget
also calls super-class constructor. This is becoming necessary
because we plan to submit a change that will require
initialization in the EventTarget constructor.

This change is made by adding goog.base(this); to the first
line of constructors inheriting directly from
goog.events.EventTarget. Thus, reviewers should ensure that
there is no other call to super-class constructor in the
constructor body.

This is part of goog.events leaking listeners elimination
effort.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6222


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2485 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Add capture support for ActionEventWrapper.listen and .unlisten.

R=eae
DELTA=54 (49 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6223


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