// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_SIDE_PANEL_SIDE_PANEL_RESIZE_AREA_H_ #define CHROME_BROWSER_UI_VIEWS_SIDE_PANEL_SIDE_PANEL_RESIZE_AREA_H_ #include "chrome/browser/ui/views/side_panel/side_panel.h" #include "ui/views/controls/image_view.h" #include "ui/views/controls/resize_area.h" namespace views { // Keyboard-accessible drag handle icon intended to be drawn on top of a // SidePanelResizeArea. class SidePanelResizeHandle : public ImageView, public views::FocusChangeListener { … }; // ResizeArea with custom Layout override to draw on top of the Side Panel // border, and responsiveness to key events via a focusable // SidePanelResizeHandle. class SidePanelResizeArea : public ResizeArea { … }; } // namespace views #endif // CHROME_BROWSER_UI_VIEWS_SIDE_PANEL_SIDE_PANEL_RESIZE_AREA_H_