parent
3041fd66cd
commit
36ec9d7236
7 changed files with 7 additions and 7 deletions
|
@ -195,7 +195,7 @@ void ThemeDataSource::SendColorsCss(
|
|||
css_selector = ":host";
|
||||
} else {
|
||||
// This selector requires more specificity than other existing CSS
|
||||
// selectors that define variables. We increase the specifity by adding
|
||||
// selectors that define variables. We increase the specificity by adding
|
||||
// a pseudoselector.
|
||||
css_selector = "html:not(#z)";
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ SubmenuButton::SubmenuButton(PressedCallback callback,
|
|||
: views::MenuButton(std::move(callback), gfx::RemoveAccelerator(title)),
|
||||
background_color_(background_color) {
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
// Dont' use native style border.
|
||||
// Don't use native style border.
|
||||
SetBorder(CreateDefaultBorder());
|
||||
#endif
|
||||
SetAccessibleRole(ax::mojom::Role::kPopUpButton);
|
||||
|
|
|
@ -99,7 +99,7 @@ bool ElectronDesktopWindowTreeHostWin::HandleMouseEventForCaption(
|
|||
// Chromium lets the OS handle caption buttons for FrameMode::SYSTEM_DRAWN but
|
||||
// again this does not generate the SC_MINIMIZE, SC_MAXIMIZE, SC_RESTORE
|
||||
// commands when Non-client mouse events are generated for HTCLOSE,
|
||||
// HTMINBUTTON, HTMAXBUTTON. To workaround this issue, wit this delegate we
|
||||
// HTMINBUTTON, HTMAXBUTTON. To workaround this issue, with this delegate we
|
||||
// let chromium handle the mouse events via
|
||||
// HWNDMessageHandler::HandleMouseInputForCaption instead of the OS and this
|
||||
// will generate the necessary system commands to perform caption button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue