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 #include "android_webview/renderer/aw_content_renderer_client.h" | 5 #include "android_webview/renderer/aw_content_renderer_client.h" |
6 | 6 |
7 #include "android_webview/common/aw_resource.h" | 7 #include "android_webview/common/aw_resource.h" |
8 #include "android_webview/common/render_view_messages.h" | 8 #include "android_webview/common/render_view_messages.h" |
9 #include "android_webview/common/url_constants.h" | 9 #include "android_webview/common/url_constants.h" |
10 #include "android_webview/renderer/aw_key_systems.h" | 10 #include "android_webview/renderer/aw_key_systems.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 bool AwContentRendererClient::IsLinkVisited(unsigned long long link_hash) { | 195 bool AwContentRendererClient::IsLinkVisited(unsigned long long link_hash) { |
196 return visited_link_slave_->IsVisited(link_hash); | 196 return visited_link_slave_->IsVisited(link_hash); |
197 } | 197 } |
198 | 198 |
199 void AwContentRendererClient::AddKeySystems( | 199 void AwContentRendererClient::AddKeySystems( |
200 std::vector<content::KeySystemInfo>* key_systems) { | 200 std::vector<content::KeySystemInfo>* key_systems) { |
201 AwAddKeySystems(key_systems); | 201 AwAddKeySystems(key_systems); |
202 } | 202 } |
203 | 203 |
| 204 bool AwContentRendererClient::ShouldOverridePageVisibilityState( |
| 205 const content::RenderFrame* render_frame, |
| 206 blink::WebPageVisibilityState* override_state) { |
| 207 // webview is always visible due to rendering requirements. |
| 208 *override_state = blink::WebPageVisibilityStateVisible; |
| 209 return true; |
| 210 } |
| 211 |
204 } // namespace android_webview | 212 } // namespace android_webview |
OLD | NEW |