mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add the ability to (issue #236):
1. Disable pack file loading via CefSettings.pack_loading_disabled. 2. Customize pack file load paths via CefSettings.pack_file_path and CefSettings.locales_dir_path. 3. Provide custom resource bundle handling via CefResourceBundleHandler. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@501 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
#include <sys/param.h>
|
||||
|
||||
#include "libcef/browser_impl.h"
|
||||
#include "libcef/browser_webkit_glue.h"
|
||||
#import "libcef/browser_webview_mac.h"
|
||||
#include "libcef/cef_context.h"
|
||||
#include "libcef/drag_download_util.h"
|
||||
#include "libcef/download_util.h"
|
||||
#import "libcef/web_drag_source_mac.h"
|
||||
@@ -143,7 +143,7 @@ void PromiseWriterTask::Run() {
|
||||
|
||||
if (image == nil) {
|
||||
// No drag image was provided so create one.
|
||||
FilePath path = webkit_glue::GetResourcesFilePath();
|
||||
FilePath path = _Context->GetResourcesFilePath();
|
||||
path = path.AppendASCII("urlIcon.png");
|
||||
image = [[NSImage alloc]
|
||||
initWithContentsOfFile:SysUTF8ToNSString(path.value())];
|
||||
|
Reference in New Issue
Block a user