code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/drag_event_android.h"
#include <memory>
#include "base/android/jni_android.h"
using base::android::ScopedJavaLocalRef;
using base::android::Attac... | Zhao-PengFei35/chromium_src_4 | ui/events/android/drag_event_android.cc | C++ | unknown | 1,361 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_DRAG_EVENT_ANDROID_H_
#define UI_EVENTS_ANDROID_DRAG_EVENT_ANDROID_H_
#include <jni.h>
#include <string>
#include <vector>
#include "base/android/sc... | Zhao-PengFei35/chromium_src_4 | ui/events/android/drag_event_android.h | C++ | unknown | 2,051 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/event_handler_android.h"
#include "ui/gfx/geometry/rect.h"
namespace ui {
bool EventHandlerAndroid::OnTouchEvent(const MotionEventAndroid& event)... | Zhao-PengFei35/chromium_src_4 | ui/events/android/event_handler_android.cc | C++ | unknown | 1,566 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_EVENT_HANDLER_ANDROID_H_
#define UI_EVENTS_ANDROID_EVENT_HANDLER_ANDROID_H_
#include "base/time/time.h"
#include "third_party/abseil-cpp/absl/types/o... | Zhao-PengFei35/chromium_src_4 | ui/events/android/event_handler_android.h | C++ | unknown | 1,944 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/gesture_event_android.h"
#include <memory>
#include "ui/gfx/geometry/point_f.h"
namespace ui {
GestureEventAndroid::GestureEventAndroid(int type... | Zhao-PengFei35/chromium_src_4 | ui/events/android/gesture_event_android.cc | C++ | unknown | 1,892 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_GESTURE_EVENT_ANDROID_H_
#define UI_EVENTS_ANDROID_GESTURE_EVENT_ANDROID_H_
#include <memory>
#include "ui/events/events_export.h"
#include "ui/gfx/... | Zhao-PengFei35/chromium_src_4 | ui/events/android/gesture_event_android.h | C++ | unknown | 2,644 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_GESTURE_EVENT_TYPE_H_
#define UI_EVENTS_ANDROID_GESTURE_EVENT_TYPE_H_
namespace ui {
// This file contains a list of GestureEventType's usable by Ge... | Zhao-PengFei35/chromium_src_4 | ui/events/android/gesture_event_type.h | C++ | unknown | 1,259 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/key_event_android.h"
#include "base/android/jni_android.h"
using base::android::ScopedJavaLocalRef;
using base::android::AttachCurrentThread;
name... | Zhao-PengFei35/chromium_src_4 | ui/events/android/key_event_android.cc | C++ | unknown | 643 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_KEY_EVENT_ANDROID_H_
#define UI_EVENTS_ANDROID_KEY_EVENT_ANDROID_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
#include "ui/events/e... | Zhao-PengFei35/chromium_src_4 | ui/events/android/key_event_android.h | C++ | unknown | 1,044 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/key_event_utils.h"
#include "ui/events/keyevent_jni_headers/KeyEvent_jni.h"
namespace ui {
namespace events {
namespace android {
base::android::... | Zhao-PengFei35/chromium_src_4 | ui/events/android/key_event_utils.cc | C++ | unknown | 936 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_KEY_EVENT_UTILS_H_
#define UI_EVENTS_ANDROID_KEY_EVENT_UTILS_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
#include "ui/events/event... | Zhao-PengFei35/chromium_src_4 | ui/events/android/key_event_utils.h | C++ | unknown | 747 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/keyboard_hook.h"
#include <memory>
#include "base/functional/callback.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/events/keyco... | Zhao-PengFei35/chromium_src_4 | ui/events/android/keyboard_hook_android.cc | C++ | unknown | 815 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/motion_event_android.h"
#include <android/input.h>
#include <cmath>
#include "base/android/jni_android.h"
#include "base/feature_list.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/events/android/motion_event_android.cc | C++ | unknown | 22,164 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ANDROID_MOTION_EVENT_ANDROID_H_
#define UI_EVENTS_ANDROID_MOTION_EVENT_ANDROID_H_
#include <jni.h>
#include <stddef.h>
#include <stdint.h>
#include <memory>... | Zhao-PengFei35/chromium_src_4 | ui/events/android/motion_event_android.h | C++ | unknown | 7,084 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <android/input.h>
#include <stddef.h>
#include <cmath>
#include <limits>
#include "base/android/jni_android.h"
#include "base/numerics/math_constants.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/events/android/motion_event_android_unittest.cc | C++ | unknown | 10,141 |
include_rules = [
"+ash/constants",
"+device/udev_linux",
"+ui/base",
]
| Zhao-PengFei35/chromium_src_4 | ui/events/ash/DEPS | Python | unknown | 78 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/ash/event_rewriter_ash.h"
#include <fcntl.h>
#include <stddef.h>
#include <cstdint>
#include "ash/constants/ash_features.h"
#include "base/feature_list.h"... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/event_rewriter_ash.cc | C++ | unknown | 90,844 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ASH_EVENT_REWRITER_ASH_H_
#define UI_EVENTS_ASH_EVENT_REWRITER_ASH_H_
#include <list>
#include <map>
#include <memory>
#include <set>
#include <string>
#incl... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/event_rewriter_ash.h | C++ | unknown | 17,341 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/ash/keyboard_capability.h"
#include <fcntl.h>
#include <linux/input-event-codes.h>
#include <linux/input.h>
#include <cstring>
#include <memory>
#include ... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/keyboard_capability.cc | C++ | unknown | 36,158 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ASH_KEYBOARD_CAPABILITY_H_
#define UI_EVENTS_ASH_KEYBOARD_CAPABILITY_H_
#include <memory>
#include <vector>
#include "base/containers/fixed_flat_map.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/keyboard_capability.h | C++ | unknown | 15,318 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/ash/keyboard_layout_util.h"
#include "ui/events/ash/event_rewriter_ash.h"
#include "ui/events/devices/device_data_manager.h"
namespace ui {
bool DeviceKe... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/keyboard_layout_util.cc | C++ | unknown | 718 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ASH_KEYBOARD_LAYOUT_UTIL_H_
#define UI_EVENTS_ASH_KEYBOARD_LAYOUT_UTIL_H_
namespace ui {
// TODO(dpad): Remove this function once `KeyboardCapability` fully... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/keyboard_layout_util.h | C++ | unknown | 562 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/ash/pref_names.h"
namespace prefs {
// *************** PROFILE PREFS ***************
// These are attached to the user profile
// Integer prefs which det... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/pref_names.cc | C++ | unknown | 1,504 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_ASH_PREF_NAMES_H_
#define UI_EVENTS_ASH_PREF_NAMES_H_
namespace prefs {
// Constants for the names of various preferences, for easier changing.
// TODO:: Th... | Zhao-PengFei35/chromium_src_4 | ui/events/ash/pref_names.h | C++ | unknown | 884 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/back_gesture_event.h"
namespace ui {
BackGestureEvent::BackGestureEvent(const gfx::PointF& location,
float progress,
... | Zhao-PengFei35/chromium_src_4 | ui/events/back_gesture_event.cc | C++ | unknown | 468 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BACK_GESTURE_EVENT_H_
#define UI_EVENTS_BACK_GESTURE_EVENT_H_
#include "ui/events/events_export.h"
#include "ui/gfx/geometry/point_conversions.h"
namespace ... | Zhao-PengFei35/chromium_src_4 | ui/events/back_gesture_event.h | C++ | unknown | 1,432 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/base_event_utils.h"
#include "base/atomic_sequence_num.h"
#include "base/check_op.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/events/base_event_utils.cc | C++ | unknown | 2,685 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BASE_EVENT_UTILS_H_
#define UI_EVENTS_BASE_EVENT_UTILS_H_
#include <stdint.h>
#include "base/time/tick_clock.h"
#include "ui/events/events_base_export.h"
n... | Zhao-PengFei35/chromium_src_4 | ui/events/base_event_utils.h | C++ | unknown | 2,188 |
include_rules = [
"+cc/input/input_handler.h",
"+cc/input/main_thread_scrolling_reason.h",
"+cc/input/overscroll_behavior.h",
"+cc/input/scroll_elasticity_helper.h",
"+cc/input/snap_fling_controller.h",
"+cc/metrics/event_metrics.h",
"+third_party/blink/public/common/features.h",
"+third_party/blink/pu... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/DEPS | Python | unknown | 1,089 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/blink_event_util.h"
#include <stddef.h>
#include <algorithm>
#include <bitset>
#include <limits>
#include <memory>
#include "base/time/time.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/blink_event_util.cc | C++ | unknown | 36,747 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
#define UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
#include <memory>
#include "build/build_config.h"
#include "third_party/blink/public/c... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/blink_event_util.h | C++ | unknown | 3,936 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/blink_event_util.h"
#define protected public
#include "ui/events/gesture_detection/motion_event_generic.h"
#undef protected
#include "base/time/time... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/blink_event_util_unittest.cc | C++ | unknown | 13,737 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/blink_features.h"
namespace features {
BASE_FEATURE(kSendMouseLeaveEvents,
"SendMouseLeaveEvents",
base::FEATURE_ENABLED_B... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/blink_features.cc | C++ | unknown | 640 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_BLINK_FEATURES_H_
#define UI_EVENTS_BLINK_BLINK_FEATURES_H_
#include "base/component_export.h"
#include "base/feature_list.h"
namespace features {
//... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/blink_features.h | C++ | unknown | 1,183 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
#define UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
#include "cc/input/overscroll_behavior.h"
#include "ui/gfx/geometry/point_f.h... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/did_overscroll_params.h | C++ | unknown | 697 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/fling_booster.h"
#include "base/trace_event/trace_event.h"
#include "ui/events/blink/blink_features.h"
#if BUILDFLAG(IS_OHOS)
#include "base/system/... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/fling_booster.cc | C++ | unknown | 8,867 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_FLING_BOOSTER_H_
#define UI_EVENTS_BLINK_FLING_BOOSTER_H_
#include "base/time/time.h"
#include "third_party/blink/public/common/input/web_gesture_event... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/fling_booster.h | C++ | unknown | 2,671 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(OHOS_UNITTESTS)
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/ohos_ndk/includes/ohos_adapter/system_properties_adapter.h"
#define private pu... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/fling_booster_unittest.cc | C++ | unknown | 14,657 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/web_input_event.h"
#include "build/build_config.h"
#include "ui/base/ui_base_features.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event.cc | C++ | unknown | 19,975 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_
#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_
#include "third_party/blink/public/common/input/web_gesture_event.h"
#include "third_part... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event.h | C++ | unknown | 1,374 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/web_input_event_builders_win.h"
#include "base/metrics/histogram_functions.h"
#include "base/trace_event/trace_event.h"
#include "base/win/windowsx_s... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_builders_win.cc | C++ | unknown | 13,137 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_
#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_
#include <windows.h>
#include "base/time/time.h"
#include "thi... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_builders_win.h | C++ | unknown | 1,131 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/web_input_event_builders_win.h"
#include "base/command_line.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_builders_win_unittest.cc | C++ | unknown | 6,093 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/web_input_event_traits.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/stringprintf.h"
#include "third_party/blink/... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_traits.cc | C++ | unknown | 10,146 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
#include "third_party/blink/public/common/input/web_input_event.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_traits.h | C++ | unknown | 1,051 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/web_input_event_traits.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_gesture_event.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_traits_unittest.cc | C++ | unknown | 2,323 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/blink/web_input_event.h"
#include <cstddef>
#include <cstdint>
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "testin... | Zhao-PengFei35/chromium_src_4 | ui/events/blink/web_input_event_unittest.cc | C++ | unknown | 23,321 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <limits.h>
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/mobile_scroller.h"
namespace ui {
namespace {
const float ... | Zhao-PengFei35/chromium_src_4 | ui/events/chromecast/scroller_unittest.cc | C++ | unknown | 6,473 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_COCOA_COCOA_EVENT_UTILS_H_
#define UI_EVENTS_COCOA_COCOA_EVENT_UTILS_H_
#import <Cocoa/Cocoa.h>
#include <vector>
#include "ui/events/events_export.h"
nam... | Zhao-PengFei35/chromium_src_4 | ui/events/cocoa/cocoa_event_utils.h | Objective-C | unknown | 1,573 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ui/events/cocoa/cocoa_event_utils.h"
#include <Carbon/Carbon.h> // for <HIToolbox/Events.h>
#include <IOKit/hidsystem/IOLLEvent.h> // for NX_ constants
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/events/cocoa/cocoa_event_utils.mm | Objective-C++ | unknown | 5,887 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/event_utils.h"
#include <Cocoa/Cocoa.h>
#include <stdint.h>
#include "base/check_op.h"
#import "base/mac/mac_util.h"
#include "base/notreached.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/events/cocoa/events_mac.mm | Objective-C++ | unknown | 10,785 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Carbon/Carbon.h>
#import <Cocoa/Cocoa.h>
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/mac/scoped_cftyperef.h"
#include "testing/gtest/incl... | Zhao-PengFei35/chromium_src_4 | ui/events/cocoa/events_mac_unittest.mm | Objective-C++ | unknown | 25,092 |
specific_include_rules = {
"input_device_observer_android.cc": [
"+ui/events/devices/ui_events_devices_jni_headers",
],
}
| Zhao-PengFei35/chromium_src_4 | ui/events/devices/DEPS | Python | unknown | 130 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/device_data_manager.h"
#include "ui/events/devices/mmi_device_info_adapter_impl.h"
#include "base/at_exit.h"
#include "base/check_op.h"
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_data_manager.cc | C++ | unknown | 17,630 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_
#define UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_
#include <stdint.h>
#include <array>
#include <memory>
#include <vector>
#i... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_data_manager.h | C++ | unknown | 5,846 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/device_data_manager_test_api.h"
#include "ui/events/devices/device_data_manager.h"
#include "ui/events/devices/input_device.h"
#include "ui/events/... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_data_manager_test_api.cc | C++ | unknown | 2,976 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_TEST_API_H_
#define UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_TEST_API_H_
#include <vector>
namespace ui {
struct InputDevice;
struc... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_data_manager_test_api.h | C++ | unknown | 2,080 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/device_data_manager.h"
#include "base/scoped_observation.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/types/display_const... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_data_manager_unittest.cc | C++ | unknown | 4,461 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_DEVICE_HOTPLUG_EVENT_OBSERVER_H_
#define UI_EVENTS_DEVICES_DEVICE_HOTPLUG_EVENT_OBSERVER_H_
#include <vector>
#include "ui/events/devices/events_dev... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_hotplug_event_observer.h | C++ | unknown | 2,437 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/device_util_linux.h"
#include <string>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/strings/string_util.h"
... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_util_linux.cc | C++ | unknown | 2,394 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_DEVICE_UTIL_LINUX_H_
#define UI_EVENTS_DEVICES_DEVICE_UTIL_LINUX_H_
#include "ui/events/devices/events_devices_export.h"
#include "ui/events/devices/... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/device_util_linux.h | C++ | unknown | 767 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_EVENTS_DEVICES_EXPORT_H_
#define UI_EVENTS_DEVICES_EVENTS_DEVICES_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(EVENTS_DEVIC... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/events_devices_export.h | C | unknown | 815 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/gamepad_device.h"
namespace ui {
GamepadDevice::GamepadDevice(const InputDevice& input_device,
std::vector<GamepadDev... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/gamepad_device.cc | C++ | unknown | 637 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_GAMEPAD_DEVICE_H_
#define UI_EVENTS_DEVICES_GAMEPAD_DEVICE_H_
#include <vector>
#include "ui/events/devices/events_devices_export.h"
#include "ui/ev... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/gamepad_device.h | C++ | unknown | 1,308 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_HAPTIC_TOUCHPAD_EFFECTS_H_
#define UI_EVENTS_DEVICES_HAPTIC_TOUCHPAD_EFFECTS_H_
namespace ui {
enum class HapticTouchpadEffect {
kSnap = 0, ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/haptic_touchpad_effects.h | C++ | unknown | 1,148 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/input_device.h"
#include <string>
#include "base/strings/stringprintf.h"
namespace ui {
// static
const int InputDevice::kInvalidId = 0;
std::o... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device.cc | C++ | unknown | 2,721 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_INPUT_DEVICE_H_
#define UI_EVENTS_DEVICES_INPUT_DEVICE_H_
#include <stdint.h>
#include <ostream>
#include <string>
#include "base/files/file_path.h"... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device.h | C++ | unknown | 2,583 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_INPUT_DEVICE_EVENT_OBSERVER_H_
#define UI_EVENTS_DEVICES_INPUT_DEVICE_EVENT_OBSERVER_H_
#include <stdint.h>
#include "ui/events/devices/events_devic... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device_event_observer.h | C++ | unknown | 1,566 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/input_device_observer_android.h"
#include "base/memory/singleton.h"
#include "ui/events/devices/ui_events_devices_jni_headers/InputDeviceObserver_j... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device_observer_android.cc | C++ | unknown | 1,744 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_INPUT_DEVICE_OBSERVER_ANDROID_H_
#define UI_EVENTS_DEVICES_INPUT_DEVICE_OBSERVER_ANDROID_H_
#include <jni.h>
#include "base/observer_list.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device_observer_android.h | C++ | unknown | 1,375 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/input_device_observer_win.h"
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device_observer_win.cc | C++ | unknown | 3,248 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_INPUT_DEVICE_OBSERVER_WIN_H_
#define UI_EVENTS_DEVICES_INPUT_DEVICE_OBSERVER_WIN_H_
#include "base/observer_list.h"
#include "base/win/registry.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device_observer_win.h | C++ | unknown | 1,388 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/input_device.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/devices/input_device.h"
namespace ui {
namespace {
constexpr ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/input_device_unittest.cc | C++ | unknown | 1,678 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/microphone_mute_switch_monitor.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
namespace ui {
MicrophoneMuteSwitchMonitor::Mic... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/microphone_mute_switch_monitor.cc | C++ | unknown | 1,139 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_MICROPHONE_MUTE_SWITCH_MONITOR_H_
#define UI_EVENTS_DEVICES_MICROPHONE_MUTE_SWITCH_MONITOR_H_
#include "base/no_destructor.h"
#include "base/observer... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/microphone_mute_switch_monitor.h | C++ | unknown | 2,328 |
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/mmi_device_info_adapter_impl.cc | C++ | unknown | 2,547 |
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/mmi_device_info_adapter_impl.h | C++ | unknown | 2,169 |
/*
* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/mmi_device_info_adapter_impl_unittest.cc | C++ | unknown | 3,488 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_STYLUS_STATE_H_
#define UI_EVENTS_DEVICES_STYLUS_STATE_H_
namespace ui {
// Current state of the stylus (ie, inside or outside of the device).
enum ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/stylus_state.h | C++ | unknown | 427 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/touch_device_transform.h"
namespace ui {
TouchDeviceTransform::TouchDeviceTransform() = default;
TouchDeviceTransform::~TouchDeviceTransform() = ... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/touch_device_transform.cc | C++ | unknown | 349 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_TOUCH_DEVICE_TRANSFORM_H_
#define UI_EVENTS_DEVICES_TOUCH_DEVICE_TRANSFORM_H_
#include <stdint.h>
#include "ui/display/types/display_constants.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/touch_device_transform.h | C++ | unknown | 851 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/touchscreen_device.h"
#include <ostream>
#include <string>
#include "ui/events/devices/input_device.h"
namespace ui {
TouchscreenDevice::Touchsc... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/touchscreen_device.cc | C++ | unknown | 1,989 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_TOUCHSCREEN_DEVICE_H_
#define UI_EVENTS_DEVICES_TOUCHSCREEN_DEVICE_H_
#include <stdint.h>
#include <ostream>
#include <string>
#include "ui/display... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/touchscreen_device.h | C++ | unknown | 2,159 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/touchscreen_device.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/devices/input_device.h"
namespace ui {
namespace {
const... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/touchscreen_device_unittest.cc | C++ | unknown | 1,158 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/x11/device_data_manager_x11.h"
#include <stddef.h>
#include <algorithm>
#include <utility>
#include "base/at_exit.h"
#include "base/command_line.... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/device_data_manager_x11.cc | C++ | unknown | 32,814 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_X11_DEVICE_DATA_MANAGER_X11_H_
#define UI_EVENTS_DEVICES_X11_DEVICE_DATA_MANAGER_X11_H_
#include <bitset>
#include <functional>
#include <map>
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/device_data_manager_x11.h | C++ | unknown | 16,778 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/x11/device_list_cache_x11.h"
#include <algorithm>
#include "base/memory/singleton.h"
#include "ui/events/devices/x11/device_data_manager_x11.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/device_list_cache_x11.cc | C++ | unknown | 1,345 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_X11_DEVICE_LIST_CACHE_X11_H_
#define UI_EVENTS_DEVICES_X11_DEVICE_LIST_CACHE_X11_H_
#include <map>
#include <memory>
#include "ui/events/devices/x11... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/device_list_cache_x11.h | C++ | unknown | 1,916 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_X11_EVENTS_DEVICES_X11_EXPORT_H_
#define UI_EVENTS_DEVICES_X11_EVENTS_DEVICES_X11_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defi... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/events_devices_x11_export.h | C | unknown | 871 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/x11/touch_factory_x11.h"
#include <stddef.h>
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/touch_factory_x11.cc | C++ | unknown | 13,752 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_
#define UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_
#include <stdint.h>
#include <bitset>
#include <map>
#include <set>
#inc... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/touch_factory_x11.h | C++ | unknown | 5,912 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_DEVICES_X11_XINPUT_UTIL_H_
#define UI_EVENTS_DEVICES_X11_XINPUT_UTIL_H_
#include <cstdint>
#include "ui/events/devices/x11/events_devices_x11_export.h"
nam... | Zhao-PengFei35/chromium_src_4 | ui/events/devices/x11/xinput_util.h | C++ | unknown | 777 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/event.h"
#include <cmath>
#include <cstring>
#include <memory>
#include <string>
#include <utility>
#include "base/logging.h"
#include "base/memory/ptr_ut... | Zhao-PengFei35/chromium_src_4 | ui/events/event.cc | C++ | unknown | 42,794 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_EVENT_H_
#define UI_EVENTS_EVENT_H_
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "base/containers/flat_map.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/events/event.h | C++ | unknown | 41,015 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_EVENT_CONSTANTS_H_
#define UI_EVENTS_EVENT_CONSTANTS_H_
#include "build/build_config.h"
namespace ui {
// Event flags currently supported. It is OK to add ... | Zhao-PengFei35/chromium_src_4 | ui/events/event_constants.h | C++ | unknown | 8,053 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/event_dispatcher.h"
#include "base/ranges/algorithm.h"
#include "ui/events/event_target.h"
#include "ui/events/event_targeter.h"
namespace ui {
namespace... | Zhao-PengFei35/chromium_src_4 | ui/events/event_dispatcher.cc | C++ | unknown | 6,182 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_EVENT_DISPATCHER_H_
#define UI_EVENTS_EVENT_DISPATCHER_H_
#include "base/auto_reset.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ptr_exclusi... | Zhao-PengFei35/chromium_src_4 | ui/events/event_dispatcher.h | C++ | unknown | 3,823 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/event_dispatcher.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/notreached.h"
#include "t... | Zhao-PengFei35/chromium_src_4 | ui/events/event_dispatcher_unittest.cc | C++ | unknown | 21,944 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/event_handler.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "ui/events/event.h"
#include "ui/events/event_dispatcher.h"
name... | Zhao-PengFei35/chromium_src_4 | ui/events/event_handler.cc | C++ | unknown | 1,976 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_EVENT_HANDLER_H_
#define UI_EVENTS_EVENT_HANDLER_H_
#include <vector>
#include "base/containers/stack.h"
#include "base/strings/string_piece.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/events/event_handler.h | C++ | unknown | 2,020 |