Files
brave-core/app
Brian R. Bondy 4e3862b0eb Fix Brave Origin branding on Windows alt+tab (title and icon) (#36257)
The window title format and captive portal title strings in
brave_origin_strings.grd were still showing "Brave" instead of
"Brave Origin", and the chrome.dll icon resources (used for the
per-window HICON via WM_SETICON) were hardcoded to the brave/
theme path with no IS_BRAVE_ORIGIN_BRANDED gating. The chrome.exe
icons (brave_exe.rc) were already correctly gated, which is why
shortcut/taskbar icons were correct but alt+tab was not.

- Add IDS_BROWSER_WINDOW_TITLE_FORMAT and
  IDS_CAPTIVE_PORTAL_BROWSER_WINDOW_TITLE_FORMAT to
  ORIGIN_BRANDED_MESSAGES in chromium-rebase-l10n.py so the
  branding rewrite picks them up on every rebase.
- Update the currently-checked-in brave_origin_strings.grd to
  apply the same branding now.
- Gate chrome/app/chrome_dll.rc icon resources on
  IS_BRAVE_ORIGIN_BRANDED, mirroring brave/app/brave_exe.rc.
- Define IS_BRAVE_ORIGIN_BRANDED for the chrome_dll_resources
  source_set when is_brave_origin_branded=true.
2026-05-08 16:11:27 -04:00
..