mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add CefWebURLRequest implementation (issue #51).
- Default new CefRequest objects to the "GET" method. - Send URL and title change notifications for CefFrame::LoadString(). - Disable the RequestTest.HistoryNav test which requires WebKit patches. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@184 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "third_party/WebKit/Source/WebCore/config.h"
|
||||
MSVC_PUSH_WARNING_LEVEL(0);
|
||||
#include "DocumentLoader.h"
|
||||
#include "MemoryCache.h"
|
||||
#include "TextEncoding.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/src/WebFrameImpl.h"
|
||||
@@ -121,6 +122,14 @@ FrameLoadType GetFrameLoadType(WebKit::WebFrame* frame)
|
||||
return FLT_UNKNOWN;
|
||||
}
|
||||
|
||||
bool FrameHasSubsituteData(WebKit::WebFrame* frame)
|
||||
{
|
||||
WebFrameImpl* webFrameImpl = static_cast<WebFrameImpl*>(frame);
|
||||
WebCore::DocumentLoader* docLoader =
|
||||
webFrameImpl->frame()->loader()->documentLoader();
|
||||
return docLoader->substituteData().isValid();
|
||||
}
|
||||
|
||||
void CloseIdleConnections() {
|
||||
// Used in benchmarking, Ignored for CEF.
|
||||
}
|
||||
|
Reference in New Issue
Block a user