blob: 6cdb835a13f5e170f0732ff9757475444589c2c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// 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.
#include "ui/shell_dialogs/android/shell_dialogs_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/macros.h"
#include "ui/shell_dialogs/select_file_dialog_android.h"
namespace ui {
namespace shell_dialogs {
static base::android::RegistrationMethod kUiRegisteredMethods[] = {
{ "SelectFileDialog", ui::SelectFileDialogImpl::RegisterSelectFileDialog },
};
bool RegisterJni(JNIEnv* env) {
return RegisterNativeMethods(env, kUiRegisteredMethods,
arraysize(kUiRegisteredMethods));
}
} // namespace shell_dialogs
} // namespace ui
|