Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: android_webview/renderer/aw_content_renderer_client.h

Issue 24503004: Show IDN in error screens (DNS failure etc.) (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 13 matching lines...) Expand all
24 // ContentRendererClient implementation. 24 // ContentRendererClient implementation.
25 virtual void RenderThreadStarted() OVERRIDE; 25 virtual void RenderThreadStarted() OVERRIDE;
26 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; 26 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE;
27 virtual std::string GetDefaultEncoding() OVERRIDE; 27 virtual std::string GetDefaultEncoding() OVERRIDE;
28 virtual bool HasErrorPage(int http_status_code, 28 virtual bool HasErrorPage(int http_status_code,
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 const std::string& accept_languages,
34 std::string* error_html, 35 std::string* error_html,
35 string16* error_description) OVERRIDE; 36 string16* error_description) OVERRIDE;
36 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 37 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
37 size_t length) OVERRIDE; 38 size_t length) OVERRIDE;
38 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 39 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
39 40
40 private: 41 private:
41 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; 42 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_;
42 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 43 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
43 }; 44 };
44 45
45 } // namespace android_webview 46 } // namespace android_webview
46 47
47 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 48 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/renderer/aw_content_renderer_client.cc » ('j') | chrome/common/localized_error.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698