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

Unified Diff: components/exo/shell_surface_unittest.cc

Issue 2189073003: Add configuration_changed event and set_background_opacity request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 4 years, 5 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/shell_surface.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface_unittest.cc
diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
index 483ecc8d768b16014cde2ad48e79201b374c40c9..a373edd856fafa30f841eb0bdbda527ad20ef4b0 100644
--- a/components/exo/shell_surface_unittest.cc
+++ b/components/exo/shell_surface_unittest.cc
@@ -599,6 +599,9 @@ TEST_F(ShellSurfaceTest, ShadowStartMaximized) {
surface->Commit();
EXPECT_FALSE(wm::ShadowController::GetShadowForWindow(window));
+ // Underlay should be created even without shadow.
+ ASSERT_TRUE(shell_surface->shadow_underlay_for_test());
+ EXPECT_TRUE(shell_surface->shadow_underlay_for_test()->IsVisible());
// Restore the window and make sure the shadow is created, visible and
// has the latest bounds.
« no previous file with comments | « components/exo/shell_surface.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698