| Index: webkit/port/platform/chromium/ChromiumBridge.h
|
| ===================================================================
|
| --- webkit/port/platform/chromium/ChromiumBridge.h (revision 6035)
|
| +++ webkit/port/platform/chromium/ChromiumBridge.h (working copy)
|
| @@ -41,6 +41,7 @@
|
| typedef struct NPObject NPObject;
|
|
|
| #if PLATFORM(WIN_OS)
|
| +#include <windows.h>
|
| typedef struct HFONT__* HFONT;
|
| #endif
|
|
|
| @@ -48,6 +49,7 @@
|
| class Cursor;
|
| class Document;
|
| class Frame;
|
| + class GraphicsContext;
|
| class Image;
|
| class IntRect;
|
| class KURL;
|
| @@ -86,6 +88,20 @@
|
| // Forms --------------------------------------------------------------
|
| static void notifyFormStateChanged(const Document* doc);
|
|
|
| + // Graphics -----------------------------------------------------------
|
| +#if PLATFORM(WIN_OS)
|
| + static HDC beginPlatformCanvasPaint(GraphicsContext* gc);
|
| + static void endPlatformCanvasPaint(GraphicsContext* gc);
|
| +
|
| + static HRESULT paintScrollbarArrow(
|
| + HDC hdc, int state_id, int classic_state, RECT* rect);
|
| + static HRESULT paintScrollbarThumb(
|
| + HDC hdc, int part_id, int state_id, int classic_state, RECT* rect);
|
| + static HRESULT paintScrollbarTrack(
|
| + HDC hdc, int part_id, int state_id, int classic_state,
|
| + RECT* target_rect, RECT* align_rect, GraphicsContext* gc);
|
| +#endif
|
| +
|
| // JavaScript ---------------------------------------------------------
|
| static void notifyJSOutOfMemory(Frame* frame);
|
|
|
| @@ -141,6 +157,9 @@
|
| // Widget -------------------------------------------------------------
|
| static void widgetSetCursor(Widget*, const Cursor&);
|
| static void widgetSetFocus(Widget*);
|
| +
|
| + // Windows ------------------------------------------------------------
|
| + static bool runningVista();
|
| };
|
| }
|
|
|
|
|