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 18 matching lines...) Expand all Loading... |
29 std::string* error_domain) OVERRIDE; | 29 std::string* error_domain) OVERRIDE; |
30 virtual void GetNavigationErrorStrings( | 30 virtual void GetNavigationErrorStrings( |
31 WebKit::WebFrame* frame, | 31 WebKit::WebFrame* frame, |
32 const WebKit::WebURLRequest& failed_request, | 32 const WebKit::WebURLRequest& failed_request, |
33 const WebKit::WebURLError& error, | 33 const WebKit::WebURLError& error, |
34 std::string* error_html, | 34 std::string* error_html, |
35 string16* error_description) OVERRIDE; | 35 string16* error_description) OVERRIDE; |
36 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 36 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
37 size_t length) OVERRIDE; | 37 size_t length) OVERRIDE; |
38 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 38 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
39 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; | |
40 | 39 |
41 private: | 40 private: |
42 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; | 41 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; |
43 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 42 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
44 }; | 43 }; |
45 | 44 |
46 } // namespace android_webview | 45 } // namespace android_webview |
47 | 46 |
48 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 47 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |