Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add verso protocol #202

Merged
merged 2 commits into from
Oct 15, 2024
Merged

feat: add verso protocol #202

merged 2 commits into from
Oct 15, 2024

Conversation

wusyong
Copy link
Member

@wusyong wusyong commented Oct 15, 2024

This PR also set webview generic. All webviews are treated as same.

@wusyong wusyong requested a review from pewsheen October 15, 2024 04:55
@wusyong
Copy link
Member Author

wusyong commented Oct 15, 2024

@Legend-Master could you also review it?

@@ -20,6 +27,14 @@ impl Config {
Self { opts, resource_dir }
}

/// Register URL scheme protocols
pub fn create_protocols(&self) -> ProtocolRegistry {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be called register_protocols instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, this is to create the protocols

Copy link
Contributor

@Legend-Master Legend-Master left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, also works by manually testing it by running cargo run

@wusyong wusyong added this pull request to the merge queue Oct 15, 2024
Merged via the queue into main with commit 4e7edd0 Oct 15, 2024
6 checks passed
@wusyong wusyong deleted the protocol branch October 15, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants