| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef UI_BASE_COCOA_APPKIT_UTILS_H | 5 #ifndef UI_BASE_COCOA_APPKIT_UTILS_H |
| 6 #define UI_BASE_COCOA_APPKIT_UTILS_H | 6 #define UI_BASE_COCOA_APPKIT_UTILS_H |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "ui/base/ui_base_export.h" | 10 #include "ui/base/ui_base_export.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 CGFloat alpha, | 35 CGFloat alpha, |
| 36 BOOL flipped); | 36 BOOL flipped); |
| 37 | 37 |
| 38 // Minimizes or zooms the window, or does nothing, depending on OS version and | 38 // Minimizes or zooms the window, or does nothing, depending on OS version and |
| 39 // system configuration. | 39 // system configuration. |
| 40 // |window| is the receiver of the double click. | 40 // |window| is the receiver of the double click. |
| 41 // |sender| is the object that sends the action, if one is sent. | 41 // |sender| is the object that sends the action, if one is sent. |
| 42 UI_BASE_EXPORT void WindowTitlebarReceivedDoubleClick(NSWindow* window, | 42 UI_BASE_EXPORT void WindowTitlebarReceivedDoubleClick(NSWindow* window, |
| 43 id sender); | 43 id sender); |
| 44 | 44 |
| 45 // Whether a force-click event on the touchpad should invoke Quick Look. |
| 46 UI_BASE_EXPORT bool ForceClickInvokesQuickLook(); |
| 47 |
| 45 } // namespace ui | 48 } // namespace ui |
| 46 | 49 |
| 47 #endif // UI_BASE_COCOA_APPKIT_UTILS_H | 50 #endif // UI_BASE_COCOA_APPKIT_UTILS_H |
| OLD | NEW |