mac: Call setMouseDownCanMoveWindow in BrowserWindow
This commit is contained in:
parent
7d4ff3b061
commit
bc34ca9e25
5 changed files with 52 additions and 17 deletions
19
atom/browser/api/atom_api_browser_window_views.cc
Normal file
19
atom/browser/api/atom_api_browser_window_views.cc
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue