Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Refactor window state saving methods #5127

Closed
bsclifton opened this issue Oct 25, 2016 · 0 comments
Closed

Refactor window state saving methods #5127

bsclifton opened this issue Oct 25, 2016 · 0 comments

Comments

@bsclifton
Copy link
Member

For an example, see:
https://github.com/brave/browser-laptop/blob/master/js/components/main.js#L481

These events should be consolidated into one handler with a declarative event name, like onWindowParamsChanged which could then have optional arguments for:

  • size
  • position
  • maximize / minimize
  • focus

(and others as appropriate)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant