OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ |
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ |
7 | 7 |
8 #include "content/public/renderer/render_frame_observer.h" | 8 #include "content/public/renderer/render_frame_observer.h" |
9 | 9 |
10 namespace android_webview { | 10 namespace android_webview { |
11 | 11 |
12 // Render process side of AwRenderViewHostExt, this provides cross-process | 12 // Render process side of AwRenderViewHostExt, this provides cross-process |
13 // implementation of miscellaneous WebView functions that we need to poke | 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). | 14 // WebKit directly to implement (and that aren't needed in the chrome app). |
15 class AwRenderFrameExt : public content::RenderFrameObserver { | 15 class AwRenderFrameExt : public content::RenderFrameObserver { |
16 public: | 16 public: |
17 AwRenderFrameExt(content::RenderFrame* render_frame); | 17 AwRenderFrameExt(content::RenderFrame* render_frame); |
18 | 18 |
19 private: | 19 private: |
20 virtual ~AwRenderFrameExt(); | 20 virtual ~AwRenderFrameExt(); |
21 | 21 |
22 // RenderFrame::Observer: | 22 // RenderFrame::Observer: |
23 virtual void DidCommitProvisionalLoad(bool is_new_navigation) OVERRIDE; | 23 virtual void DidCommitProvisionalLoad(bool is_new_navigation) override; |
24 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt); | 24 DISALLOW_COPY_AND_ASSIGN(AwRenderFrameExt); |
25 }; | 25 }; |
26 | 26 |
27 } | 27 } |
28 | 28 |
29 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ | 29 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_FRAME_EXT_H_ |
30 | 30 |
31 | 31 |
OLD | NEW |