caption_button_placeholder_container.h 1.1 KB

1234567891011121314151617181920212223242526
  1. // Copyright 2024 Microsoft GmbH.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_CAPTION_BUTTON_PLACEHOLDER_CONTAINER_H_
  5. #define ELECTRON_SHELL_BROWSER_UI_VIEWS_CAPTION_BUTTON_PLACEHOLDER_CONTAINER_H_
  6. #include "ui/base/metadata/metadata_header_macros.h"
  7. #include "ui/views/view.h"
  8. // A placeholder container for control buttons with window controls
  9. // overlay display override. Does not interact with the buttons. It is just
  10. // used to indicate that this is non-client-area.
  11. class CaptionButtonPlaceholderContainer : public views::View {
  12. METADATA_HEADER(CaptionButtonPlaceholderContainer, views::View)
  13. public:
  14. CaptionButtonPlaceholderContainer();
  15. CaptionButtonPlaceholderContainer(const CaptionButtonPlaceholderContainer&) =
  16. delete;
  17. CaptionButtonPlaceholderContainer& operator=(
  18. const CaptionButtonPlaceholderContainer&) = delete;
  19. ~CaptionButtonPlaceholderContainer() override;
  20. };
  21. #endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_CAPTION_BUTTON_PLACEHOLDER_CONTAINER_H_