Generic UIResourceLayer for shared resources.

Separated the UIResource management from the
NinePatchLayer because we need it for other
things as well.

BUG=235290

Review URL: https://codereview.chromium.org/24716003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226908 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226908
android: Add TracingControllerAndroid for handling tracing intents

This patch adds a the TracingControllerAndroid class which provides Chrome tracing
control to Java. It also allows activities to register themselves to
handle the GPU_PROFILER_START and GPU_PROFILER_STOP intents sent by
build/android/adb_profile_chrome.

BUG=147868,178112,282501
TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/25495002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226909 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226909