Show subs box on clicking breakable categories in dmprof visualizer.

- For clicks on the graph, the box shows up on the cursor.
- For clicks on the menu view, the box shows up below the menu box.
- Clicks on non-breakable categories erase the box.
- Clicks out of graph and menu-box do nothing.


BUG=259206
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231969 0039d316-1c4b-4281-b951-d872f2087c98
android: Don't SetClient on the resource collection if it doesn't exist

NULL check this call like we do in aura.

R=piman, sievers
BUG=313359

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231970 0039d316-1c4b-4281-b951-d872f2087c98
Fix --trace-startup.

Some subprocesses handle --trace-startup by themselves to start
tracing as early as possible if the switch presents. However, previously
TraceController would enable tracing of the subprocess again by sending
TracingMsg_BeginTracing when it knew a new subprocess has been started.
This caused tracing of the subprocess not to be properly stopped and
flushed when startup tracing is ended.

Changes:
- Pass tracing_startup parameter through TracingMsg_BeginTracing;
  subprocess won't start tracing again if tracing_startup is true
  and tracing has already been started;
- Don't pass --trace-startup to renderer if startup tracing has
  already finished.

BUG=310395

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231971 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 231970
Telemetry: Make browser finder use default browser if only one available.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231972 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 231972
Revert 231472 "Remove views::InputMethod::On[Focus|Blur] calling..."

> Remove views::InputMethod::On[Focus|Blur] calling from not top level widgets.
> 
> This patch is a step of refactoring for the IME related focus handling.
> 
> Background issue:
> No top level widget can call views::InputMethod::On[Focus|Blur] as documented.
> That hack was needed because to create a new widget with a new window handle by a mouse leaving event invoked Aura focus to the widget first and win32 focus next.
> InputMethodTSF focusing works on widgets with win32 focus so the first focusing missed TSF focusing.
> 2nd focusing by win32 also didn't work because InputMethodBridge
> permitted the TextInputClient setting only once.
> 
> Solution:
> This patch changes to call OnWillChangeFocusedClientand OnDidChangeFocusedClient whenever a TextInputClinet is set or not.
> Then secondary win32 focusing sets InputMethodTSF focus.
> 
> BUG=302229, 306368
> TEST=manually done in Windows 8 Aura with or without --enable-text-services-framework flag.
> 
> Review URL: https://codereview.chromium.org/34573003

TBR=yoichio@chromium.org

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

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