Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Also need to set aura::Window title
Browse files Browse the repository at this point in the history
Since each DesktopNativeWidgetAura uses a sole aura::Window as its
backed, once the title of native widget gets updated, the title of
aura::Window should also be updated in addition to updating the
XWindow created by DesktopRootWindowHostX11.

BUG=crosswalk-project/crosswalk#191
TEST=xwalk_browsertest --gtest_filter=XWalkRuntimeTest.GetWindowTitle

Conflicts:
	ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Rework with 34.0.1847.45 code base
  • Loading branch information
Hongbo Min authored and Maksim Sisov committed Aug 16, 2016
1 parent 90fe67b commit 5260365
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ void DesktopNativeWidgetAura::GetWindowPlacement(
bool DesktopNativeWidgetAura::SetWindowTitle(const base::string16& title) {
if (!content_window_)
return false;
content_window_->SetTitle(title);
return desktop_window_tree_host_->SetWindowTitle(title);
}

Expand Down

0 comments on commit 5260365

Please sign in to comment.