1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:17:35 +00:00

LibWeb: Generate HTMLCanvasElement bindings from IDL :^)

This commit is contained in:
Andreas Kling 2020-06-21 15:37:13 +02:00
parent 119dd2c541
commit b959d06ace
8 changed files with 30 additions and 175 deletions

View file

@ -47,8 +47,8 @@ public:
CanvasRenderingContext2D* get_context(String type);
int requested_width() const;
int requested_height() const;
unsigned width() const;
unsigned height() const;
private:
virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;