diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:08:56 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:08:56 +0000 |
commit | 606843faf131685e7802df12f2ee97efc7cf2f3b (patch) | |
tree | f4d494147c9190ba22c370148ab5aab2020f6d1a /webkit/glue/webframe_impl.h | |
parent | 63e78057b6ae2685ed3525d832fed48b7c85ee1e (diff) | |
download | chromium_src-606843faf131685e7802df12f2ee97efc7cf2f3b.zip chromium_src-606843faf131685e7802df12f2ee97efc7cf2f3b.tar.gz chromium_src-606843faf131685e7802df12f2ee97efc7cf2f3b.tar.bz2 |
Remove the URL and title from the state getting functions and IPC messages.
If the title or URL changes, we'll be updated in other ways, so this extra processing is wasted.
Review URL: http://codereview.chromium.org/12859
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.h')
-rw-r--r-- | webkit/glue/webframe_impl.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h index 61c9851..635b396 100644 --- a/webkit/glue/webframe_impl.h +++ b/webkit/glue/webframe_impl.h @@ -97,11 +97,9 @@ class WebFrameImpl : public WebFrame { const GURL& fake_url); virtual void ExecuteJavaScript(const std::string& js_code, const GURL& script_url); - virtual bool GetPreviousState(GURL* url, std::wstring* title, - std::string* history_state) const; - virtual bool GetCurrentState(GURL* url, std::wstring* title, - std::string* history_state) const; - virtual bool HasCurrentState() const; + virtual bool GetPreviousHistoryState(std::string* history_state) const; + virtual bool GetCurrentHistoryState(std::string* history_state) const; + virtual bool HasCurrentHistoryState() const; virtual GURL GetURL() const; virtual GURL GetFavIconURL() const; virtual GURL GetOSDDURL() const; |