]> git.saurik.com Git - iphone-api.git/blob - WebCore/WKClipView.h
Add support for new WinterBoard Settings features.
[iphone-api.git] / WebCore / WKClipView.h
1 /*
2 * WKClipView.h
3 * WebCore
4 *
5 * Copyright (C) 2005, 2006, 2007, Apple Inc. All rights reserved.
6 *
7 */
8 #import "WKView.h"
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 struct WKClipView {
15 struct WKView view;
16 WKViewRef documentView;
17 unsigned int copiesOnScroll:1;
18 };
19
20 extern WKClassInfo WKClipViewClassInfo;
21
22 WKClipViewRef WKClipViewCreateWithFrame (CGRect rect, WKViewContext *context);
23 void WKClipViewInitialize (WKClipViewRef view);
24
25 WKViewRef WKClipViewGetDocumentView (WKClipViewRef view);
26 void WKClipViewSetDocumentView (WKClipViewRef view, WKViewRef documentView);
27
28 bool WKClipViewCopiesOnScroll (WKClipViewRef view);
29 void WKClipViewSetCopiesOnScroll (WKClipViewRef view, bool flag);
30
31 CGRect WKClipViewGetDocumentVisibleRect (WKClipViewRef view);
32
33 #ifdef __cplusplus
34 }
35 #endif