// Copyright (c) 2018 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/api/atom_api_browser_window.h" #include "atom/browser/native_window_views.h" namespace atom { namespace api { void BrowserWindow::UpdateDraggableRegions( const std::vector& regions) { if (window_->has_frame()) return; static_cast(window_.get()) ->UpdateDraggableRegions(DraggableRegionsToSkRegion(regions)); } } // namespace api } // namespace atom