Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 4dfdc97eb45810329b9459ec21ac43d9a13d804f..a921e7e1f637fd0dee7a58aad75931ab40abac94 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -235,6 +235,10 @@ void RootWindow::ScheduleFullDraw() { |
compositor_->ScheduleFullDraw(); |
} |
+void RootWindow::SetUseOSWindowBorders(bool use_os_borders) { |
+ host_->SetUseOSWindowBorders(use_os_borders); |
+} |
+ |
bool RootWindow::DispatchMouseEvent(MouseEvent* event) { |
if (mouse_move_hold_count_) { |
if (event->type() == ui::ET_MOUSE_DRAGGED || |
@@ -373,6 +377,10 @@ bool RootWindow::DispatchGestureEvent(GestureEvent* event) { |
return false; |
} |
+bool RootWindow::DispatchWindowDragMovement(int hittest, MouseEvent* event) { |
+ return host_->DispatchWindowDragMovement(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. |