refactor: better solution for resizable frameless DCHECK (#33790)
* refactor: better solution for resizable frameless DCHECK * fix: also implement TargetForRectin WinFrameView
This commit is contained in:
parent
192a7fad0d
commit
fb534c927a
4 changed files with 36 additions and 9 deletions
|
@ -61,6 +61,9 @@ class WinFrameView : public FramelessView {
|
|||
|
||||
int FrameBorderThickness() const;
|
||||
|
||||
// views::ViewTargeterDelegate:
|
||||
views::View* TargetForRect(views::View* root, const gfx::Rect& rect) override;
|
||||
|
||||
// Returns the thickness of the window border for the top edge of the frame,
|
||||
// which is sometimes different than FrameBorderThickness(). Does not include
|
||||
// the titlebar/tabstrip area. If |restored| is true, this is calculated as if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue