mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
Add TODOs and comments
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user