summaryrefslogtreecommitdiff
path: root/chromium/ui/base/clipboard/clipboard_buffer.h
blob: 5419d5c15eaf0976842951589388957bce7ab8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2019 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_CLIPBOARD_CLIPBOARD_BUFFER_H_
#define UI_BASE_CLIPBOARD_CLIPBOARD_BUFFER_H_

namespace ui {

// |ClipboardBuffer| designates which clipboard buffer the action should be
// applied to.
// TODO(huangdarwin): Use an #ifdef per platform for kSelection and kDrag.
enum class ClipboardBuffer {
  kCopyPaste,
  kSelection,  // Only supported on systems running X11.
  kDrag,       // Only supported on Mac OS X.
  kMaxValue = kDrag
};

}  // namespace ui

#endif  // UI_BASE_CLIPBOARD_CLIPBOARD_BUFFER_H_