Avoid trace-to-console deadlock or infinite recursion

Two reasons of trace-to-console deadlock in GPU process:

1. TRACE_EVENT re-entrance:
TRACE_EVENT -> LOG(ERROR) (to output trace to console)
-> GpuProcessLogMessageHandler -> ITQ::PostPendingTask -> TRACE_EVENT...
Avoid this by
- adding re-entrance guard thread_in_trace_event_;
- seperating thread_info_lock_ and lock_;
- for ECHO_TO_CONSOLE, calling LOG(ERROR) out of lock.

2. IncomingTaskQueue re-entrance:
ITQ::AddToIncomingQueue -> TRACE_EVENT -> LOG(ERROR)
-> GpuProcessLogMessageHandler -> ITQ::AddToIncomingQueue
...
Avoid this by
- disabling task and ipc categories when trace-to-console
- removing extra trace-to-console initialization code from
  content::ChildThread (TraceLog will handle it properly).

BUG=325575
TEST=TraceEventTestFixture.EchoToConsoleTraceEventRecursion
TEST=chrome --trace-to-console and open any page that will start the GPU process.
TBR= for content/child/child_thread.cc containing a trivial change about tracing.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239029 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239029
Fix crash when using touch selection in immersive fullscreen.
The ImmersiveFullscreenController was incorrectly consuming all ET_GESTURE_SCROLL_BEGIN. This resulted in TouchSelectionControllerImpl::EditingHandleView getting ET_GESTURE_SCROLL_UPDATE but not ET_GESTURE_SCROLL_BEGIN.

This CL also makes the touch selection handles hide when a user uses a gesture to hide the top-of-window views.

BUG=324607
TEST=Manual, see bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239030 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239030
Remove unused parameter to ToolbarModel::GetText.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239031 0039d316-1c4b-4281-b951-d872f2087c98
Fix jankiness in settings UI start up on ChromeOS.

BUG=310588
TEST=visual inspection

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

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