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

Side by Side Diff: base/win/win_util.h

Issue 16320009: Use a direct include of strings headers in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/win/shortcut.h ('k') | base/win/win_util.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // ============================================================================= 5 // =============================================================================
6 // PLEASE READ 6 // PLEASE READ
7 // 7 //
8 // In general, you should not be adding stuff to this file. 8 // In general, you should not be adding stuff to this file.
9 // 9 //
10 // - If your thing is only used in one place, just put it in a reasonable 10 // - If your thing is only used in one place, just put it in a reasonable
11 // location in or near that one place. It's nice you want people to be able 11 // location in or near that one place. It's nice you want people to be able
12 // to re-use your function, but realistically, if it hasn't been necessary 12 // to re-use your function, but realistically, if it hasn't been necessary
13 // before after so many years of development, it's probably not going to be 13 // before after so many years of development, it's probably not going to be
14 // used in other places in the future unless you know of them now. 14 // used in other places in the future unless you know of them now.
15 // 15 //
16 // - If your thing is used by multiple callers and is UI-related, it should 16 // - If your thing is used by multiple callers and is UI-related, it should
17 // probably be in app/win/ instead. Try to put it in the most specific file 17 // probably be in app/win/ instead. Try to put it in the most specific file
18 // possible (avoiding the *_util files when practical). 18 // possible (avoiding the *_util files when practical).
19 // 19 //
20 // ============================================================================= 20 // =============================================================================
21 21
22 #ifndef BASE_WIN_WIN_UTIL_H_ 22 #ifndef BASE_WIN_WIN_UTIL_H_
23 #define BASE_WIN_WIN_UTIL_H_ 23 #define BASE_WIN_WIN_UTIL_H_
24 24
25 #include <windows.h> 25 #include <windows.h>
26 26
27 #include <string> 27 #include <string>
28 28
29 #include "base/base_export.h" 29 #include "base/base_export.h"
30 #include "base/string16.h" 30 #include "base/strings/string16.h"
31 31
32 struct IPropertyStore; 32 struct IPropertyStore;
33 struct _tagpropertykey; 33 struct _tagpropertykey;
34 typedef _tagpropertykey PROPERTYKEY; 34 typedef _tagpropertykey PROPERTYKEY;
35 35
36 namespace base { 36 namespace base {
37 namespace win { 37 namespace win {
38 38
39 BASE_EXPORT void GetNonClientMetrics(NONCLIENTMETRICS* metrics); 39 BASE_EXPORT void GetNonClientMetrics(NONCLIENTMETRICS* metrics);
40 40
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 BASE_EXPORT bool DisplayVirtualKeyboard(); 118 BASE_EXPORT bool DisplayVirtualKeyboard();
119 119
120 // Dismisses the on screen keyboard if it is being displayed on Windows 8 and. 120 // Dismisses the on screen keyboard if it is being displayed on Windows 8 and.
121 // above. Returns true on success. 121 // above. Returns true on success.
122 BASE_EXPORT bool DismissVirtualKeyboard(); 122 BASE_EXPORT bool DismissVirtualKeyboard();
123 123
124 } // namespace win 124 } // namespace win
125 } // namespace base 125 } // namespace base
126 126
127 #endif // BASE_WIN_WIN_UTIL_H_ 127 #endif // BASE_WIN_WIN_UTIL_H_
OLDNEW
« no previous file with comments | « base/win/shortcut.h ('k') | base/win/win_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698