mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-23 23:47:43 +01:00
- Fix problem displaying select lists due to ordering of focus events in WebWidgetHost::MouseEvent() (issue #17). - Add new BrowserWebKitInit class and related webkit_glue changes. - Add webkit_glue::InitializeTextEncoding() function called from the main thread in CefContext::Initialize() to avoid an assert in third_party\WebKit\WebCore\platform\text\TextEncodingRegistry.cpp buildBaseTextCodecMaps(). - V8NPObject::v8_object member renamed to V8NPObject::v8Object. - Add WebKit project dependency. libcef_dll: - Fix crash when creating a popup window due to not duplicating the m_windowName member in cpptoc\handler_cpptoc.cc handler_handle_before_created(). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@17 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
28 lines
853 B
C++
28 lines
853 B
C++
// Copyright (c) 2008 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
// can be found in the LICENSE file.
|
|
|
|
#include <string>
|
|
|
|
class WebFrame;
|
|
class WebView;
|
|
|
|
namespace webkit_glue {
|
|
|
|
// Return the HTML contents of a web frame as a string
|
|
std::string GetDocumentString(WebFrame* frame);
|
|
|
|
#if defined(OS_WIN)
|
|
// Capture a bitmap of the web view.
|
|
void CaptureWebViewBitmap(HWND mainWnd, WebView* webview, HBITMAP& bitmap,
|
|
SIZE& size);
|
|
|
|
// Save a bitmap image to file, providing optional alternative data in |lpBits|
|
|
BOOL SaveBitmapToFile(HBITMAP hBmp, HDC hDC, LPCTSTR file, LPBYTE lpBits);
|
|
#endif
|
|
|
|
// Text encoding objects must be initialized on the main thread.
|
|
void InitializeTextEncoding();
|
|
|
|
} // namespace webkit_glue
|