ELinks 0.18.0
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "bfu/leds.h"
#include "dialogs/menu.h"
#include "dialogs/status.h"
#include "document/document.h"
#include "document/view.h"
#include "js/ecmascript.h"
#include "js/quickjs.h"
#include "js/quickjs/css.h"
#include "js/quickjs/element.h"
#include "js/quickjs/heartbeat.h"
#include "js/quickjs/keyboard.h"
#include "js/quickjs/location.h"
#include "js/quickjs/message.h"
#include "js/quickjs/window.h"
#include "js/timer.h"
#include "intl/libintl.h"
#include "main/select.h"
#include "osdep/newwin.h"
#include "session/session.h"
#include "session/task.h"
#include "terminal/tab.h"
#include "util/conv.h"
#include "viewer/text/vs.h"
Data Structures | |
struct | win_listener |
struct | el_window |
struct | el_message |
Macros | |
#define | countof(x) (sizeof(x) / sizeof((x)[0])) |
Functions | |
static void | js_window_finalize (JSRuntime *rt, JSValue val) |
static void | js_window_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func) |
JSValue | js_window_open (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
JSValue | js_window_setInterval (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
JSValue | js_window_setTimeout (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
JSValue | js_window_clearInterval (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
JSValue | js_window_clearTimeout (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
JSValue | js_window_getComputedStyle (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_window_get_property_closed (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_get_property_event (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_get_property_innerHeight (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_get_property_innerWidth (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_get_property_location (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_set_property_location (JSContext *ctx, JSValueConst this_val, JSValue val) |
static JSValue | js_window_get_property_parent (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_get_property_self (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_get_property_status (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_window_set_property_status (JSContext *ctx, JSValueConst this_val, JSValue val) |
static JSValue | js_window_get_property_top (JSContext *ctx, JSValueConst this_val) |
JSValue | js_window_alert (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_window_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_window_addEventListener (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_window_removeEventListener (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static void | onmessage_run (void *data) |
static JSValue | js_window_postMessage (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
int | js_window_init (JSContext *ctx) |
Variables | |
static JSClassID | js_window_class_id |
struct term_event | last_event |
static const JSCFunctionListEntry | js_window_proto_funcs [] |
static JSClassDef | js_window_class |
#define countof | ( | x | ) | (sizeof(x) / sizeof((x)[0])) |
|
static |
JSValue js_window_alert | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
JSValue js_window_clearInterval | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
JSValue js_window_clearTimeout | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
JSValue js_window_getComputedStyle | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
int js_window_init | ( | JSContext * | ctx | ) |
|
static |
JSValue js_window_open | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
|
static |
|
static |
|
static |
|
static |
JSValue js_window_setInterval | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
JSValue js_window_setTimeout | ( | JSContext * | ctx, |
JSValueConst | this_val, | ||
int | argc, | ||
JSValueConst * | argv ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
extern |