Skip to content

Get access to ICoreWebView2-objects in Edge.java #207

@jthier

Description

@jthier

Problem:
We use the Edge as our browser in an RCP program and have multiple problems with the default behavior of the browser. Sadly the Edge Object doesn't grant us any useful access to the ICoreWebView2 Objects, which would allow us to react to zoomfactor changes, manipulate the zoomfactor or change the shortcut behavior.

Solution:
Getter methods for the following objects would be necessary to use the Edge-Browser in a convenient way:

  • ICoreWebView2Controller
  • ICoreWebView2Settings

Optional access to the other objects would also be useful:

  • ICoreWebView2
  • ICoreWebView2_2
  • ICoreWebView2Environment2

Examples:
public ICoreWebView2Controller getICoreWebView2Controller() {
return controller;
}
public ICoreWebView2Settings getICoreWebView2Settings() {
return settings;
}

Possible alternatives:
It would also be an idea to enable setter-methods for a lot of variables, but this would be an unneccessary overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsHappens on Windows OSedgeEdge BrowserenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions