* feat: add permission handler API - implement cross-platform permission handler API, fix combined camera and microphone logic on macOS, update documentation to clarify NFC and Bluetooth support, and simplify permission_handler example using permission.site
* fix(wkwebview): remove leftover PermissionObserver from UIDelegate signature
* Fix `permission_handler` example on linux
* Use type instead of string check
* Add more platform specific notes
* Move permissions to a file
* Add notice about prompt not supported on linux
* fix(webkitgtk): handle combined audio+video permissions and use is_for_display_device on v2_42
* fix: reorder module declarations for rustfmt
* fix(android): scope permission handler per webview
подтверждено
* fix(android): honor permission handler for geolocation
подтверждено
* fix(android): avoid overgranting mixed permission requests
* fix(android): scope permission callbacks by webview
* fix(android): pass existing webview id string
* Migrate `PACKAGE.get().unwrap()`
* Fix `web_chrome_client`
* small refactor on permissionLauncher
* Add `PermissionResponse::Default` docs for all platforms
* fix(android): simplify permission JNI response
* document allow is not supported on android
* refactor: simplify permission responses
* fix: update permission handler example
* fix(android): pass unknown permissions to handler
* fix(android): allow explicit unknown permissions
* onPermissionRequestNative will not return other values
* Send individual permissions to rust side
and support partial allow
---------
Co-authored-by: Tony <legendmastertony@gmail.com>
* refactor: make more private
* refactor: remove unwraps
* refactor: remove no longer necessary Send/Sync overrides
* refactor: less thinking about ffi safety of bool
* add change file
* feat(linux): craete webview on new_window_req
follow-up for #1596
ref https://github.com/tauri-apps/tauri/pull/13876
* refactor: allow new_window_req_handler to create the webview on its own
* add webview getter
* clippy regression
* macos fixes
* enhance platform support
* fix deadlock on windows
* fix mac build
* refactor(ipc): introduce IpcRequest type to get source URL on supported platforms
* fix linux
* use http::Request
* leftover config
* url from webview as fallback
* docs
* docs
* feat: add reparent function
* remove mut
* windows and linux impl
* update change file
* Discard changes to examples/simple.rs
* remove ns_window field
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
* feat: add WebView::bounds getter
* macos impl
* windows impl
* dummy android
* fix build on ios
* fix initial size on macOS, adjust bounds impl
* fallback to controller.bounds on windows
* use webview.allocated_size on linux when not a child
* cleanup windows impl
* fix wgpu example
* cleanup linux impl
---------
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
* Refactor new method entry point to rwh
* Update doc and add change file
* Fix mac and ios compile error
* Add new_as_child
* Add rhw_04, 05 06 flags
* Update android port
* Remove winit CI
* Fix android bindings
* windows implementation
* Update Cargo.toml
* Fix macOS and iOS
* Fix Android
* fix is_child on WkWebView
* x11 impl
* expose `new_gtk`
* fix winit-gtk version
* remove undecorated resizing handling
* implement set_position and set_size for child gtk in x11
* fix macos
* more fixes
* one more time
* unreachable
* update actions
* fix windows
* some clippy
* Add documentation and fix clippy
* Fix windows clippy error
* Fix android biuld
* Fix documentation test
* Fix android again
* Reduce clippy noise
* use rc?
* refine some documentation, add set_visible
* fix set_visible
* impl set_visible on Windows
* fix doctests
* more set_visible fixes
* fix windows
* unsafe
* fix set size for child webviews
* fix initial visibility with new_gtk
* refine examples
* fix wpgu example
* fix examples on windows and macos
* use a better workaround
* make set_size work on x11
* Fix size in multiwebview example
* Add visible method on macOS and iOS
* remvoe `tao` from android backend and update documentation
* fix winit example
* Add new_as_content_view on macOS
* allow using raw-window-handle v0.5 [skip ci]
* change trait name [skip ci]
* fix linux impl [skip ci]
* fix android build [skip ci]
* fix windows build
* fix(macos): do not autoresize on child webview [skip ci]
* fix macos coordinates [skip ci]
* fix example [skip ci]
* fixed child on macos [skip ci]
* fix docs typos [skip ci]
* fix webview position when it's not a child [skip ci]
* replace new_as_content_view with new_as_subview
* with_as_subview instead of constructor [skip ci]
* fix position/size when as_subview is true
* lint & fmt
* Fix ios build
* Fix cargo test
* Fix mac build
* Update macOS contrusctors
* cargo fmt
* impl drop on Windows
* fix child transparency on Windows (still needs PRs in tao and winit)
* fix winit usage in the examples, use rwh_05 only for now
* fix tests
* add webview.focus
* fix dropping on Linux
* chore clean examples
* implement focus on Linux
* macos focus
---------
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>