Commit 7765fe21 authored by yoshiki's avatar yoshiki Committed by Commit bot

Not set the title of ARC apps from launcher

This patch removes the code which sets the application title from the launcher, since now the title is set from Android-side and we don't need to set it in Chrome-side.

BUG=621166

Review-Url: https://codereview.chromium.org/2113633002
Cr-Commit-Position: refs/heads/master@{#405250}
parent df378cb5
......@@ -357,8 +357,6 @@ void ArcAppWindowLauncherController::CheckForAppWindowWidget(
if (app_window) {
app_window->set_widget(views::Widget::GetWidgetForNativeWindow(window));
ash::SetShelfIDForWindow(app_window->shelf_id(), window);
if (app_window->controller())
window->SetTitle(app_window->controller()->GetTitle());
chrome::MultiUserWindowManager::GetInstance()->SetWindowOwner(
window,
user_manager::UserManager::Get()->GetPrimaryUser()->GetAccountId());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment