| // Copyright (c) 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. |
| |
| // This file exists to help bind the Android clipboard implementation's JNI |
| // methods statically. Since the JNI header file that contains the static |
| // registration method is autogenerated and since the general clipboard.h |
| // file is platform-independent, a new header file (this) is the cleanest |
| // option for holding this function (as it is specific to Android). |
| |
| #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_ANDROID_INITIALIZATION_H_ |
| #define UI_BASE_CLIPBOARD_CLIPBOARD_ANDROID_INITIALIZATION_H_ |
| |
| #include <jni.h> |
| |
| namespace ui { |
| |
| bool RegisterClipboardAndroid(JNIEnv* env); |
| |
| } // namespace ui |
| |
| #endif // UI_BASE_CLIPBOARD_CLIPBOARD_ANDROID_INITIALIZATION_H_ |