summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/localized_error.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 08:27:32 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 08:27:32 +0000
commitf8f606ef03a8afd7564c7f5a1bf82b54e6a6b392 (patch)
treebebb9be6f4b3a4a090917db063177fb5fb58f1dc /chrome/renderer/localized_error.h
parent2cf57c8de64c62ec4f9c18ebf30b30961b208c3e (diff)
downloadchromium_src-f8f606ef03a8afd7564c7f5a1bf82b54e6a6b392.zip
chromium_src-f8f606ef03a8afd7564c7f5a1bf82b54e6a6b392.tar.gz
chromium_src-f8f606ef03a8afd7564c7f5a1bf82b54e6a6b392.tar.bz2
linux: use ICU direction for determining text direction in renderer
We use the GTK text direction in the browser process, but that is not available in the renderer. BUG=36624 TEST=Arabic error pages are properly RTL Review URL: http://codereview.chromium.org/660176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40260 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/localized_error.h')
-rw-r--r--chrome/renderer/localized_error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/localized_error.h b/chrome/renderer/localized_error.h
index 33300c4..1b3464b 100644
--- a/chrome/renderer/localized_error.h
+++ b/chrome/renderer/localized_error.h
@@ -12,6 +12,8 @@ namespace WebKit {
struct WebURLError;
}
+// Fills |error_strings| with values to be used to build an error page used
+// on HTTP errors, like 404 or connection reset.
void GetLocalizedErrorValues(const WebKit::WebURLError& error,
DictionaryValue* error_strings);