Chromium Code Reviews| Index: ui/views/test/widget_test_aura.cc |
| diff --git a/ui/views/test/widget_test_aura.cc b/ui/views/test/widget_test_aura.cc |
| index 457c0efd7860eeafd11c1e55071c84976d9d4b46..50bcf11cd2fccade2cbd83b13311f5e2f459411e 100644 |
| --- a/ui/views/test/widget_test_aura.cc |
| +++ b/ui/views/test/widget_test_aura.cc |
| @@ -114,5 +114,10 @@ ui::internal::InputMethodDelegate* WidgetTest::GetInputMethodDelegateForWidget( |
| return widget->GetNativeWindow()->GetRootWindow()->GetHost(); |
| } |
| +// static |
| +bool WidgetTest::IsNativeWindowTransparent(gfx::NativeWindow window) { |
| + return window->transparent(); |
| +} |
| + |
| } // namespace test |
| } // namespace views |