mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibJS+LibWeb: Move native properties to separate getters/setters
This was a bit cumbersome now, but it gets us closer to a format suited for code generation.
This commit is contained in:
parent
56936b97d0
commit
30440134cb
Notes:
sideshowbarker
2024-07-19 08:05:11 +09:00
Author: https://github.com/awesomekling
Commit: 30440134cb
19 changed files with 210 additions and 96 deletions
|
@ -43,6 +43,9 @@ private:
|
|||
virtual const char* class_name() const override { return "HTMLCanvasElementWrapper"; }
|
||||
|
||||
static JS::Value get_context(JS::Interpreter&);
|
||||
|
||||
static JS::Value width_getter(JS::Interpreter&);
|
||||
static JS::Value height_getter(JS::Interpreter&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue