⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xbl_docimpl.h

📁 手机浏览器源码程序,功能强大
💻 H
字号:
#include "qptrdict.h"
#include "xml/dom_docimpl.h"

namespace DOM {
    class DOMString;
}

namespace XBL {
    class XBLPrototypeBinding;
    
// This class represents an XBL document.  It subclasses XML documents and holds references to prototype bindings.
// The DOM of an XBL document is optimized to avoid creating full-blown DOM elements for most sections of the various
// bindings.  Custom prototype binding data structures are created instead.
class XBLDocumentImpl: public DOM::DocumentImpl
{
public:
    XBLDocumentImpl();
    ~XBLDocumentImpl();
    
    virtual khtml::XMLHandler* createTokenHandler();

    void setPrototypeBinding(const DOM::DOMString& id, XBLPrototypeBinding* binding);
    XBLPrototypeBinding* prototypeBinding(const DOM::DOMString& id);
    
private:
    // A mapping from URIs to bindings.  Used to look up specific prototype binding objects.
    QDict<XBLPrototypeBinding> m_prototypeBindingTable;
};

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -