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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/appkit_utils.h
diff --git a/ui/base/cocoa/appkit_utils.h b/ui/base/cocoa/appkit_utils.h
index 3f1b446349d97ba63ed9e8cc4b3f050ec7aee209..bb11e078804fe9ab7bd2881ee12a6ba884509f0c 100644
--- a/ui/base/cocoa/appkit_utils.h
+++ b/ui/base/cocoa/appkit_utils.h
@@ -42,6 +42,9 @@ UI_BASE_EXPORT void DrawNinePartImage(NSRect frame,
UI_BASE_EXPORT void WindowTitlebarReceivedDoubleClick(NSWindow* window,
id sender);
+// Whether a force-click event on the touchpad should invoke Quick Look.
+UI_BASE_EXPORT bool ForceClickInvokesQuickLook();
+
} // namespace ui
#endif // UI_BASE_COCOA_APPKIT_UTILS_H
« 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