构造 HTML/XML tokenizer
[HTML]Document::createTokenizer()
[HTML]Document::implicitOpen()
FrameLoader::begin(const KURL&, bool dispatch, SecurityOrigin*)
FrameLoader::receivedFirstData()
Tokenizing HTML/XML document
From the moment, piece by piece of an HTML document is obtained from the network, this is what happens:
[HTML,XML]Tokenizer::write(const SegmentedString& str, bool appendData)
FrameLoader::write(const char* data, int len, bool flush)
FrameLoader::addData(const char* bytes, int length)
FrameLoaderClientQt::committedLoad(DocumentLoader* loader, const char* data, int length)
FrameLoader::committedLoad(DocumentLoader* loader, const char* data, int length)
DocumentLoader::commitLoad(const char* data, int length)
DocumentLoader::receivedData(const char* data, int length)
FrameLoader::receivedData(const char* data, int length)
MainResourceLoader::addData(const char* data, int length, bool allAtOnce)
ResourceLoader::didReceivedData(const char* data, int length, long long received, bool allAtOnce)
ResourceLoader::didReceiveData(ResourceHandle*, const char* data, int len, long long received)
绘制一个push按钮
RenderTheme[Gtk,Wx,Qt]::paintButton(RenderObject*, const RenderObject::PaintInfo&, const IntRect&)
RenderTheme::paint(RenderObject*, const RenderObject::PaintInfo&, const IntRect&)
RenderBox::paintBoxDecorations(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintObject(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
InlineBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
InlineFlowBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RootInlineBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderLineBoxList::paint(RenderBoxModelObject* renderer, RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintContents(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintObject(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintChildren(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintContents(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintObject(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintChildren(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintContents(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paintObject(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderBlock::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
RenderLayer::paintLayer(RenderLayer*, GraphicsContext*, const IntRect& paintDirtyRect,
PaintRestriction paintRestriction, RenderObject* paintingRoot,
RenderObject::OverlapTestRequestMap* overlapTestRequests, PaintLayerFlags paintFlags)
RenderLayer::paint(GraphicsContext* p, const IntRect& damageRect, PaintRestriction paintRestriction, RenderObject *paintingRoot)
FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
ScrollView::paint(GraphicsContext* p, const IntRect& rect)
解码图片
Shown here for the Qt port, might vary a bit for other ports.
ImageDecoderQt::setData(const IncomingData &data, bool allDataReceived)
ImageSource::setData(SharedBuffer* data, bool allDataReceived)
BitmapImage::dataChanged(bool allDataReceived)
Image::setData(PassRefPtr<SharedBuffer> data, bool allDataReceived)
CachedImage::data(PassRefPtr<SharedBuffer> data, bool allDataReceived)
Loader::Host::didReceiveData(SubresourceLoader* loader, const char* data, int size)
SubresourceLoader::didReceiveData(const char* data, int length, long long lengthReceived, bool allAtOnce)
ResourceLoader::didReceiveData(ResourceHandle*, const char* data, int length, int lengthReceived)
G获取网络数据
Shown here for the Qt port, might vary a bit for other ports.
QNetworkReplyHandler::start()
QNetworkReplyHandler(ResourceHandle* handle, LoadMode loadMode)
ResourceHandle::start(Frame* frame)
ResourceHandle::create(const ResourceRequest& request, ResourceHandleClient* client,
Frame* frame, bool defersLoading, bool shouldContentSniff, bool mightDownloadFromHandle)
MainResourceLoader::loadNow(ResourceRequest& r)
MainResourceLoader::load(const ResourceRequest& r, const SubstituteData& substituteData)
DocumentLoader::startLoadingMainResource(unsigned long identifier)
FrameLoader::continueLoadAfterWillSubmitForm(PolicyAction)
FrameLoader::continueLoadAfterNavigationPolicy(const ResourceRequest&, PassRefPtr<FormState> formState, bool shouldContinue)
FrameLoader::callContinueLoadAfterNavigationPolicy(void* argument,
const ResourceRequest& request, PassRefPtr<FormState> formState, bool shouldContinue)
PolicyCheck::call(bool shouldContinue)
FrameLoader::continueAfterNavigationPolicy(PolicyAction policy)
FrameLoaderClientQt::callPolicyFunction(FramePolicyFunction function, PolicyAction action)
FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(FramePolicyFunction function,
const WebCore::NavigationAction& action, const WebCore::ResourceRequest& request,
PassRefPtr<WebCore::FormState>)
FrameLoader::checkNavigationPolicy(const ResourceRequest& request, DocumentLoader* loader,
PassRefPtr<FormState> formState, NavigationPolicyDecisionFunction function, void* argument)
FrameLoader::loadWithDocumentLoader(DocumentLoader* loader, FrameLoadType type, PassRefPtr<FormState> prpFormState)
FrameLoader::load(DocumentLoader* newDocumentLoader)
FrameLoader::load(const ResourceRequest& request, const String& frameName, bool lockHistory)
FrameLoader::load(const ResourceRequest& request, bool lockHistory)
QWebFrame::load(const QNetworkRequest &req, QNetworkAccessManager::Operation operation,
const QByteArray &body)
QWebFrame::load(const QUrl &url)
分享到:
相关推荐
webkit介绍与代码结构ppt,简单的介绍了下webkit的特点与代码结构
demo说明:C#加载webkit作为内置浏览器,并实现了winform与html页面的相互调用。
webkit开发学习笔记(全面)_第一版 webkit内核源代码分析(1)
webkit的代码分析资料。包括很多介绍webkit的资料
webkit内核源代码分析,WebKit,WebCore::Frame
c# winform webkit C# 调用webkit
webkit-webview代码
webkit源代码阅读笔记 。。
本系列通过分析WebKit的源代码,试图分析WebKit的内核设计架构,模块之间的关系,分析时以QT的移植为参考,涉及移植的东西不多,主要还是以内核为主。FrameLoader类负责一个Frame的加载,在Frame的流程中起到非常...
WebKit源代码结构,更好的了解webkit,更好的用于webkit开发
webkit内核源代码分析,WebCore::FrameLoader,webkit
WebKit 内核源代码分析 很深入。 网上找的,贡献出来。共分5个文档。
Android 浏览器(基于WebKit)的源代码
webkit落叶效果是一款基于jquery实现的动态树叶飘落效果。 webkit落叶效果代码
WebKit加载网页的流程
WebKit-r124698.tar.bz2从官网上下载的。
本资源是对Webkit内核源代码分析,相应的接口,API什么的,值得大家一看!
android 中的webkit介绍,有需要的可以看看