chore: fix various chromium-style errors in windows (#13394)
These errors weren't previously picked up because the GN build wasn't running on Windows.
This commit is contained in:
parent
1c64ac8c41
commit
6f91af9343
24 changed files with 100 additions and 57 deletions
|
@ -21,19 +21,17 @@ namespace extensions {
|
|||
class GlobalShortcutListenerWin : public GlobalShortcutListener {
|
||||
public:
|
||||
GlobalShortcutListenerWin();
|
||||
virtual ~GlobalShortcutListenerWin();
|
||||
~GlobalShortcutListenerWin() override;
|
||||
|
||||
private:
|
||||
// The implementation of our Window Proc, called by SingletonHwndObserver.
|
||||
void OnWndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
|
||||
|
||||
// GlobalShortcutListener implementation.
|
||||
virtual void StartListening() override;
|
||||
virtual void StopListening() override;
|
||||
virtual bool RegisterAcceleratorImpl(
|
||||
const ui::Accelerator& accelerator) override;
|
||||
virtual void UnregisterAcceleratorImpl(
|
||||
const ui::Accelerator& accelerator) override;
|
||||
void StartListening() override;
|
||||
void StopListening() override;
|
||||
bool RegisterAcceleratorImpl(const ui::Accelerator& accelerator) override;
|
||||
void UnregisterAcceleratorImpl(const ui::Accelerator& accelerator) override;
|
||||
|
||||
// Whether this object is listening for global shortcuts.
|
||||
bool is_listening_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue