Subversion Repositories Kolibri OS

Rev

Rev 8363 | Rev 8392 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8363 Rev 8365
Line 76... Line 76...
76
#include "tabs.h"
76
#include "tabs.h"
Line 77... Line 77...
77
 
77
 
78
dword cur_img_url;
78
dword cur_img_url;
79
dword shared_url;
79
dword shared_url;
-
 
80
dword http_get_type;
80
dword http_get_type;
81
dword render_start_time;
Line 81... Line 82...
81
int menu_id=NULL;
82
int menu_id=NULL;
82
 
83
 
Line 699... Line 700...
699
		DrawOmnibox();
700
		DrawOmnibox();
700
		if(!strrchr(#editURL, '#')) {
701
		if(!strrchr(#editURL, '#')) {
701
			strcat(#editURL, #anchors.current);
702
			strcat(#editURL, #anchors.current);
702
			DrawOmnibox();
703
			DrawOmnibox();
703
		}
704
		}
-
 
705
		render_start_time = GetStartTime();
704
		WB1.ParseHtml(_bufdata, _in_bufsize);
706
		WB1.ParseHtml(_bufdata, _in_bufsize);
705
		// REJECTED. Reason: infinite redirect at Google Results.
707
		// REJECTED. Reason: infinite redirect at Google Results.
706
		/*
708
		/*
707
		if (WB1.redirect) { //
709
		if (WB1.redirect) { //
708
			get_absolute_url(#WB1.redirect, history.current());
710
			get_absolute_url(#WB1.redirect, history.current());
Line 947... Line 949...
947
	}
949
	}
948
	if (_new) return;
950
	if (_new) return;
949
	DrawOmnibox();
951
	DrawOmnibox();
950
	WB1.ParseHtml(WB1.o_bufpointer, WB1.bufsize);
952
	WB1.ParseHtml(WB1.o_bufpointer, WB1.bufsize);
951
	WB1.DrawPage();
953
	WB1.DrawPage();
-
 
954
	debugln(sprintf(#param, "WebView: page rendered in %i sec", GetStartTime()-render_start_time/100));
952
}
955
}
Line 953... Line 956...
953
 
956
 
954
stop:
957
stop: