Skip to content

feat: webcontents #5

Open
Open
@trulysinclair

Description

@trulysinclair

Preflight Checklist

  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

BrowserWindow, BrowserView, and WebContentsView all have a webContents property which can be handled by a dedicated WebContents class from which the wrapping classes, Window and View, can extend from.

Proposed Solution

The WebContents class should contain common logic for representing favicons, title, themeColor, url, isMediaPlaying and more. This class will also handle listening to a variety of events to keep a consistent state such as whether the page is loading, crashed, unresponsive, ready, or destroyed.

Alternatives Considered

N/A

Additional Information

N/A

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions