|
Lines 53-58
WebKit/win/WebView.cpp_sec1
|
| 53 |
#pragma warning( push, 0 ) |
53 |
#pragma warning( push, 0 ) |
| 54 |
#include <WebCore/ApplicationCacheStorage.h> |
54 |
#include <WebCore/ApplicationCacheStorage.h> |
| 55 |
#include <WebCore/AXObjectCache.h> |
55 |
#include <WebCore/AXObjectCache.h> |
|
|
56 |
#include <WebCore/BitmapInfo.h> |
| 56 |
#include <WebCore/BString.h> |
57 |
#include <WebCore/BString.h> |
| 57 |
#include <WebCore/Cache.h> |
58 |
#include <WebCore/Cache.h> |
| 58 |
#include <WebCore/ContextMenu.h> |
59 |
#include <WebCore/ContextMenu.h> |
|
Lines 687-704
bool WebView::ensureBackingStore()
WebKit/win/WebView.cpp_sec2
|
| 687 |
|
688 |
|
| 688 |
m_backingStoreSize.cx = width; |
689 |
m_backingStoreSize.cx = width; |
| 689 |
m_backingStoreSize.cy = height; |
690 |
m_backingStoreSize.cy = height; |
| 690 |
BITMAPINFO bitmapInfo; |
691 |
BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(IntSize(m_backingStoreSize)); |
| 691 |
bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); |
|
|
| 692 |
bitmapInfo.bmiHeader.biWidth = width; |
| 693 |
bitmapInfo.bmiHeader.biHeight = -height; |
| 694 |
bitmapInfo.bmiHeader.biPlanes = 1; |
| 695 |
bitmapInfo.bmiHeader.biBitCount = 32; |
| 696 |
bitmapInfo.bmiHeader.biCompression = BI_RGB; |
| 697 |
bitmapInfo.bmiHeader.biSizeImage = 0; |
| 698 |
bitmapInfo.bmiHeader.biXPelsPerMeter = 0; |
| 699 |
bitmapInfo.bmiHeader.biYPelsPerMeter = 0; |
| 700 |
bitmapInfo.bmiHeader.biClrUsed = 0; |
| 701 |
bitmapInfo.bmiHeader.biClrImportant = 0; |
| 702 |
|
692 |
|
| 703 |
void* pixels = NULL; |
693 |
void* pixels = NULL; |
| 704 |
m_backingStoreBitmap.set(::CreateDIBSection(NULL, &bitmapInfo, DIB_RGB_COLORS, &pixels, NULL, 0)); |
694 |
m_backingStoreBitmap.set(::CreateDIBSection(NULL, &bitmapInfo, DIB_RGB_COLORS, &pixels, NULL, 0)); |