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 *override_state = blink::WebPageVisibilityStateVisible; | |
boliu
2014/09/16 00:35:49
Add a comment saying webview is always visible due
michaelbai
2014/09/16 04:02:27
Done.
| |
208 return true; | |
209 } | |
210 | |
204 } // namespace android_webview | 211 } // namespace android_webview |
OLD | NEW |