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

Content size notification was only used for the Mac overlay navigation code,...

Content size notification was only used for the Mac overlay navigation code, which no longer needs it as of Chromium r274906.

Remove it.

BUG=321437
TEST=everything still compiles and works.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d72b2015
...@@ -531,8 +531,6 @@ void ChromeClientImpl::contentsSizeChanged(LocalFrame* frame, const IntSize& siz ...@@ -531,8 +531,6 @@ void ChromeClientImpl::contentsSizeChanged(LocalFrame* frame, const IntSize& siz
WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame);
webframe->didChangeContentsSize(size); webframe->didChangeContentsSize(size);
if (webframe->client())
webframe->client()->didChangeContentsSize(webframe, size);
frame->loader().restoreScrollPositionAndViewState(); frame->loader().restoreScrollPositionAndViewState();
} }
......
...@@ -396,9 +396,6 @@ public: ...@@ -396,9 +396,6 @@ public:
// The frame's document finished the initial non-empty layout of a page. // The frame's document finished the initial non-empty layout of a page.
virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { } virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { }
// The size of the content area changed.
virtual void didChangeContentsSize(WebLocalFrame*, const WebSize&) { }
// The main frame scrolled. // The main frame scrolled.
virtual void didChangeScrollOffset(WebLocalFrame*) { } virtual void didChangeScrollOffset(WebLocalFrame*) { }
......
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