| Index: ui/aura/root_window.cc
|
| diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
|
| index 4dfdc97eb45810329b9459ec21ac43d9a13d804f..265d09c0393f43e27b18aff0c2a404e6e2f6f302 100644
|
| --- a/ui/aura/root_window.cc
|
| +++ b/ui/aura/root_window.cc
|
| @@ -235,6 +235,10 @@ void RootWindow::ScheduleFullDraw() {
|
| compositor_->ScheduleFullDraw();
|
| }
|
|
|
| +void RootWindow::SetUseHostWindowBorders(bool use_os_borders) {
|
| + host_->SetUseHostWindowBorders(use_os_borders);
|
| +}
|
| +
|
| bool RootWindow::DispatchMouseEvent(MouseEvent* event) {
|
| if (mouse_move_hold_count_) {
|
| if (event->type() == ui::ET_MOUSE_DRAGGED ||
|
| @@ -373,6 +377,11 @@ bool RootWindow::DispatchGestureEvent(GestureEvent* event) {
|
| return false;
|
| }
|
|
|
| +bool RootWindow::DispatchHostWindowDragMovement(int hittest,
|
| + MouseEvent* event) {
|
| + return host_->DispatchHostWindowDragMovement(hittest, event);
|
| +}
|
| +
|
| void RootWindow::OnHostResized(const gfx::Size& size_in_pixel) {
|
| DispatchHeldMouseMove();
|
| // The compositor should have the same size as the native root window host.
|
|
|