| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/public/renderer/content_renderer_client.h" | 8 #include "content/public/renderer/content_renderer_client.h" |
| 9 | 9 |
| 10 #include "android_webview/renderer/aw_render_process_observer.h" | 10 #include "android_webview/renderer/aw_render_process_observer.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; | 42 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; |
| 43 | 43 |
| 44 virtual bool HandleNavigation(content::RenderFrame* render_frame, | 44 virtual bool HandleNavigation(content::RenderFrame* render_frame, |
| 45 content::DocumentState* document_state, | 45 content::DocumentState* document_state, |
| 46 int opener_id, | 46 int opener_id, |
| 47 blink::WebFrame* frame, | 47 blink::WebFrame* frame, |
| 48 const blink::WebURLRequest& request, | 48 const blink::WebURLRequest& request, |
| 49 blink::WebNavigationType type, | 49 blink::WebNavigationType type, |
| 50 blink::WebNavigationPolicy default_policy, | 50 blink::WebNavigationPolicy default_policy, |
| 51 bool is_redirect) OVERRIDE; | 51 bool is_redirect) OVERRIDE; |
| 52 virtual bool ShouldOverridePageVisibilityState( |
| 53 const content::RenderFrame* render_frame, |
| 54 blink::WebPageVisibilityState* override_state) OVERRIDE; |
| 52 | 55 |
| 53 private: | 56 private: |
| 54 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; | 57 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; |
| 55 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 58 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
| 56 }; | 59 }; |
| 57 | 60 |
| 58 } // namespace android_webview | 61 } // namespace android_webview |
| 59 | 62 |
| 60 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 63 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |