a0e76e623d
Introduces a BrowserView-based tab management system for desktop mode, replacing webview elements for tab content. Adds IPC handlers and state management for creating, activating, destroying, and communicating with BrowserViews. Implements an overlay menu popup window for tab actions and zoom controls. Updates renderer UI to use a dedicated view host container, and refactors tab creation and navigation logic to use BrowserViews. Improves focus styling in CSS and updates preload and IPC messaging to support BrowserView contexts.
24 lines
922 B
HTML
24 lines
922 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Menu</title>
|
|
<link rel="stylesheet" href="menu-popup.css" />
|
|
</head>
|
|
<body>
|
|
<div id="menu-popup" role="menu">
|
|
<button data-cmd="open-settings" role="menuitem">Settings</button>
|
|
<button data-cmd="big-picture" role="menuitem">🎮 Big Picture Mode</button>
|
|
<button data-cmd="toggle-devtools" role="menuitem">Toggle Developer Tools</button>
|
|
<div class="zoom-controls" role="group" aria-label="Zoom controls">
|
|
<button data-cmd="zoom-out" aria-label="Zoom out">-</button>
|
|
<span id="zoom-percent">100%</span>
|
|
<button data-cmd="zoom-in" aria-label="Zoom in">+</button>
|
|
</div>
|
|
<button data-cmd="hard-reload" role="menuitem">Hard Reload (Ignore Cache)</button>
|
|
<button data-cmd="fresh-reload" role="menuitem">Reload Fresh (Add Cache-Buster)</button>
|
|
</div>
|
|
<script src="menu-popup.js"></script>
|
|
</body>
|
|
</html>
|