blob: 074516c371545e37618ce69186b71fda4df2ce6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include "widget.h"
#include <the_Foundation/stream.h>
iDeclareType(GmDocument)
iDeclareType(History)
iDeclareWidgetClass(DocumentWidget)
iDeclareObjectConstruction(DocumentWidget)
void serializeState_DocumentWidget (const iDocumentWidget *, iStream *outs);
void deserializeState_DocumentWidget (iDocumentWidget *, iStream *ins);
iDocumentWidget * duplicate_DocumentWidget (const iDocumentWidget *);
iHistory * history_DocumentWidget (iDocumentWidget *);
const iString * url_DocumentWidget (const iDocumentWidget *);
iBool isRequestOngoing_DocumentWidget (const iDocumentWidget *);
const iGmDocument * document_DocumentWidget (const iDocumentWidget *);
const iString * bookmarkTitle_DocumentWidget (const iDocumentWidget *);
void setUrl_DocumentWidget (iDocumentWidget *, const iString *url);
void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache);
void setInitialScroll_DocumentWidget (iDocumentWidget *, float normScrollY); /* set after content received */
void updateSize_DocumentWidget (iDocumentWidget *);
|