mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Set eol-style property on all files. Future commits will use the subversion auto-props configuration at http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/slave/config
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@109 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1,46 +1,46 @@
|
||||
// Copyright (c) 2008-2009 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.
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include <string>
|
||||
|
||||
#include "base/string_piece.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
namespace WebKit {
|
||||
class WebFrame;
|
||||
class WebString;
|
||||
class WebView;
|
||||
}
|
||||
|
||||
namespace webkit_glue {
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// Capture a bitmap of the web view.
|
||||
void CaptureWebViewBitmap(HWND mainWnd, WebKit::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();
|
||||
|
||||
// This is called indirectly by the network layer to access resources.
|
||||
base::StringPiece NetResourceProvider(int key);
|
||||
|
||||
// Retrieve the V8 context associated with the frame.
|
||||
v8::Handle<v8::Context> GetV8Context(WebKit::WebFrame* frame);
|
||||
|
||||
// Clear all cached data.
|
||||
void ClearCache();
|
||||
|
||||
WebKit::WebString StdStringToWebString(const std::string& str);
|
||||
|
||||
std::string WebStringToStdString(const WebKit::WebString& str);
|
||||
|
||||
} // namespace webkit_glue
|
||||
// Copyright (c) 2008-2009 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.
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include <string>
|
||||
|
||||
#include "base/string_piece.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
namespace WebKit {
|
||||
class WebFrame;
|
||||
class WebString;
|
||||
class WebView;
|
||||
}
|
||||
|
||||
namespace webkit_glue {
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// Capture a bitmap of the web view.
|
||||
void CaptureWebViewBitmap(HWND mainWnd, WebKit::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();
|
||||
|
||||
// This is called indirectly by the network layer to access resources.
|
||||
base::StringPiece NetResourceProvider(int key);
|
||||
|
||||
// Retrieve the V8 context associated with the frame.
|
||||
v8::Handle<v8::Context> GetV8Context(WebKit::WebFrame* frame);
|
||||
|
||||
// Clear all cached data.
|
||||
void ClearCache();
|
||||
|
||||
WebKit::WebString StdStringToWebString(const std::string& str);
|
||||
|
||||
std::string WebStringToStdString(const WebKit::WebString& str);
|
||||
|
||||
} // namespace webkit_glue
|
||||
|
Reference in New Issue
Block a user