mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
LibWeb: Use WebIDL types where possible instead of C types
This commit is contained in:
parent
f1d6693990
commit
c41b359ca5
13 changed files with 32 additions and 24 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/HTML/HistoryHandlingBehavior.h>
|
||||
#include <LibWeb/WebIDL/ExceptionOr.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -24,7 +25,7 @@ public:
|
|||
|
||||
WebIDL::ExceptionOr<void> push_state(JS::Value data, String const& unused, Optional<String> const& url = {});
|
||||
WebIDL::ExceptionOr<void> replace_state(JS::Value data, String const& unused, Optional<String> const& url = {});
|
||||
WebIDL::ExceptionOr<void> go(long delta);
|
||||
WebIDL::ExceptionOr<void> go(WebIDL::Long delta);
|
||||
WebIDL::ExceptionOr<void> back();
|
||||
WebIDL::ExceptionOr<void> forward();
|
||||
WebIDL::ExceptionOr<u64> length() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue