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

Unified Diff: services/ui/ws/platform_display_default.cc

Issue 2580063002: Mustash: Ensure surfaces submitted to Mus by WM and embedders contain Surfaces with embeded content. (Closed)
Patch Set: Make the clipping layer ui::LAYER_NOT_DRAWN. Created 4 years 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
Index: services/ui/ws/platform_display_default.cc
diff --git a/services/ui/ws/platform_display_default.cc b/services/ui/ws/platform_display_default.cc
index 8f46a220fc42f1357b1417e5adbd9006c5469532..7e203ad9b88991f455c33e213634138043ce1d92 100644
--- a/services/ui/ws/platform_display_default.cc
+++ b/services/ui/ws/platform_display_default.cc
@@ -247,6 +247,10 @@ void PlatformDisplayDefault::OnAcceleratedWidgetDestroyed() {
void PlatformDisplayDefault::OnActivationChanged(bool active) {}
+ServerWindow* PlatformDisplayDefault::GetActiveRootWindow() {
+ return delegate_->GetActiveRootWindow();
+}
+
bool PlatformDisplayDefault::IsInHighContrastMode() {
return delegate_ ? delegate_->IsInHighContrastMode() : false;
}

Powered by Google App Engine
This is Rietveld 408576698