Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: components/exo/surface.cc

Issue 2935893004: Add unittest for ArcNotificationContentView (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/surface.h ('k') | ui/arc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index b6edb5b7558d02bda6e326477945e107ffb6843d..90b44bdef684551d3f76eaa2f4722e7fcf74c5a9 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -182,12 +182,15 @@ class CustomWindowTargeter : public aura::WindowTargeter {
} // namespace
+// static
+const char Surface::kSurfaceWindowName[] = "ExoSurface";
+
////////////////////////////////////////////////////////////////////////////////
// Surface, public:
Surface::Surface() : window_(new aura::Window(new CustomWindowDelegate(this))) {
window_->SetType(aura::client::WINDOW_TYPE_CONTROL);
- window_->SetName("ExoSurface");
+ window_->SetName(kSurfaceWindowName);
reveman 2017/06/21 15:16:36 We're going to remove |window_| soon to support MU
yoshiki 2017/06/21 16:13:12 Although I'm not sure how you remove |window_|, th
reveman 2017/06/21 16:22:24 Each surface will no longer have a window. Only th
window_->SetProperty(kSurfaceKey, this);
window_->Init(ui::LAYER_SOLID_COLOR);
window_->SetEventTargeter(base::WrapUnique(new CustomWindowTargeter));
« no previous file with comments | « components/exo/surface.h ('k') | ui/arc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698