- Add createGraphicsContext3D() method which is required for WebGL support.
- Add debug mode check that CefDownloadHandler objects are being cleaned up properly. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@118 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
9aa285ac8d
commit
4c0ccb6768
|
@ -17,6 +17,7 @@
|
|||
#include "webkit/extensions/v8/gears_extension.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebData.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebGraphicsContext3D.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebKit.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h"
|
||||
|
@ -212,6 +213,10 @@ class BrowserWebKitInit : public webkit_glue::WebKitClientImpl {
|
|||
keys_out.swap(keys);
|
||||
}
|
||||
|
||||
virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() {
|
||||
return WebKit::WebGraphicsContext3D::createDefault();
|
||||
}
|
||||
|
||||
private:
|
||||
webkit_glue::SimpleWebMimeRegistryImpl mime_registry_;
|
||||
webkit_glue::WebClipboardImpl clipboard_;
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "cpptoc/stream_reader_cpptoc.h"
|
||||
#include "cpptoc/stream_writer_cpptoc.h"
|
||||
#include "cpptoc/v8value_cpptoc.h"
|
||||
#include "ctocpp/download_handler_ctocpp.h"
|
||||
#include "ctocpp/handler_ctocpp.h"
|
||||
#include "ctocpp/read_handler_ctocpp.h"
|
||||
#include "ctocpp/scheme_handler_ctocpp.h"
|
||||
|
@ -46,6 +47,7 @@ CEF_EXPORT void cef_shutdown()
|
|||
DCHECK(CefStreamReaderCppToC::DebugObjCt == 0);
|
||||
DCHECK(CefStreamWriterCppToC::DebugObjCt == 0);
|
||||
DCHECK(CefV8ValueCppToC::DebugObjCt == 0);
|
||||
DCHECK(CefDownloadHandlerCToCpp::DebugObjCt == 0);
|
||||
DCHECK(CefHandlerCToCpp::DebugObjCt == 0);
|
||||
DCHECK(CefReadHandlerCToCpp::DebugObjCt == 0);
|
||||
DCHECK(CefSchemeHandlerCToCpp::DebugObjCt == 0);
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "include/cef_capi.h"
|
||||
#include "include/cef_nplugin.h"
|
||||
#include "include/cef_nplugin_capi.h"
|
||||
#include "libcef_dll/cpptoc/download_handler_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/handler_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/read_handler_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/scheme_handler_cpptoc.h"
|
||||
|
@ -35,6 +36,7 @@ void CefShutdown()
|
|||
|
||||
#ifdef _DEBUG
|
||||
// Check that all wrapper objects have been destroyed
|
||||
DCHECK(CefDownloadHandlerCppToC::DebugObjCt == 0);
|
||||
DCHECK(CefHandlerCppToC::DebugObjCt == 0);
|
||||
DCHECK(CefReadHandlerCppToC::DebugObjCt == 0);
|
||||
DCHECK(CefSchemeHandlerCppToC::DebugObjCt == 0);
|
||||
|
|
Loading…
Reference in New Issue