win: Fix compilation errors for chrome35.
This commit is contained in:
parent
497174bbe4
commit
8d4211bd3a
17 changed files with 44 additions and 60 deletions
|
@ -378,12 +378,14 @@ bool NativeWindowViews::ShouldDescendIntoChildForEventHandling(
|
|||
draggable_region_->contains(location.x(), location.y()))
|
||||
return false;
|
||||
|
||||
#if defined(USE_X11)
|
||||
// And the events on border for dragging resizable frameless window.
|
||||
if (!has_frame_ && CanResize()) {
|
||||
LinuxFrameView* frame = static_cast<LinuxFrameView*>(
|
||||
window_->non_client_view()->frame_view());
|
||||
return frame->ResizingBorderHitTest(location) == HTNOWHERE;
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue