The |isMainContent| parameter to HandleLoadEnd should be true for reloads (issue #183).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@181 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-02-01 16:52:32 +00:00
parent 7cd53aea4d
commit 5911e7027c
4 changed files with 47 additions and 8 deletions

View File

@@ -39,6 +39,17 @@ base::StringPiece NetResourceProvider(int key);
// Retrieve the V8 context associated with the frame.
v8::Handle<v8::Context> GetV8Context(WebKit::WebFrame* frame);
enum FrameLoadType {
FLT_UNKNOWN = 0,
FLT_STANDARD,
FLT_HISTORY,
FLT_REDIRECT,
FLT_RELOAD,
};
// Returns the frame load type.
FrameLoadType GetFrameLoadType(WebKit::WebFrame* frame);
// Clear all cached data.
void ClearCache();