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

Side by Side Diff: chrome/common/l10n_util_win.h

Issue 28127: Remove unnecessary include. Also add copyright to the new files. (Closed)
Patch Set: Created 11 years, 10 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
« no previous file with comments | « chrome/common/l10n_util.cc ('k') | chrome/common/l10n_util_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 #ifndef CHROME_COMMON_L10N_UTIL_WIN_H_ 5 #ifndef CHROME_COMMON_L10N_UTIL_WIN_H_
2 #define CHROME_COMMON_L10N_UTIL_WIN_H_ 6 #define CHROME_COMMON_L10N_UTIL_WIN_H_
3 7
4 #include <windows.h> 8 #include <windows.h>
5 9
6 namespace l10n_util { 10 namespace l10n_util {
7 11
8 // Returns the locale-dependent extended window styles. 12 // Returns the locale-dependent extended window styles.
9 // This function is used for adding locale-dependent extended window styles 13 // This function is used for adding locale-dependent extended window styles
10 // (e.g. WS_EX_LAYOUTRTL, WS_EX_RTLREADING, etc.) when creating a window. 14 // (e.g. WS_EX_LAYOUTRTL, WS_EX_RTLREADING, etc.) when creating a window.
11 // Callers should OR this value into their extended style value when creating 15 // Callers should OR this value into their extended style value when creating
12 // a window. 16 // a window.
13 int GetExtendedStyles(); 17 int GetExtendedStyles();
14 18
15 // TODO(xji): 19 // TODO(xji):
16 // This is a temporary name, it will eventually replace GetExtendedStyles 20 // This is a temporary name, it will eventually replace GetExtendedStyles
17 int GetExtendedTooltipStyles(); 21 int GetExtendedTooltipStyles();
18 22
19 // Give an HWND, this function sets the WS_EX_LAYOUTRTL extended style for the 23 // Give an HWND, this function sets the WS_EX_LAYOUTRTL extended style for the
20 // underlying window. When this style is set, the UI for the window is going to 24 // underlying window. When this style is set, the UI for the window is going to
21 // be mirrored. This is generally done for the UI of right-to-left languages 25 // be mirrored. This is generally done for the UI of right-to-left languages
22 // such as Hebrew. 26 // such as Hebrew.
23 void HWNDSetRTLLayout(HWND hwnd); 27 void HWNDSetRTLLayout(HWND hwnd);
24 28
25 } // namespace l10n_util 29 } // namespace l10n_util
26 30
27 #endif // CHROME_COMMON_L10N_UTIL_WIN_H_ 31 #endif // CHROME_COMMON_L10N_UTIL_WIN_H_
28 32
OLDNEW
« no previous file with comments | « chrome/common/l10n_util.cc ('k') | chrome/common/l10n_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698