Files
brave-core/.github
sangwoo ko 848f875cd5 [cr141] Refactor SplitView to use BraveContentsContainerView
This commit migrates the SplitView implementation from using individual
views for secondary content management to utilizing the centralized
BraveContentsContainerView. This change eliminates code duplication and
improves maintainability by leveraging existing infrastructure.

**Key Changes:**

** SplitView Architecture Refactoring:**
- Replace direct management of secondary_contents_web_view_,
  secondary_devtools_web_view_, secondary_reader_mode_toolbar_,
  secondary_lens_overlay_view_, and secondary_contents_scrim_view_
- Migrate to using a single BraveContentsContainerView instance that
  encapsulates all secondary content management

** View Hierarchy Simplification:**
- secondary_contents_container_ (raw View) → secondary_contents_container_view_
  (BraveContentsContainerView)
- All secondary view access now goes through the container view's accessors
- Unified layout management through BraveContentsContainerView

**Benefits:**
- Reduces code duplication between primary and secondary content management
- Leverages existing ContentsContainerView infrastructure for DevTools,
  scrim views, lens overlay, and reader mode toolbar
- Simplifies view hierarchy and improves maintainability
- Better separation of concerns with centralized content management
2025-09-22 14:59:52 -04:00
..
2025-05-15 15:09:51 +01:00