Index: ui/views/test/widget_test_mac.mm |
diff --git a/ui/views/test/widget_test_mac.mm b/ui/views/test/widget_test_mac.mm |
index ea9ed8eb7c104815fa805264363ba345de599432..91f824c2337534181cd218cd87c4abc36158cba2 100644 |
--- a/ui/views/test/widget_test_mac.mm |
+++ b/ui/views/test/widget_test_mac.mm |
@@ -89,5 +89,10 @@ ui::internal::InputMethodDelegate* WidgetTest::GetInputMethodDelegateForWidget( |
return NativeWidgetMac::GetBridgeForNativeWindow(widget->GetNativeWindow()); |
} |
+// static |
+bool WidgetTest::IsNativeWindowTransparent(gfx::NativeWindow window) { |
+ return ![window isOpaque]; |
+} |
+ |
} // namespace test |
} // namespace views |