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

Unified Diff: ui/views/test/widget_test.h

Issue 1998653002: Make DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() relies on argb visual flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually no need to relax since Xvfb supports 32 depth, it just does not set _NET_WM_CM_S0 bit. Created 4 years, 7 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
Index: ui/views/test/widget_test.h
diff --git a/ui/views/test/widget_test.h b/ui/views/test/widget_test.h
index 78392d1a28f3423cb59c45e3d558d2437f1f842a..fe04891ec8648d1d735c5df4fd84a656257d21b3 100644
--- a/ui/views/test/widget_test.h
+++ b/ui/views/test/widget_test.h
@@ -89,6 +89,9 @@ class WidgetTest : public ViewsTestBase {
static ui::internal::InputMethodDelegate* GetInputMethodDelegateForWidget(
Widget* widget);
+ // Return true if |window| is transparent according to the native platform.
+ static bool IsNativeWindowTransparent(gfx::NativeWindow window);
+
private:
DISALLOW_COPY_AND_ASSIGN(WidgetTest);
};

Powered by Google App Engine
This is Rietveld 408576698