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

Side by Side Diff: ui/base/cocoa/appkit_utils.h

Issue 1888343002: Mac: Honour the user preference for triggering QuickLook with Force Click (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: be explicit Created 4 years, 8 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/base/cocoa/appkit_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698