refactor: move draggable regions to WebContents (#36230)
This commit is contained in:
parent
2008c9a5d0
commit
184ac2b382
22 changed files with 96 additions and 202 deletions
13
shell/browser/draggable_region_provider.h
Normal file
13
shell/browser/draggable_region_provider.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
// Copyright (c) 2022 Salesforce, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ELECTRON_SHELL_BROWSER_DRAGGABLE_REGION_PROVIDER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_DRAGGABLE_REGION_PROVIDER_H_
|
||||
|
||||
class DraggableRegionProvider {
|
||||
public:
|
||||
virtual int NonClientHitTest(const gfx::Point& point) = 0;
|
||||
};
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_DRAGGABLE_REGION_PROVIDER_H_
|
Loading…
Add table
Add a link
Reference in a new issue