Index: views/widget/native_widget_views.cc |
diff --git a/views/widget/native_widget_views.cc b/views/widget/native_widget_views.cc |
index 3f400c49c60c687dc64984a2968f293be997611e..60c6db16ad7493872f50760986c920dd017b0bee 100644 |
--- a/views/widget/native_widget_views.cc |
+++ b/views/widget/native_widget_views.cc |
@@ -42,6 +42,7 @@ void NativeWidgetViews::OnActivate(bool active) { |
void NativeWidgetViews::InitNativeWidget(const Widget::InitParams& params) { |
view_ = new internal::NativeWidgetView(this); |
+ view_->SetPaintToTexture(true); |
host_view_->AddChildView(view_); |
// TODO(beng): handle parenting. |
@@ -202,6 +203,10 @@ void NativeWidgetViews::MoveAbove(gfx::NativeView native_view) { |
NOTIMPLEMENTED(); |
} |
+void NativeWidgetViews::MoveToTop() { |
+ host_view_->ReorderChildView(view_, -1); |
+} |
+ |
void NativeWidgetViews::SetShape(gfx::NativeRegion region) { |
NOTIMPLEMENTED(); |
} |