summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cocoa/quartz_util.h
blob: dd3201fe9254c6a80257f0aca1d326d65c869a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2018 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_QUARTZ_UTIL_H_
#define UI_BASE_COCOA_QUARTZ_UTIL_H_

#include "ui/base/ui_base_export.h"

namespace ui {

// Calls +[CATransaction begin].
UI_BASE_EXPORT void BeginCATransaction();

// Calls +[CATransaction commit].
UI_BASE_EXPORT void CommitCATransaction();

}  // namespace ui

#endif  // UI_BASE_COCOA_QUARTZ_UTIL_H_