root/ui/base/l10n/l10n_util_android.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_L10N_L10N_UTIL_ANDROID_H_
#define UI_BASE_L10N_L10N_UTIL_ANDROID_H_

#include <jni.h>

#include <string>

#include "base/strings/string16.h"
#include "ui/base/ui_base_export.h"

namespace l10n_util {

// Return the current default locale of the device.
UI_BASE_EXPORT std::string GetDefaultLocale();

UI_BASE_EXPORT base::string16 GetDisplayNameForLocale(
    const std::string& locale,
    const std::string& display_locale);

UI_BASE_EXPORT bool IsLayoutRtl();

UI_BASE_EXPORT bool RegisterLocalizationUtil(JNIEnv* env);

}  // namespace l10n_util

#endif  // UI_BASE_L10N_L10N_UTIL_ANDROID_H_

/* [<][>][^][v][top][bottom][index][help] */