]> git.saurik.com Git - iphone-api.git/blob - WebCore/WKContentObservation.h
Adding the WebCore headers (for Cydget).
[iphone-api.git] / WebCore / WKContentObservation.h
1 /*
2 * WKContentObservation.h
3 * WebCore
4 *
5 * Copyright (C) 2007, 2008, Apple Inc. All rights reserved.
6 *
7 */
8
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 typedef enum
15 {
16 WKContentNoChange = 0,
17 WKContentVisibilityChange = 2,
18 WKContentIndeterminateChange = 1
19 } WKContentChange;
20
21 bool WKObservingContentChanges(void);
22 bool WKObservingIndeterminateContentChanges(void);
23
24 void WKStopObservingContentChanges(void);
25 void WKBeginObservingContentChanges(bool allowsIntedeterminateChanges);
26
27 WKContentChange WKObservedContentChange(void);
28 void WKSetObservedContentChange(WKContentChange aChange);
29
30 int WebThreadCountOfObservedContentModifiers(void);
31 void WebThreadClearObservedContentModifiers(void);
32
33 bool WebThreadContainsObservedContentModifier(void * aContentModifier);
34 void WebThreadAddObservedContentModifier(void * aContentModifier);
35 void WebThreadRemoveObservedContentModifier(void * aContentModifier);
36
37 #ifdef __cplusplus
38 }
39 #endif
40