mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef:
- Fix ASSERT in CefBrowserImpl::UIT_GetPagesCount() when no default printer is configured (Issue #20). - Remove non-existent WebFrame objects while iterating over the bound object list in CefJSContainer::BindToJavascript(). WebFrame objects are destroyed when navigating from a page with more frames to a page with less frames. If we don't remove the non-existent frames they will remain in the list until the browser window is destroyed. - Don't call UIT_* functions from class destructors as destruction may occur on a different thread. libcef: Update due to underlying chromium changes. - Header file locations changed from third_party/WebKit/WebKit to webkit/api as a result of WebKit unforking. - Project file locations changed due to GYP now being used for WebKit builds. - Add simple_clipboard_impl.cc in the libcef directory because it has been moved from webkit/glue to test_shell. - Changes related to navigation. - New parameters added to WebViewDelegate methods. libcef_dll: Update due to underlying chromium changes. - webkit_resources.rc and webkit_strings_en-US.rc moved from grit_derived_sources to obj/global_intermediate/webkit. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@24 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -23,10 +23,10 @@
|
||||
#include "base/string_util.h"
|
||||
#include "base/trace_event.h"
|
||||
#include "net/base/net_errors.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebDragData.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebKit.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
|
||||
#include "webkit/api/public/WebDragData.h"
|
||||
#include "webkit/api/public/WebKit.h"
|
||||
#include "webkit/api/public/WebScreenInfo.h"
|
||||
#include "webkit/api/public/WebString.h"
|
||||
#include "webkit/glue/webdatasource.h"
|
||||
#include "webkit/glue/webdropdata.h"
|
||||
#include "webkit/glue/weberror.h"
|
||||
@@ -62,7 +62,8 @@ int next_page_id_ = 1;
|
||||
// WebViewDelegate -----------------------------------------------------------
|
||||
|
||||
WebView* BrowserWebViewDelegate::CreateWebView(WebView* webview,
|
||||
bool user_gesture) {
|
||||
bool user_gesture,
|
||||
const GURL& creator_url) {
|
||||
CefRefPtr<CefBrowserImpl> browser =
|
||||
browser_->UIT_CreatePopupWindow(std::wstring());
|
||||
return browser.get() ? browser->UIT_GetWebView() : NULL;
|
||||
@@ -460,13 +461,8 @@ void BrowserWebViewDelegate::DidEndEditing() {
|
||||
|
||||
}
|
||||
|
||||
WebHistoryItem* BrowserWebViewDelegate::GetHistoryEntryAtOffset(int offset) {
|
||||
BrowserNavigationEntry* entry = static_cast<BrowserNavigationEntry*>(
|
||||
browser_->UIT_GetNavigationController()->GetEntryAtOffset(offset));
|
||||
if (!entry)
|
||||
return NULL;
|
||||
|
||||
return entry->GetHistoryItem();
|
||||
void BrowserWebViewDelegate::NavigateBackForwardSoon(int offset) {
|
||||
browser_->UIT_GetNavigationController()->GoToOffset(offset);
|
||||
}
|
||||
|
||||
int BrowserWebViewDelegate::GetHistoryBackListCount() {
|
||||
|
Reference in New Issue
Block a user