| Index: views/widget/native_widget_aura.cc
|
| diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
|
| index f7dd587d3a97e50e1e05c5cae0316e663c736a75..e15e78c7a70beef312173d12b2f8a46d9652cea6 100644
|
| --- a/views/widget/native_widget_aura.cc
|
| +++ b/views/widget/native_widget_aura.cc
|
| @@ -149,16 +149,15 @@ void NativeWidgetAura::SendNativeAccessibilityEvent(
|
| }
|
|
|
| void NativeWidgetAura::SetMouseCapture() {
|
| - NOTIMPLEMENTED();
|
| + window_->SetCapture();
|
| }
|
|
|
| void NativeWidgetAura::ReleaseMouseCapture() {
|
| - NOTIMPLEMENTED();
|
| + window_->ReleaseCapture();
|
| }
|
|
|
| bool NativeWidgetAura::HasMouseCapture() const {
|
| - //NOTIMPLEMENTED();
|
| - return false;
|
| + return window_->HasCapture();
|
| }
|
|
|
| InputMethod* NativeWidgetAura::CreateInputMethod() {
|
| @@ -411,6 +410,10 @@ bool NativeWidgetAura::OnMouseEvent(aura::MouseEvent* event) {
|
| return delegate_->OnMouseEvent(MouseEvent(event));
|
| }
|
|
|
| +void NativeWidgetAura::OnCaptureLost() {
|
| + delegate_->OnMouseCaptureLost();
|
| +}
|
| +
|
| void NativeWidgetAura::OnPaint(gfx::Canvas* canvas) {
|
| delegate_->OnNativeWidgetPaint(canvas);
|
| }
|
|
|