mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:54:58 +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
|
@ -118,8 +118,8 @@ public:
|
|||
double value_as_number() const;
|
||||
WebIDL::ExceptionOr<void> set_value_as_number(double value);
|
||||
|
||||
WebIDL::ExceptionOr<void> step_up(long n = 1);
|
||||
WebIDL::ExceptionOr<void> step_down(long n = 1);
|
||||
WebIDL::ExceptionOr<void> step_up(WebIDL::Long n = 1);
|
||||
WebIDL::ExceptionOr<void> step_down(WebIDL::Long n = 1);
|
||||
|
||||
WebIDL::ExceptionOr<bool> check_validity();
|
||||
WebIDL::ExceptionOr<bool> report_validity();
|
||||
|
@ -221,7 +221,7 @@ private:
|
|||
double step_scale_factor() const;
|
||||
Optional<double> allowed_value_step() const;
|
||||
double step_base() const;
|
||||
WebIDL::ExceptionOr<void> step_up_or_down(bool is_down, long n);
|
||||
WebIDL::ExceptionOr<void> step_up_or_down(bool is_down, WebIDL::Long n);
|
||||
|
||||
static TypeAttributeState parse_type_attribute(StringView);
|
||||
void create_shadow_tree_if_needed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue