0

apps: remove redundant NonClientFrameView overrides

The base class has empty bodies for these, so child classes don't need
to do this.

Bug: None
Change-Id: I27702728d5f58206c724a5d3333c02634a478f39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4878563
Auto-Submit: Elly FJ <ellyjones@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Commit-Queue: Dominick Ng <dominickn@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1199172}
This commit is contained in:
Elly
2023-09-20 19:34:00 +00:00
committed by Chromium LUCI CQ
parent a03007844c
commit aecc85fe8f
2 changed files with 0 additions and 9 deletions

@ -221,11 +221,6 @@ int AppWindowFrameView::NonClientHitTest(const gfx::Point& point) {
return HTCAPTION;
}
void AppWindowFrameView::GetWindowMask(const gfx::Size& size,
SkPath* window_mask) {
// We got nothing to say about no window mask.
}
void AppWindowFrameView::SizeConstraintsChanged() {
if (draw_frame_) {
maximize_button_->SetEnabled(widget_->widget_delegate() &&

@ -64,10 +64,6 @@ class AppWindowFrameView : public views::NonClientFrameView {
gfx::Rect GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const override;
int NonClientHitTest(const gfx::Point& point) override;
void GetWindowMask(const gfx::Size& size, SkPath* window_mask) override;
void ResetWindowControls() override {}
void UpdateWindowIcon() override {}
void UpdateWindowTitle() override {}
void SizeConstraintsChanged() override;
// views::View implementation.