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/url_constants.h" | 8 #include "android_webview/common/url_constants.h" |
9 #include "android_webview/renderer/aw_render_view_ext.h" | 9 #include "android_webview/renderer/aw_render_view_ext.h" |
10 #include "android_webview/renderer/view_renderer.h" | 10 #include "android_webview/renderer/view_renderer.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "components/visitedlink/renderer/visitedlink_slave.h" | 13 #include "components/visitedlink/renderer/visitedlink_slave.h" |
14 #include "content/public/renderer/render_thread.h" | 14 #include "content/public/renderer/render_thread.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 16 #include "third_party/WebKit/public/platform/WebString.h" |
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 17 #include "third_party/WebKit/public/platform/WebURL.h" |
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" | 18 #include "third_party/WebKit/public/platform/WebURLError.h" |
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 19 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
21 | 21 |
22 namespace android_webview { | 22 namespace android_webview { |
23 | 23 |
24 AwContentRendererClient::AwContentRendererClient() { | 24 AwContentRendererClient::AwContentRendererClient() { |
25 } | 25 } |
26 | 26 |
27 AwContentRendererClient::~AwContentRendererClient() { | 27 AwContentRendererClient::~AwContentRendererClient() { |
28 } | 28 } |
29 | 29 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 return visited_link_slave_->IsVisited(link_hash); | 89 return visited_link_slave_->IsVisited(link_hash); |
90 } | 90 } |
91 | 91 |
92 void AwContentRendererClient::PrefetchHostName(const char* hostname, | 92 void AwContentRendererClient::PrefetchHostName(const char* hostname, |
93 size_t length) { | 93 size_t length) { |
94 // TODO(boliu): Implement hostname prefetch for Android WebView. | 94 // TODO(boliu): Implement hostname prefetch for Android WebView. |
95 // Perhaps componentize chrome implementation or move to content/? | 95 // Perhaps componentize chrome implementation or move to content/? |
96 } | 96 } |
97 | 97 |
98 } // namespace android_webview | 98 } // namespace android_webview |
OLD | NEW |