summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe_impl.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 06:21:01 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 06:21:01 +0000
commit4781156a2c2dca5839906c18f7eedf0fe808fb23 (patch)
treeebc644136085edd95ee30b72dcade4654257dce4 /webkit/glue/webframe_impl.h
parent876b0c451041fad7be429632de5066e4e30bf625 (diff)
downloadchromium_src-4781156a2c2dca5839906c18f7eedf0fe808fb23.zip
chromium_src-4781156a2c2dca5839906c18f7eedf0fe808fb23.tar.gz
chromium_src-4781156a2c2dca5839906c18f7eedf0fe808fb23.tar.bz2
Revert r15940 again. Unexpected layout test failures :(
TBR=mpcomplete git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.h')
-rw-r--r--webkit/glue/webframe_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h
index 45cdc91..fe7e3ef 100644
--- a/webkit/glue/webframe_impl.h
+++ b/webkit/glue/webframe_impl.h
@@ -43,6 +43,7 @@ class AltErrorPageResourceFetcher;
class ChromePrintContext;
class WebDataSourceImpl;
class WebErrorImpl;
+class WebHistoryItemImpl;
class WebPluginDelegate;
class WebRequest;
class WebView;
@@ -225,6 +226,8 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> {
// If currently_loading_request is NULL, does nothing.
void CacheCurrentRequestInfo(WebDataSourceImpl* datasource);
+ void set_currently_loading_history_item(WebHistoryItemImpl* item);
+
// Getters for the impls corresponding to Get(Provisional)DataSource. They
// may return NULL if there is no corresponding data source.
WebDataSourceImpl* GetDataSourceImpl() const;
@@ -307,6 +310,10 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> {
// information to him. Only non-NULL during a call to LoadRequest.
const WebRequest* currently_loading_request_;
+ // Similar to currently_loading_request_, except this will be set when
+ // WebCore initiates a history navigation (probably via javascript).
+ scoped_refptr<WebHistoryItemImpl> currently_loading_history_item_;
+
// Plugins sometimes need to be notified when loads are complete so we keep
// a pointer back to the appropriate plugin.
WebPluginDelegate* plugin_delegate_;