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

Unified Diff: components/exo/display.cc

Issue 1819273002: exo: Improved implementation of child surfaces and popups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix deps Created 4 years, 9 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/BUILD.gn ('k') | components/exo/pointer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display.cc
diff --git a/components/exo/display.cc b/components/exo/display.cc
index cf093420279ac86e2668d4b684d4cff0e2c00ed4..146c62dc30bcadb016c0281f7ccca8c79b1cb8e6 100644
--- a/components/exo/display.cc
+++ b/components/exo/display.cc
@@ -99,7 +99,7 @@ scoped_ptr<ShellSurface> Display::CreateShellSurface(Surface* surface) {
return nullptr;
}
- return make_scoped_ptr(new ShellSurface(surface, nullptr, gfx::Rect()));
+ return make_scoped_ptr(new ShellSurface(surface, nullptr, gfx::Rect(), true));
}
scoped_ptr<ShellSurface> Display::CreatePopupShellSurface(
@@ -119,8 +119,8 @@ scoped_ptr<ShellSurface> Display::CreatePopupShellSurface(
return nullptr;
}
- return make_scoped_ptr(
- new ShellSurface(surface, parent, gfx::Rect(position, gfx::Size(1, 1))));
+ return make_scoped_ptr(new ShellSurface(
+ surface, parent, gfx::Rect(position, gfx::Size(1, 1)), false));
}
scoped_ptr<SubSurface> Display::CreateSubSurface(Surface* surface,
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/pointer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698