mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
move window from nav to html
This commit is contained in:
@@ -4,7 +4,6 @@ const Console = @import("jsruntime").Console;
|
||||
|
||||
const DOM = @import("dom/dom.zig");
|
||||
const HTML = @import("html/html.zig");
|
||||
const nav = @import("nav/nav.zig");
|
||||
|
||||
pub const HTMLDocument = @import("html/document.zig").HTMLDocument;
|
||||
|
||||
@@ -13,5 +12,4 @@ pub const Interfaces = generate.Tuple(.{
|
||||
Console,
|
||||
DOM.Interfaces,
|
||||
HTML.Interfaces,
|
||||
nav.Interfaces,
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ const TPL = jsruntime.TPL;
|
||||
const apiweb = @import("../apiweb.zig");
|
||||
const apis = jsruntime.compile(apiweb.Interfaces);
|
||||
|
||||
const Window = @import("../nav/window.zig").Window;
|
||||
const Window = @import("../html/window.zig").Window;
|
||||
const Walker = @import("../dom/html_collection.zig").WalkerDepthFirst;
|
||||
|
||||
const FetchResult = std.http.Client.FetchResult;
|
||||
|
||||
@@ -2,10 +2,12 @@ const generate = @import("../generate.zig");
|
||||
|
||||
const HTMLDocument = @import("document.zig").HTMLDocument;
|
||||
const HTMLElem = @import("elements.zig");
|
||||
const Window = @import("window.zig").Window;
|
||||
|
||||
pub const Interfaces = generate.Tuple(.{
|
||||
HTMLDocument,
|
||||
HTMLElem.HTMLElement,
|
||||
HTMLElem.HTMLMediaElement,
|
||||
HTMLElem.Interfaces,
|
||||
Window,
|
||||
});
|
||||
|
||||
@@ -7,7 +7,6 @@ const FileLoader = @import("wpt/fileloader.zig").FileLoader;
|
||||
const wpt = @import("wpt/run.zig");
|
||||
|
||||
const apiweb = @import("apiweb.zig");
|
||||
const nav = @import("nav/nav.zig");
|
||||
const HTMLElem = @import("html/elements.zig");
|
||||
|
||||
const wpt_dir = "tests/wpt";
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
const generate = @import("../generate.zig");
|
||||
|
||||
const Window = @import("window.zig").Window;
|
||||
|
||||
pub const Interfaces = generate.Tuple(.{
|
||||
Window,
|
||||
});
|
||||
Reference in New Issue
Block a user