Delete unused method for getting push client.
Depends on https://crrev.com/687933002/ BUG=304341,350378 Review URL: https://codereview.chromium.org/646653005 Cr-Commit-Position: refs/heads/master@{#304016}
This commit is contained in:

committed by
Commit bot

parent
e3e37e4ef4
commit
382c20799b
content
@ -3964,12 +3964,6 @@ blink::WebPageVisibilityState RenderViewImpl::visibilityState() const {
|
||||
return current_state;
|
||||
}
|
||||
|
||||
blink::WebPushClient* RenderViewImpl::webPushClient() {
|
||||
// TODO(mvanouwerkerk): Remove this method once the Push API code in Blink
|
||||
// has also switched over to Frame.
|
||||
return main_render_frame_->pushClient();
|
||||
}
|
||||
|
||||
void RenderViewImpl::draggableRegionsChanged() {
|
||||
FOR_EACH_OBSERVER(
|
||||
RenderViewObserver,
|
||||
|
@ -431,7 +431,6 @@ class CONTENT_EXPORT RenderViewImpl
|
||||
virtual void unregisterProtocolHandler(const blink::WebString& scheme,
|
||||
const blink::WebURL& url);
|
||||
virtual blink::WebPageVisibilityState visibilityState() const;
|
||||
virtual blink::WebPushClient* webPushClient();
|
||||
virtual void draggableRegionsChanged();
|
||||
|
||||
#if defined(OS_ANDROID)
|
||||
|
@ -399,9 +399,6 @@ class WebTestProxy : public Base, public WebTestProxyBase {
|
||||
virtual blink::WebString acceptLanguages() {
|
||||
return WebTestProxyBase::acceptLanguages();
|
||||
}
|
||||
virtual blink::WebPushClient* webPushClient() {
|
||||
return WebTestProxyBase::GetWebPushClient();
|
||||
}
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(WebTestProxy);
|
||||
|
Reference in New Issue
Block a user