Returning scoped_ptr instead of raw pointer in SpdySessionPoolInfoToValue() in net/
[chromium-blink-merge.git] / android_webview / renderer / aw_render_frame_ext.h
blob92645f60e3cabe17d35462e2516d36d5be97da35
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_
8 #include "content/public/renderer/render_frame_observer.h"
10 namespace android_webview {
12 // Render process side of AwRenderViewHostExt, this provides cross-process
13 // implementation of miscellaneous WebView functions that we need to poke
14 // WebKit directly to implement (and that aren't needed in the chrome app).
15 class AwRenderFrameExt : public content::RenderFrameObserver {
16 public:
17 AwRenderFrameExt(content::RenderFrame* render_frame);
19 private:
20 ~AwRenderFrameExt() override;
22 // RenderFrame::Observer:
23 void DidCommitProvisionalLoad(bool is_new_navigation,
24 bool is_same_page_navigation) override;
25 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt);
30 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_