Commit afa3c72e authored by avi@chromium.org's avatar avi@chromium.org

Remove RenderView::GetPageId.

BUG=371151
TEST=everything still works

Review URL: https://codereview.chromium.org/367113006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282545 0039d316-1c4b-4281-b951-d872f2087c98
parent 74d35cbc
...@@ -59,14 +59,6 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { ...@@ -59,14 +59,6 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
// Get the routing ID of the view. // Get the routing ID of the view.
virtual int GetRoutingID() const = 0; virtual int GetRoutingID() const = 0;
// Page IDs allow the browser to identify pages in each renderer process for
// keeping back/forward history in sync.
// Note that this is NOT updated for every main frame navigation, only for
// "regular" navigations that go into session history. In particular, client
// redirects, like the page cycler uses (document.location.href="foo") do not
// count as regular navigations and do not increment the page id.
virtual int GetPageId() const = 0;
// Returns the size of the view. // Returns the size of the view.
virtual gfx::Size GetSize() const = 0; virtual gfx::Size GetSize() const = 0;
......
...@@ -2577,10 +2577,6 @@ int RenderViewImpl::GetRoutingID() const { ...@@ -2577,10 +2577,6 @@ int RenderViewImpl::GetRoutingID() const {
return routing_id_; return routing_id_;
} }
int RenderViewImpl::GetPageId() const {
return page_id_;
}
gfx::Size RenderViewImpl::GetSize() const { gfx::Size RenderViewImpl::GetSize() const {
return size(); return size();
} }
......
...@@ -480,7 +480,6 @@ class CONTENT_EXPORT RenderViewImpl ...@@ -480,7 +480,6 @@ class CONTENT_EXPORT RenderViewImpl
virtual bool Send(IPC::Message* message) OVERRIDE; virtual bool Send(IPC::Message* message) OVERRIDE;
virtual RenderFrame* GetMainRenderFrame() OVERRIDE; virtual RenderFrame* GetMainRenderFrame() OVERRIDE;
virtual int GetRoutingID() const OVERRIDE; virtual int GetRoutingID() const OVERRIDE;
virtual int GetPageId() const OVERRIDE;
virtual gfx::Size GetSize() const OVERRIDE; virtual gfx::Size GetSize() const OVERRIDE;
virtual WebPreferences& GetWebkitPreferences() OVERRIDE; virtual WebPreferences& GetWebkitPreferences() OVERRIDE;
virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment