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

📄 xbl_protobinding.h

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

namespace DOM
{
    class ElementImpl;
    class DOMString;
}

namespace XBL
{
    class XBLDocumentImpl;
    class XBLPrototypeHandler;
    
class XBLPrototypeBinding
OOM_MODIFIED
{
public:
    XBLPrototypeBinding(const DOM::DOMString& bindingID, DOM::ElementImpl* bindingElt);
    void initialize(); // Called once the binding and all its child elements have been parsed.
    
    XBLDocumentImpl* document() const;
    DOM::ElementImpl* element() const { return m_element; }
    
    void setHandler(XBLPrototypeHandler* handler) { m_handler = handler; }
    XBLPrototypeHandler* handler() const { return m_handler; }
    
    void addResource(const DOM::DOMString& type, const DOM::DOMString& src);

private:
    DOM::DOMString m_id;
    DOM::ElementImpl* m_element;
    
    XBLPrototypeHandler* m_handler; // Our event handlers (prototypes).
};

}

⌨️ 快捷键说明

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