Make ChromeOS shelf use Browser app name to group hosted app windows.

The ChromeOS shelf currently uses the oldest navigation entry's URL to
find the extension to group with on the shelf. This can cause a single
browser window to associate with no launcher item, rendering the
browser window inaccessible. It's also possible to have a changing
launcher item because navigation entries get pruned.

This CL uses the browser's app name to determine the extension for a
hosted app window.

It also causes app tabs to group with a bookmark app if no extension
has a matching extent.

BUG=340590

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251995 0039d316-1c4b-4281-b951-d872f2087c98
try 3 of: Split out InputMethodMenuManager from InputMethodManager.
(I was missing RemoveObserver in one of the tests and as a result ASAN tests were catching use-after-free.)


Rename input_method_property to input_method_menu_item, and move to ash/ime.


BUG=342336, 343044

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251996 0039d316-1c4b-4281-b951-d872f2087c98
Roll trace-viewer to r1160

TBR=dsinclair
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251997 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251996
Fix RTL UI extension popup anchoring.

BubbleDelegateView::CreateNonClientFrameView mirrors in RTL.
(arrow horizontal positions/anchoring are flipped in RTL UI)
BrowserActionsContainer::ShowPopup should not do the same.
See before and after pictures at http://crbug.com/150696

BUG=150696
TEST=RTL (--lang=he) UI browser/page action extension popups should be anchored at the top left and shouldn't be cut off.
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251998 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

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