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

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

Issue 12221144: Make zoom using ctrl+mouse wheel work in win aura. Windows -non-aura had a hack that was a layering… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.h » ('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
(...skipping 18 matching lines...) Expand all
29 #include "base/base_export.h" 29 #include "base/base_export.h"
30 #include "base/string16.h" 30 #include "base/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 // A Windows message reflected from other windows. This message is sent
40 // with the following arguments:
41 // hWnd - Target window
42 // uMsg - kReflectedMessage
43 // wParam - Should be 0
44 // lParam - Pointer to MSG struct containing the original message.
45 const int kReflectedMessage = WM_APP + 3;
46
47 BASE_EXPORT void GetNonClientMetrics(NONCLIENTMETRICS* metrics); 39 BASE_EXPORT void GetNonClientMetrics(NONCLIENTMETRICS* metrics);
48 40
49 // Returns the string representing the current user sid. 41 // Returns the string representing the current user sid.
50 BASE_EXPORT bool GetUserSidString(std::wstring* user_sid); 42 BASE_EXPORT bool GetUserSidString(std::wstring* user_sid);
51 43
52 // Returns true if the shift key is currently pressed. 44 // Returns true if the shift key is currently pressed.
53 BASE_EXPORT bool IsShiftPressed(); 45 BASE_EXPORT bool IsShiftPressed();
54 46
55 // Returns true if the ctrl key is currently pressed. 47 // Returns true if the ctrl key is currently pressed.
56 BASE_EXPORT bool IsCtrlPressed(); 48 BASE_EXPORT bool IsCtrlPressed();
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 BASE_EXPORT bool DisplayVirtualKeyboard(); 118 BASE_EXPORT bool DisplayVirtualKeyboard();
127 119
128 // 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.
129 // above. Returns true on success. 121 // above. Returns true on success.
130 BASE_EXPORT bool DismissVirtualKeyboard(); 122 BASE_EXPORT bool DismissVirtualKeyboard();
131 123
132 } // namespace win 124 } // namespace win
133 } // namespace base 125 } // namespace base
134 126
135 #endif // BASE_WIN_WIN_UTIL_H_ 127 #endif // BASE_WIN_WIN_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698