summaryrefslogtreecommitdiffstats
path: root/chrome/common/l10n_util.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 23:50:13 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 23:50:13 +0000
commit3cdb6ccdf63f89eab14261534c895c9a25b0e6ea (patch)
tree7433931603aadf6836d291aabf10f6e71983e53b /chrome/common/l10n_util.h
parent226558c339b10721fd3266048a8f0ecb65c13605 (diff)
downloadchromium_src-3cdb6ccdf63f89eab14261534c895c9a25b0e6ea.zip
chromium_src-3cdb6ccdf63f89eab14261534c895c9a25b0e6ea.tar.gz
chromium_src-3cdb6ccdf63f89eab14261534c895c9a25b0e6ea.tar.bz2
Move windows specific functions from l10n_util.h to l10n_util_win.h.
Review URL: http://codereview.chromium.org/27103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/l10n_util.h')
-rw-r--r--chrome/common/l10n_util.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/chrome/common/l10n_util.h b/chrome/common/l10n_util.h
index 51160cd..480c1bd 100644
--- a/chrome/common/l10n_util.h
+++ b/chrome/common/l10n_util.h
@@ -10,9 +10,6 @@
#include "build/build_config.h"
-#if defined(OS_WIN)
-#include <windows.h>
-#endif
#include <algorithm>
#include <functional>
#include <string>
@@ -172,17 +169,6 @@ void WrapStringWithRTLFormatting(std::wstring* text);
void WrapPathWithLTRFormatting(const FilePath& path,
string16* rtl_safe_path);
-// Returns the locale-dependent extended window styles.
-// This function is used for adding locale-dependent extended window styles
-// (e.g. WS_EX_LAYOUTRTL, WS_EX_RTLREADING, etc.) when creating a window.
-// Callers should OR this value into their extended style value when creating
-// a window.
-int GetExtendedStyles();
-
-// TODO(xji):
-// This is a temporary name, it will eventually replace GetExtendedStyles
-int GetExtendedTooltipStyles();
-
// Returns the default text alignment to be used when drawing text on a
// ChromeCanvas based on the directionality of the system locale language. This
// function is used by ChromeCanvas::DrawStringInt when the text alignment is
@@ -192,14 +178,6 @@ int GetExtendedTooltipStyles();
// ChromeCanvas::TEXT_ALIGN_RIGHT.
int DefaultCanvasTextAlignment();
-#if defined(OS_WIN)
-// Give an HWND, this function sets the WS_EX_LAYOUTRTL extended style for the
-// underlying window. When this style is set, the UI for the window is going to
-// be mirrored. This is generally done for the UI of right-to-left languages
-// such as Hebrew.
-void HWNDSetRTLLayout(HWND hwnd);
-#endif
-
// Compares the two strings using the specified collator.
UCollationResult CompareStringWithCollator(const Collator* collator,
const std::wstring& lhs,