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
26
cc / input / android / offset_tag_android.h [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_INPUT_ANDROID_OFFSET_TAG_ANDROID_H_
#define CC_INPUT_ANDROID_OFFSET_TAG_ANDROID_H_
#include "base/android/scoped_java_ref.h"
#include "cc/cc_export.h"
#include "cc/input/browser_controls_offset_tags_info.h"
#include "components/viz/common/quads/offset_tag.h"
namespace cc::android {
CC_EXPORT viz::OffsetTag FromJavaOffsetTag(
JNIEnv* env,
const base::android::JavaRef<jobject>& joffset_tag);
CC_EXPORT cc::BrowserControlsOffsetTagsInfo
FromJavaBrowserControlsOffsetTagsInfo(
JNIEnv* env,
const base::android::JavaRef<jobject>& jbrowser_controls_offset_tags_info);
} // namespace cc::android
#endif // CC_INPUT_ANDROID_OFFSET_TAG_ANDROID_H_