chore: used nested namespaces (#34737)
This commit is contained in:
parent
0d4e417594
commit
5d120359f6
122 changed files with 246 additions and 738 deletions
|
@ -40,9 +40,7 @@ HRESULT TrySetWindowTheme(HWND hWnd, bool dark) {
|
|||
|
||||
} // namespace
|
||||
|
||||
namespace electron {
|
||||
|
||||
namespace win {
|
||||
namespace electron::win {
|
||||
|
||||
bool IsDarkModeSupported() {
|
||||
auto* os_info = base::win::OSInfo::GetInstance();
|
||||
|
@ -59,6 +57,4 @@ void SetDarkModeForWindow(HWND hWnd) {
|
|||
TrySetWindowTheme(hWnd, dark);
|
||||
}
|
||||
|
||||
} // namespace win
|
||||
|
||||
} // namespace electron
|
||||
} // namespace electron::win
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue