Chromium Code Reviews| Index: mash/wm/drag_window_resizer.cc |
| diff --git a/mash/wm/drag_window_resizer.cc b/mash/wm/drag_window_resizer.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3fc53360f089577a11a10aa0a891b1d51cb2d4c1 |
| --- /dev/null |
| +++ b/mash/wm/drag_window_resizer.cc |
| @@ -0,0 +1,40 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "mash/wm/drag_window_resizer.h" |
| + |
| +namespace mash { |
| +namespace wm { |
| + |
| +DragWindowResizer::DragWindowResizer( |
| + std::unique_ptr<WindowResizer> next_window_resizer, |
| + ash::wm::WindowState* window_state) |
| + : WindowResizer(window_state), |
| + next_window_resizer_(std::move(next_window_resizer)) {} |
| + |
| +DragWindowResizer::~DragWindowResizer() { |
| + if (window_state_) |
| + window_state_->DeleteDragDetails(); |
| +} |
| + |
| +void DragWindowResizer::Drag(const gfx::Point& location, int event_flags) { |
| + next_window_resizer_->Drag(location, event_flags); |
| + // http://crbug.com/613199. |
|
James Cook
2016/05/23 21:53:34
Nice to see bugs filed for notimplementeds.
|
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void DragWindowResizer::CompleteDrag() { |
| + next_window_resizer_->CompleteDrag(); |
| + // http://crbug.com/613199. |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void DragWindowResizer::RevertDrag() { |
| + next_window_resizer_->RevertDrag(); |
| + // http://crbug.com/613199. |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +} // namespace wm |
| +} // namespace mash |