1. Deprecated goog.userAgent.isDocumentMode.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48545287
Replace the remaining deprecated goog.dom.$ calls with goog.dom.getElement.
Includes lint cleanup for the touched files.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48555921
Port the infovis CSV parser to Closure.

This is the first of several CLs, implementing a CSV text to array transform.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48578088
Fix coding convention: renaming extendWith_ to extendWith
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48596680
Add a function to move an array item to a new position.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48616766
Simplify goog.structs.StringSet assuming that no new keys are added to Object.prototype.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48620801
Fix coding convention in goog.debug.DebugWindow
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48628960
Remove remaining_ count optimization in goog.events. This only
affects IE <=8 native listeners now. FWIW,
goog.events.EventTarget moves away from this optimization and
did not see any significant performance regression.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48657760
Run genjsdeps over closure/datasource.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48686090
Extracts a ListenerMap class from goog.events.EventTarget. The
plan is to reuse this code from goog.events.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48702951
Simplify IE capture simulation:
* When capture simulation occurs, we now let the browser
handles the bubble phase.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48705720
Set the aria label on the palette root element instead of setting it on the inner table element so that cells are verbalized when the control is focused. Also remove hardcoded element names and aria roles by their goog.dom.TagName and goog.a11y.aria.Role equivalents.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48707676
Remove baseUrl_ attribute from goog.History.

The original request path may change from the time that goog.History is
instantiated (via HTML5 history, for example), and so it's better that the
base URL value is re-calculated whenever it's needed instead of caching the
initial value.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48717278
Fix tests that will be broken when we enable distributed listener map
in goog.events. Distributed listener map removes a major source of leaks
in goog.events. However, with this change, a few APIs are impossible to
implement:

goog.events.removeAllNativeListeners()
goog.events.removeAll() with no argument
These should be replaced with explicit goog.events.removeAll(src)
when src is singleton shared between tests (e.g. window, document,
or shared elements). Otherwise, it's safe to remove this.

goog.events.getTotalListenerCount()
This now returns an estimate (and will soon return 0). Tests that
rely on this accurately returning listener count will start failing.
This usage is typically removed from the tests.

Direct access to internal data structure (such as goog.events.listeners_)
are also removed, since many of these internal data structures will be gone.

Since this means that the tests may no longer be testing the right thing
(e.g. no longer testing that listeners on window/document are properly
removed), please review the change and determine if the loss of such
tests are detrimental to your code. If you have a better fix, please
do submit your fix and let me know so that I can discard my change.
To test your fix, you can patch cr/48429537.

Tested:
TAP presubmits for global presubmit queue
http://test/OCL:48722980:BASE:48723008:1372499357778:315f8a10
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48780470
Automated g4 rollback of changelist 48705720.

*** Reason for rollback ***

For in IE8-, event may be stopped in capture simulation phase. In this cl/48705720, system can't stop propagation when the event was stopped in capture simulation phase.

*** Original change description ***

Simplify IE capture simulation:
* When capture simulation occurs, we now let the browser
handles the bubble phase.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48820351
Disallow null and undefined as parameters to goog.net.Jsonp.

Passing null or undefined is almsot certainly a programming error,
and it causes different practical effects in Chrome (where it does nothing)
and Firefox (where it tries to load the current page as jsonp).

CL 47652415 is an example of real-world breakage that would have been
caught by this assertion.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48857947
Automated g4 rollback of changelist 48857947.

*** Reason for rollback ***

Disallowing nulls in the type signature broke builds.

*** Original change description ***

Disallow null and undefined as parameters to goog.net.Jsonp.

Passing null or undefined is almsot certainly a programming error,
and it causes different practical effects in Chrome (where it does nothing)
and Firefox (where it tries to load the current page as jsonp).

CL 47652415 is an example of real-world breakage that would have been
caught by this assertion.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48862814
1. Support target and handle in different document scope. e.g. target is iframe element, handle is an element inside that iframe. Attach listeners on additional document (if necessary) and doing arithmetic relative to the screen coordinate so that one can drag if things cross documents.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48871006
Automated g4 rollback of changelist 48871006.

*** Reason for rollback ***

Breaks dragging when full page zoom is used. The dragged element doesn't closely follow the mouse.
Reason: uses the deprecated screenX and screenY attributes, and assumes that 1 screen pixel always equals to 1 client pixel.

*** Original change description ***

1. Support target and handle in different document scope. e.g. target is iframe element, handle is an element inside that iframe. Attach listeners on additional document (if necessary) and doing arithmetic relative to the screen coordinate so that one can drag if things cross documents.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48886310
Allow stack-free disposable monitoring (but not used by default).
The intent is to use this for tests which assert that there are no undiposed objects,
without the overhead of tracking where each are created.

Just the enum change, I'll switch to this in timely afterwards, and contact a
few other teams using the DisposableMonitoring pattern in their own tests.

Testing:
Unit test added
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48886987