chrome: win: Fix app icon for default Chrome windows (fixes #3606)

This fixes the app icon for default Chrome windows such as DevTools
and Task Manager.

An ICON with value IDR_MAINFRAME (101) will be loaded from the main
executable is available. Otherwise, the default Chromium ICON will be
loaded from libcef.dll.
This commit is contained in:
Marshall Greenblatt
2023-11-20 19:35:05 -05:00
parent cf934a20a7
commit 3b652a9966
9 changed files with 97 additions and 15 deletions

View File

@@ -8,15 +8,13 @@
//
#define BINARY 256
#define IDC_MYICON 2
#define IDR_MAINFRAME 101
#define IDD_CEFCLIENT_DIALOG 102
#define IDS_APP_TITLE 103
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_CEFCLIENT 107
#define IDI_SMALL 108
#define IDC_CEFCLIENT 109
#define IDR_MAINFRAME 128
#define IDC_NAV_BACK 200
#define IDC_NAV_FORWARD 201
#define IDC_NAV_RELOAD 202