Add TODOs and comments

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-10-01 17:48:54 +02:00
parent 8bdd2a14e8
commit 2f3a581859
8 changed files with 82 additions and 32 deletions

View File

@@ -36,6 +36,7 @@ const MediaFeature = struct {
value: []const u8,
};
// TODO: noop method
fn setEmulatedMedia(
alloc: std.mem.Allocator,
id: ?u16,
@@ -51,10 +52,10 @@ fn setEmulatedMedia(
const msg = try getMsg(alloc, Params, scanner);
// output
// TODO: dummy
return result(alloc, id orelse msg.id.?, null, null, msg.sessionID);
}
// TODO: noop method
fn setFocusEmulationEnabled(
alloc: std.mem.Allocator,
id: ?u16,
@@ -69,10 +70,10 @@ fn setFocusEmulationEnabled(
const msg = try getMsg(alloc, Params, scanner);
// output
// TODO: dummy
return result(alloc, id orelse msg.id.?, null, null, msg.sessionID);
}
// TODO: noop method
fn setDeviceMetricsOverride(
alloc: std.mem.Allocator,
id: ?u16,
@@ -87,6 +88,7 @@ fn setDeviceMetricsOverride(
return result(alloc, id orelse msg.id.?, null, null, msg.sessionID);
}
// TODO: noop method
fn setTouchEmulationEnabled(
alloc: std.mem.Allocator,
id: ?u16,