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

📄 xbl_protobinding.cpp

📁 手机浏览器源码程序,功能强大
💻 CPP
字号:
#ifndef KHTML_NO_XBL

#include "xbl_protobinding.h"
#include "xbl_docimpl.h"

using DOM::DOMString;
using DOM::ElementImpl;

namespace XBL
{

XBLPrototypeBinding::XBLPrototypeBinding(const DOMString& id, ElementImpl* elt)
:m_id(id), m_element(elt), m_handler(0)
{
    // Add ourselves to the document's prototype table.
    document()->setPrototypeBinding(id, this);
}

void XBLPrototypeBinding::initialize()
{
}

XBLDocumentImpl* XBLPrototypeBinding::document() const
{
    return static_cast<XBLDocumentImpl*>(m_element->getDocument());
}

void XBLPrototypeBinding::addResource(const DOMString& type, const DOMString& src)
{
    // FIXME: Implement!
}

}

#endif

⌨️ 快捷键说明

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