mac: Call setMouseDownCanMoveWindow in BrowserWindow

This commit is contained in:
Cheng Zhao 2018-03-06 14:07:06 +09:00
parent 7d4ff3b061
commit bc34ca9e25
5 changed files with 52 additions and 17 deletions

View file

@ -0,0 +1,19 @@
// 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"
namespace atom {
namespace api {
void BrowserWindow::UpdateDraggableRegions(
content::RenderFrameHost* rfh,
const std::vector<DraggableRegion>& regions) {
window_->UpdateDraggableRegions(regions);
}
} // namespace api
} // namespace atom