• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // This file exists to help bind the Android clipboard implementation's JNI
6 // methods statically. Since the JNI header file that contains the static
7 // registration method is autogenerated and since the general clipboard.h
8 // file is platform-independent, a new header file (this) is the cleanest
9 // option for holding this function (as it is specific to Android).
10 
11 #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_ANDROID_INITIALIZATION_H_
12 #define UI_BASE_CLIPBOARD_CLIPBOARD_ANDROID_INITIALIZATION_H_
13 
14 #include <jni.h>
15 
16 namespace ui {
17 
18 bool RegisterClipboardAndroid(JNIEnv* env);
19 
20 }  // namespace ui
21 
22 #endif  // UI_BASE_CLIPBOARD_CLIPBOARD_ANDROID_INITIALIZATION_H_
23