亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? kjs_html.h

?? It is WEB browser core module with source code. Very good!
?? H
?? 第 1 頁 / 共 2 頁
字號(hào):
// -*- c-basic-offset: 2 -*-
/*
 *  This file is part of the KDE libraries
 *  Copyright (C) 1999 Harri Porten (porten@kde.org)
 *  Copyright (C) 2004 Apple Computer, Inc.
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef _KJS_HTML_H_
#define _KJS_HTML_H_

#include "dom/html_document.h"
#include "dom/html_base.h"
#include "dom/html_misc.h"
#include "dom/html_form.h"
#include "misc/loader_client.h"

#include "ecma/kjs_binding.h"
#include "ecma/kjs_dom.h"

#include <qguardedptr.h>

#if !NOKIA_CHANGES
#include <ApplicationServices/ApplicationServices.h>
#endif

class HTMLElement;

namespace KJS {

  class JSAbstractEventListener;

  class HTMLDocument : public DOMDocument {
  public:
    HTMLDocument(ExecState *exec, const DOM::HTMLDocument &d) : DOMDocument(exec, d) { }
    virtual Value tryGet(ExecState *exec, const Identifier &propertyName) const;
    virtual void tryPut(ExecState *exec, const Identifier &propertyName, const Value& value, int attr = None);
    void putValue(ExecState *exec, int token, const Value& value, int /*attr*/);
    virtual bool hasProperty(ExecState *exec, const Identifier &propertyName) const;
    virtual const ClassInfo* classInfo() const { return &info; }
    static const ClassInfo info;
    enum { Title, Referrer, Domain, URL, Body, Location, Cookie,
           Images, Applets, Embeds, Links, Forms, Anchors, Scripts, All, Clear, Open, Close,
           Write, WriteLn, GetElementsByName, CaptureEvents, ReleaseEvents,
           BgColor, FgColor, AlinkColor, LinkColor, VlinkColor, LastModified, Height, Width, Dir, DesignMode };
    DOM::Document toDocument() const { return static_cast<DOM::Document>( node ); }
  };

  class HTMLElement : public DOMElement {
  public:
    HTMLElement(ExecState *exec, const DOM::HTMLElement &e) : DOMElement(exec, e) { }
    virtual Value tryGet(ExecState *exec, const Identifier &propertyName) const;
    Value getValueProperty(ExecState *exec, int token) const;
    virtual void tryPut(ExecState *exec, const Identifier &propertyName, const Value& value, int attr = None);
    void putValue(ExecState *exec, int token, const Value& value, int);
    virtual bool hasProperty(ExecState *exec, const Identifier &propertyName) const;
    virtual UString toString(ExecState *exec) const;
    virtual void pushEventHandlerScope(ExecState *exec, ScopeChain &scope) const;
    virtual const ClassInfo* classInfo() const;
    static const ClassInfo info;

#if APPLE_CHANGES
    virtual Value call(ExecState *exec, Object &thisObj, const List&args);
    virtual bool implementsCall() const;
#endif

    static const ClassInfo html_info, head_info, link_info, title_info,
      meta_info, base_info, isIndex_info, style_info, body_info, form_info,
      select_info, optGroup_info, option_info, input_info, textArea_info,
      button_info, label_info, fieldSet_info, legend_info, ul_info, ol_info,
      dl_info, dir_info, menu_info, li_info, div_info, p_info, heading_info,
      blockQuote_info, q_info, pre_info, br_info, baseFont_info, font_info,
      hr_info, mod_info, a_info, canvas_info, img_info, object_info, param_info,
      applet_info, map_info, area_info, script_info, table_info,
      caption_info, col_info, tablesection_info, tr_info,
      tablecell_info, frameSet_info, frame_info, iFrame_info, marquee_info;

    enum { HtmlVersion, HeadProfile, LinkHref, LinkRel, LinkMedia,
           LinkCharset, LinkDisabled, LinkHrefLang, LinkRev, LinkTarget, LinkType,
           LinkSheet, TitleText, MetaName, MetaHttpEquiv, MetaContent, MetaScheme,
           BaseHref, BaseTarget, IsIndexForm, IsIndexPrompt, StyleDisabled,
           StyleSheet, StyleType, StyleMedia, BodyBackground, BodyVLink, BodyText,
           BodyLink, BodyALink, BodyBgColor, BodyScrollLeft, BodyScrollTop, BodyScrollHeight, BodyScrollWidth,
           FormAction, FormEncType, FormElements, FormLength, FormAcceptCharset,
           FormReset, FormTarget, FormName, FormMethod, FormSubmit, SelectAdd,
           SelectTabIndex, SelectValue, SelectSelectedIndex, SelectLength,
           SelectRemove, SelectForm, SelectBlur, SelectType, SelectOptions,
           SelectDisabled, SelectMultiple, SelectName, SelectSize, SelectFocus,
           OptGroupDisabled, OptGroupLabel, OptionIndex, OptionSelected,
           OptionForm, OptionText, OptionDefaultSelected, OptionDisabled,
           OptionLabel, OptionValue, InputBlur, InputReadOnly, InputAccept,
           InputSize, InputDefaultValue, InputTabIndex, InputValue, InputType,
           InputFocus, InputMaxLength, InputDefaultChecked, InputDisabled,
           InputChecked, InputForm, InputAccessKey, InputAlign, InputAlt,
           InputName, InputSrc, InputUseMap, InputSelect, InputClick,
           TextAreaAccessKey, TextAreaName, TextAreaDefaultValue, TextAreaSelect,
           TextAreaCols, TextAreaDisabled, TextAreaForm, TextAreaType,
           TextAreaTabIndex, TextAreaReadOnly, TextAreaRows, TextAreaValue,
           TextAreaBlur, TextAreaFocus, ButtonForm, ButtonTabIndex, ButtonName,
           ButtonDisabled, ButtonAccessKey, ButtonType, ButtonValue, LabelHtmlFor,
           LabelForm, LabelAccessKey, FieldSetForm, LegendForm, LegendAccessKey,
           LegendAlign, UListType, UListCompact, OListStart, OListCompact,
           OListType, DListCompact, DirectoryCompact, MenuCompact, LIType,
           LIValue, DivAlign, ParagraphAlign, HeadingAlign, BlockQuoteCite,
           QuoteCite, PreWidth, BRClear, BaseFontColor, BaseFontSize,
           BaseFontFace, FontColor, FontSize, FontFace, HRWidth, HRNoShade,
           HRAlign, HRSize, ModCite, ModDateTime, AnchorShape, AnchorRel,
           AnchorAccessKey, AnchorCoords, AnchorHref, AnchorProtocol, AnchorHost,
           AnchorCharset, AnchorHrefLang, AnchorHostname, AnchorType, AnchorFocus,
           AnchorPort, AnchorPathName, AnchorHash, AnchorSearch, AnchorName,
           AnchorRev, AnchorTabIndex, AnchorTarget, AnchorText, AnchorBlur, AnchorToString, 
           ImageName, ImageAlign, ImageHspace, ImageVspace, ImageUseMap, ImageAlt,
           ImageLowSrc, ImageWidth, ImageIsMap, ImageBorder, ImageHeight,
           ImageLongDesc, ImageSrc, ImageX, ImageY, ObjectHspace, ObjectHeight, ObjectAlign,
           ObjectBorder, ObjectCode, ObjectType, ObjectVspace, ObjectArchive,
           ObjectDeclare, ObjectForm, ObjectCodeBase, ObjectCodeType, ObjectData,
           ObjectName, ObjectStandby, ObjectTabIndex, ObjectUseMap, ObjectWidth, ObjectContentDocument,
           ParamName, ParamType, ParamValueType, ParamValue, AppletArchive,
           AppletAlt, AppletCode, AppletWidth, AppletAlign, AppletCodeBase,
           AppletName, AppletHeight, AppletHspace, AppletObject, AppletVspace,
           MapAreas, MapName, AreaHash, AreaHref, AreaTarget, AreaPort, AreaShape,
           AreaCoords, AreaAlt, AreaAccessKey, AreaNoHref, AreaHost, AreaProtocol,
           AreaHostName, AreaPathName, AreaSearch, AreaTabIndex, ScriptEvent,
           ScriptType, ScriptHtmlFor, ScriptText, ScriptSrc, ScriptCharset,
           ScriptDefer, TableSummary, TableTBodies, TableTHead, TableCellPadding,
           TableDeleteCaption, TableCreateCaption, TableCaption, TableWidth,
           TableCreateTFoot, TableAlign, TableTFoot, TableDeleteRow,
           TableCellSpacing, TableRows, TableBgColor, TableBorder, TableFrame,
           TableRules, TableCreateTHead, TableDeleteTHead, TableDeleteTFoot,
           TableInsertRow, TableCaptionAlign, TableColCh, TableColChOff,
           TableColAlign, TableColSpan, TableColVAlign, TableColWidth,
           TableSectionCh, TableSectionDeleteRow, TableSectionChOff,
           TableSectionRows, TableSectionAlign, TableSectionVAlign,
           TableSectionInsertRow, TableRowSectionRowIndex, TableRowRowIndex,
           TableRowChOff, TableRowCells, TableRowVAlign, TableRowCh,
           TableRowAlign, TableRowBgColor, TableRowDeleteCell, TableRowInsertCell,
           TableCellColSpan, TableCellNoWrap, TableCellAbbr, TableCellHeight,
           TableCellWidth, TableCellCellIndex, TableCellChOff, TableCellBgColor,
           TableCellCh, TableCellVAlign, TableCellRowSpan, TableCellHeaders,
           TableCellAlign, TableCellAxis, TableCellScope, FrameSetCols,
           FrameSetRows, FrameSrc, FrameLocation, FrameFrameBorder, FrameScrolling,
           FrameMarginWidth, FrameLongDesc, FrameMarginHeight, FrameName, FrameContentDocument, FrameContentWindow, 
           FrameNoResize, IFrameLongDesc, IFrameDocument, IFrameAlign,
           IFrameFrameBorder, IFrameSrc, IFrameName, IFrameHeight,
           IFrameMarginHeight, IFrameMarginWidth, IFrameScrolling, IFrameWidth, IFrameContentDocument, IFrameContentWindow,
           MarqueeStart, MarqueeStop,
           GetContext,
           ElementInnerHTML, ElementTitle, ElementId, ElementDir, ElementLang,
           ElementClassName, ElementInnerText, ElementDocument, ElementChildren, ElementContentEditable,
           ElementIsContentEditable, ElementOuterHTML, ElementOuterText};

    DOM::HTMLElement toElement() const { return static_cast<DOM::HTMLElement>(node); }
  };


  class HTMLElementFunction : public DOMFunction {
  public:
    HTMLElementFunction(ExecState *exec, int i, int len);
    virtual Value tryCall(ExecState *exec, Object &thisObj, const List&args);
  private:
    int id;
  };

  class HTMLCollection : public DOMObject {
  public:
    HTMLCollection(ExecState *exec, const DOM::HTMLCollection &c);
    ~HTMLCollection();
    virtual Value tryGet(ExecState *exec, const Identifier &propertyName) const;
    virtual Value call(ExecState *exec, Object &thisObj, const List&args);
    virtual Value tryCall(ExecState *exec, Object &thisObj, const List&args);
    virtual bool implementsCall() const { return true; }
    virtual bool toBoolean(ExecState *) const { return true; }
    virtual bool hasProperty(ExecState *exec, const Identifier &p) const;
    enum { Item, NamedItem, Tags };
    Value getNamedItems(ExecState *exec, const Identifier &propertyName) const;
    virtual const ClassInfo* classInfo() const { return &info; }
    static const ClassInfo info;
    DOM::HTMLCollection toCollection() const { return collection; }
  protected:
    DOM::HTMLCollection collection;
  };

  class HTMLSelectCollection : public HTMLCollection {
  public:
    HTMLSelectCollection(ExecState *exec, const DOM::HTMLCollection &c, const DOM::HTMLSelectElement &e)
      : HTMLCollection(exec, c), element(e) { }
    virtual Value tryGet(ExecState *exec, const Identifier &propertyName) const;
    virtual void tryPut(ExecState *exec, const Identifier &propertyName, const Value& value, int attr = None);
  private:
    DOM::HTMLSelectElement element;
  };

  ////////////////////// Option Object ////////////////////////

  class OptionConstructorImp : public ObjectImp {
  public:

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜精品久久久久久久久| 亚洲精品在线一区二区| 亚洲日本欧美天堂| 成人免费高清在线观看| 亚洲欧洲av另类| 91视频精品在这里| 一区二区三区美女| 欧美视频一区二区| 美女一区二区三区在线观看| 亚洲图片你懂的| 在线观看日韩电影| 日本亚洲视频在线| 精品久久久久av影院| 国产精品1区2区3区| 中文字幕在线不卡| 欧美三级三级三级| 日本v片在线高清不卡在线观看| 欧美一区二区三区在线视频| 国产尤物一区二区| 综合久久一区二区三区| 在线不卡a资源高清| 国产福利精品导航| 亚洲在线成人精品| 精品成人在线观看| 91麻豆文化传媒在线观看| 日韩主播视频在线| 国产日韩欧美麻豆| 欧美亚洲综合网| 激情综合色播激情啊| 中文字幕视频一区二区三区久| 欧美日韩精品一区二区三区蜜桃| 日本女人一区二区三区| 1024成人网| 日韩欧美在线影院| 91丝袜美女网| 久久精品国产99国产精品| 国产精品久久久久久久久动漫| 91.xcao| 国产a精品视频| 日韩电影免费一区| 亚洲色图在线看| 精品美女被调教视频大全网站| 一本色道a无线码一区v| 国产在线看一区| 亚洲精选在线视频| 国产免费观看久久| 亚洲国产日产av| 国产日韩精品久久久| 欧美一区二区成人6969| 色香蕉久久蜜桃| 国产精品亚洲а∨天堂免在线| 日韩av电影天堂| 一区二区三区四区高清精品免费观看| 亚洲精品在线一区二区| 777xxx欧美| 色噜噜狠狠一区二区三区果冻| 国产一区二区三区久久久 | 99re8在线精品视频免费播放| 日本不卡在线视频| 亚洲综合丝袜美腿| 国产精品无遮挡| 久久久久久久综合色一本| 欧美美女一区二区三区| 欧美色图一区二区三区| av中文字幕在线不卡| 国产精品亚洲а∨天堂免在线| 麻豆一区二区在线| 日本欧美在线看| 五月天国产精品| 亚洲图片欧美一区| 亚洲一二三四久久| 亚洲一区二区三区四区中文字幕| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 亚洲人亚洲人成电影网站色| 国产精品免费丝袜| 久久久久久久久久久久久久久99 | 中文字幕在线一区| 中文字幕成人在线观看| 欧美韩日一区二区三区| 日本一区二区成人| 欧美国产日韩精品免费观看| 国产欧美一区二区精品性色| 久久久久亚洲蜜桃| 国产日产精品一区| 亚洲婷婷综合久久一本伊一区| 亚洲免费在线视频一区 二区| 亚洲伊人伊色伊影伊综合网| 午夜影视日本亚洲欧洲精品| 日本中文字幕不卡| 国产乱码精品一品二品| 成人免费高清在线观看| 色偷偷88欧美精品久久久| 欧美日韩色一区| 日韩欧美在线观看一区二区三区| 久久综合99re88久久爱| 国产精品女主播在线观看| 亚洲精品视频在线观看网站| 午夜私人影院久久久久| 美女精品一区二区| 成人综合日日夜夜| 91麻豆.com| 日韩一级黄色大片| 国产亚洲短视频| 国产精品一区二区黑丝| 国产电影一区在线| 一区二区三区中文在线观看| 亚洲精品乱码久久久久| 麻豆精品蜜桃视频网站| 久久精品国产精品亚洲红杏 | 日韩中文字幕1| 蜜桃av噜噜一区| 韩国一区二区三区| 国产成人综合自拍| 成人av动漫在线| 91蜜桃视频在线| 本田岬高潮一区二区三区| 欧美精品在线一区二区| 精品sm捆绑视频| 欧美高清一级片在线观看| 亚洲免费av高清| 日韩精品一级二级 | 中文字幕不卡在线播放| 亚洲摸摸操操av| 丝袜a∨在线一区二区三区不卡| 蜜桃视频第一区免费观看| 国产精品中文欧美| 欧美色涩在线第一页| 欧美大胆一级视频| 久久久综合精品| 亚洲一区二区三区自拍| 蜜桃av一区二区三区电影| 91激情在线视频| 日韩色视频在线观看| 日本一二三不卡| 亚洲第一主播视频| 狠狠网亚洲精品| 这里是久久伊人| 欧美国产一区二区在线观看| 亚洲资源中文字幕| 激情另类小说区图片区视频区| 成人午夜电影小说| 精品日韩在线观看| 亚洲精品视频一区| 紧缚捆绑精品一区二区| 91免费视频网址| 日韩欧美成人激情| 国产精品区一区二区三区| 麻豆91在线播放| 99麻豆久久久国产精品免费| 欧美日韩国产不卡| 中文字幕五月欧美| 精品一区二区三区在线播放| 欧美肥大bbwbbw高潮| 亚洲欧洲日产国码二区| 久久99精品一区二区三区| 在线视频一区二区免费| 国产清纯白嫩初高生在线观看91 | 亚洲欧美电影一区二区| 国产一区二三区| 91精品一区二区三区久久久久久 | 亚洲成a人v欧美综合天堂下载| 福利一区二区在线| 欧美一级生活片| 男男gaygay亚洲| 欧美私人免费视频| 亚洲视频在线观看三级| 欧美三级在线播放| 日本一区二区三区四区在线视频 | 久久精品国产第一区二区三区| 欧美日韩专区在线| 亚洲欧美日韩综合aⅴ视频| 国产一区二区三区免费看 | 精品欧美乱码久久久久久| 亚洲一区在线视频| 色香蕉久久蜜桃| 中文字幕一区二区三区在线不卡| 成人av电影在线| 中文文精品字幕一区二区| 国产一本一道久久香蕉| 精品久久一区二区| 久久福利资源站| 久久综合999| 国产999精品久久久久久绿帽| 日韩午夜中文字幕| 麻豆精品国产91久久久久久| 欧美精品1区2区| 国产原创一区二区| 国产三级欧美三级| 国产美女一区二区三区| 久久久久久久久久久黄色| 99国产精品久久| 亚洲黄色性网站| 欧美亚州韩日在线看免费版国语版| 亚洲乱码国产乱码精品精98午夜| 51午夜精品国产| 国产一区二区网址| 国产调教视频一区| 成人理论电影网| 亚洲成在线观看| 欧美一级免费大片|