summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cocoa/appkit_utils.h
blob: 14f6c55070eef3570732663afc686774ca4ce221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_COCOA_APPKIT_UTILS_H
#define UI_BASE_COCOA_APPKIT_UTILS_H

#import <Cocoa/Cocoa.h>

#include "ui/base/ui_base_export.h"

namespace ui {

// Whether a force-click event on the touchpad should invoke Quick Look.
UI_BASE_EXPORT bool ForceClickInvokesQuickLook();

// Returns true if both CGFloat values are equal.
UI_BASE_EXPORT bool IsCGFloatEqual(CGFloat a, CGFloat b);

}  // namespace ui

#endif  // UI_BASE_COCOA_APPKIT_UTILS_H