feat: implement 'app-command' events for browser history navigation keys on Linux (#15441)
* Added mouse forward/back button support on Linux * Added browser history navigation action bindings for Windows, Mac, and Linux keyboard * Removed new `history-action` event and modified `app-command` to execute on such events * Removed attempt at macOS support and added constants * Clarified app-command documentation * Reverted 'app-command' description change * Format code
This commit is contained in:
parent
3f15f51615
commit
d243a45173
11 changed files with 64 additions and 12 deletions
|
@ -95,7 +95,8 @@ class NativeWindowObserver : public base::CheckedObserver {
|
|||
#endif
|
||||
|
||||
// Called on Windows when App Commands arrive (WM_APPCOMMAND)
|
||||
virtual void OnExecuteWindowsCommand(const std::string& command_name) {}
|
||||
// Some commands are implemented on on other platforms as well
|
||||
virtual void OnExecuteAppCommand(const std::string& command_name) {}
|
||||
};
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue