Commit 20c0774f authored by Tetsui Ohkubo's avatar Tetsui Ohkubo Committed by Commit Bot

arc: Set a name for ArcNotificationSurface

TEST=Enable debug shortcuts and press Ctrl-Shift-Alt-W
BUG=b:128650292

Change-Id: I463a74c8dadad39f1d2648c94e330b897f7fe67d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1838844Reviewed-by: default avatarYoshiki Iguchi <yoshiki@chromium.org>
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702770}
parent fb0f3fae
...@@ -85,6 +85,7 @@ ArcNotificationSurfaceImpl::ArcNotificationSurfaceImpl( ...@@ -85,6 +85,7 @@ ArcNotificationSurfaceImpl::ArcNotificationSurfaceImpl(
new CustomWindowDelegate(surface), aura::client::WINDOW_TYPE_CONTROL); new CustomWindowDelegate(surface), aura::client::WINDOW_TYPE_CONTROL);
native_view_->set_owned_by_parent(false); native_view_->set_owned_by_parent(false);
native_view_->Init(ui::LAYER_NOT_DRAWN); native_view_->Init(ui::LAYER_NOT_DRAWN);
native_view_->SetName("ArcNotificationSurface");
native_view_->AddChild(surface_->host_window()); native_view_->AddChild(surface_->host_window());
native_view_->Show(); native_view_->Show();
} }
......
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