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 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/base/cursor/cursor_factory.h"
#include <ostream>
#include "base/check.h"
#include "base/check_op.h"
#include "base/memory/scoped_refptr.h"
#include "base/notreac... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/cursor_factory.cc | C++ | unknown | 7,293 |
// 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_BASE_CURSOR_CURSOR_FACTORY_H_
#define UI_BASE_CURSOR_CURSOR_FACTORY_H_
#include <string>
#include <vector>
#include "base/component_export.h"
#include "base/observ... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/cursor_factory.h | C++ | unknown | 2,857 |
// 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_BASE_CURSOR_CURSOR_SIZE_H_
#define UI_BASE_CURSOR_CURSOR_SIZE_H_
namespace ui {
enum class CursorSize { kNormal, kLarge };
} // namespace ui
#endif // UI_BASE_... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/cursor_size.h | C++ | unknown | 342 |
// 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/base/cursor/cursor.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/cursor/mojom/cursor_typ... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/cursor_unittest.cc | C++ | unknown | 2,278 |
include_rules = [
"+skia/public/mojom"
]
| Zhao-PengFei35/chromium_src_4 | ui/base/cursor/mojom/DEPS | Python | unknown | 43 |
// 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/base/cursor/mojom/cursor_mojom_traits.h"
#include "skia/public/mojom/bitmap_skbitmap_mojom_traits.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/mojom/cursor_mojom_traits.cc | C++ | unknown | 1,693 |
// 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_BASE_CURSOR_MOJOM_CURSOR_MOJOM_TRAITS_H_
#define UI_BASE_CURSOR_MOJOM_CURSOR_MOJOM_TRAITS_H_
#include "ui/base/cursor/cursor.h"
#include "ui/base/cursor/mojom/curso... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/mojom/cursor_mojom_traits.h | C++ | unknown | 919 |
// 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/base/cursor/mojom/cursor_mojom_traits.h"
#include "base/numerics/safe_conversions.h"
#include "skia/public/mojom/bitmap_skbitmap_mojom_traits.h"
#include "testing... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/mojom/cursor_mojom_traits_unittest.cc | C++ | unknown | 3,437 |
// 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_BASE_CURSOR_PLATFORM_CURSOR_H_
#define UI_BASE_CURSOR_PLATFORM_CURSOR_H_
#include "base/component_export.h"
#include "base/memory/ref_counted.h"
namespace ui {
//... | Zhao-PengFei35/chromium_src_4 | ui/base/cursor/platform_cursor.h | C++ | unknown | 1,305 |
// 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.
#include "ui/base/data_transfer_policy/data_transfer_endpoint.h"
#include "base/check_op.h"
#include "base/types/optional_util.h"
#include "third_party/abseil-cpp/absl/types/o... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_endpoint.cc | C++ | unknown | 1,799 |
// 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_BASE_DATA_TRANSFER_POLICY_DATA_TRANSFER_ENDPOINT_H_
#define UI_BASE_DATA_TRANSFER_POLICY_DATA_TRANSFER_ENDPOINT_H_
#include "build/build_config.h"
#include "third_p... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_endpoint.h | C++ | unknown | 3,662 |
// 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/base/data_transfer_policy/data_transfer_endpoint_serializer.h"
#include <string>
#include "base/containers/fixed_flat_map.h"
#include "base/json/json_reader.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_endpoint_serializer.cc | C++ | unknown | 4,092 |
// 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_BASE_DATA_TRANSFER_POLICY_DATA_TRANSFER_ENDPOINT_SERIALIZER_H_
#define UI_BASE_DATA_TRANSFER_POLICY_DATA_TRANSFER_ENDPOINT_SERIALIZER_H_
#include "ui/base/data_tran... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_endpoint_serializer.h | C++ | unknown | 1,288 |
// 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/base/data_transfer_policy/data_transfer_endpoint_serializer.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/da... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_endpoint_serializer_unittest.cc | C++ | unknown | 2,500 |
// 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/base/data_transfer_policy/data_transfer_endpoint.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace ui {
namespace {
constexpr ch... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_endpoint_unittest.cc | C++ | unknown | 2,840 |
// 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.
#include "ui/base/data_transfer_policy/data_transfer_policy_controller.h"
namespace ui {
// static
DataTransferPolicyController* DataTransferPolicyController::Get() {
retur... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_policy_controller.cc | C++ | unknown | 1,053 |
// 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_BASE_DATA_TRANSFER_POLICY_DATA_TRANSFER_POLICY_CONTROLLER_H_
#define UI_BASE_DATA_TRANSFER_POLICY_DATA_TRANSFER_POLICY_CONTROLLER_H_
#include "base/component_export... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/data_transfer_policy_controller.h | C++ | unknown | 3,437 |
// 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/base/data_transfer_policy/mock_data_transfer_policy_controller.h"
namespace ui {
MockDataTransferPolicyController::MockDataTransferPolicyController() = default;
... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/mock_data_transfer_policy_controller.cc | C++ | unknown | 422 |
// 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_BASE_DATA_TRANSFER_POLICY_MOCK_DATA_TRANSFER_POLICY_CONTROLLER_H_
#define UI_BASE_DATA_TRANSFER_POLICY_MOCK_DATA_TRANSFER_POLICY_CONTROLLER_H_
#include "testing/gmo... | Zhao-PengFei35/chromium_src_4 | ui/base/data_transfer_policy/mock_data_transfer_policy_controller.h | C++ | unknown | 1,850 |
// 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_BASE_DEFAULT_STYLE_H_
#define UI_BASE_DEFAULT_STYLE_H_
#include "build/build_config.h"
// This file contains the constants that provide the default style for UI
//... | Zhao-PengFei35/chromium_src_4 | ui/base/default_style.h | C++ | unknown | 1,681 |
// 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_BASE_DEVICE_FORM_FACTOR_H_
#define UI_BASE_DEVICE_FORM_FACTOR_H_
#include "base/component_export.h"
namespace ui {
enum DeviceFormFactor {
DEVICE_FORM_FACTOR_DE... | Zhao-PengFei35/chromium_src_4 | ui/base/device_form_factor.h | C++ | unknown | 665 |
// 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.
#include "ui/base/device_form_factor.h"
#include "base/android/jni_android.h"
#include "ui/base/ui_base_jni_headers/DeviceFormFactor_jni.h"
namespace ui {
DeviceFormFactor G... | Zhao-PengFei35/chromium_src_4 | ui/base/device_form_factor_android.cc | C++ | unknown | 535 |
// 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.
#include "ui/base/device_form_factor.h"
namespace ui {
DeviceFormFactor GetDeviceFormFactor() {
return DEVICE_FORM_FACTOR_DESKTOP;
}
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/base/device_form_factor_desktop.cc | C++ | unknown | 301 |
// 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.
#include "ui/base/device_form_factor.h"
#import <UIKit/UIKit.h>
namespace ui {
DeviceFormFactor GetDeviceFormFactor() {
UIUserInterfaceIdiom idiom = [[UIDevice currentDevi... | Zhao-PengFei35/chromium_src_4 | ui/base/device_form_factor_ios.mm | Objective-C++ | unknown | 480 |
include_rules = [
"+ui/ozone/public/ozone_platform.h",
"+third_party/mozilla",
]
| Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/DEPS | Python | unknown | 85 |
// 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.
#include "ui/base/dragdrop/download_file_info.h"
#include <utility>
namespace ui {
DownloadFileInfo::DownloadFileInfo(
const base::FilePath& filename,
std::unique_pt... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/download_file_info.cc | C++ | unknown | 489 |
// 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_BASE_DRAGDROP_DOWNLOAD_FILE_INFO_H_
#define UI_BASE_DRAGDROP_DOWNLOAD_FILE_INFO_H_
#include <memory>
#include "base/component_export.h"
#include "base/files/file_p... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/download_file_info.h | C++ | unknown | 818 |
// Copyright 2011 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_BASE_DRAGDROP_DOWNLOAD_FILE_INTERFACE_H_
#define UI_BASE_DRAGDROP_DOWNLOAD_FILE_INTERFACE_H_
#include "build/build_config.h"
#include "base/component_export.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/download_file_interface.h | C++ | unknown | 1,471 |
// 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/base/dragdrop/drag_drop_types.h"
#include "ui/base/dragdrop/mojom/drag_drop_types.mojom.h"
namespace ui {
using mojom::DragOperation;
// Ensure that the DragDr... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drag_drop_types.cc | C++ | unknown | 1,175 |
// Copyright 2011 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_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
#define UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
#include <stdint.h>
#include "base/component_export.h"
#include "build/build_config.h"... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drag_drop_types.h | C++ | unknown | 1,277 |
// 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/base/dragdrop/drag_drop_types.h"
#import <AppKit/AppKit.h>
namespace ui {
uint64_t DragDropTypes::DragOperationToNSDragOperation(int drag_operation) {
NSUInte... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drag_drop_types_mac.mm | Objective-C++ | unknown | 1,048 |
// Copyright 2011 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/base/dragdrop/drag_drop_types.h"
#include <oleidl.h>
#include <stdint.h>
namespace ui {
int DragDropTypes::DropEffectToDragOperation(uint32_t effect) {
int dr... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drag_drop_types_win.cc | C++ | unknown | 937 |
// Copyright 2011 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/base/dragdrop/drag_source_win.h"
#include "ui/base/dragdrop/os_exchange_data_provider_win.h"
namespace ui {
Microsoft::WRL::ComPtr<DragSourceWin> DragSourceWin:... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drag_source_win.cc | C++ | unknown | 970 |
// Copyright 2011 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_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_
#define UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_
#include <objidl.h>
#include <wrl/implements.h>
#include "base/component_export.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drag_source_win.h | C++ | unknown | 2,320 |
// 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.
#include "ui/base/dragdrop/drop_target_event.h"
#include "ui/events/event_utils.h"
namespace ui {
///////////////////////////////////////////////////////////////////////////... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drop_target_event.cc | C++ | unknown | 1,126 |
// 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_BASE_DRAGDROP_DROP_TARGET_EVENT_H_
#define UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_
#include "base/component_export.h"
#include "base/memory/raw_ref.h"
#include "ui/ba... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drop_target_event.h | C++ | unknown | 1,305 |
// Copyright 2011 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/base/dragdrop/drop_target_win.h"
#include <shlobj.h>
#include "base/check.h"
namespace ui {
IDropTargetHelper* DropTargetWin::cached_drop_target_helper_ = null... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drop_target_win.cc | C++ | unknown | 4,587 |
// Copyright 2011 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_BASE_DRAGDROP_DROP_TARGET_WIN_H_
#define UI_BASE_DRAGDROP_DROP_TARGET_WIN_H_
#include <objidl.h>
#include "base/component_export.h"
#include "base/memory/scoped_re... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/drop_target_win.h | C++ | unknown | 4,448 |
// 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/base/dragdrop/os_exchange_data.h"
#include <utility>
#include <vector>
#include "base/functional/callback.h"
#include "base/pickle.h"
#include "build/build_confi... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data.cc | C++ | unknown | 5,195 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vecto... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data.h | C++ | unknown | 8,657 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_H_
#include <memory>
#include <string>
#include <vector>
#include "bu... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider.h | C++ | unknown | 4,422 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_BUILDER_MAC_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_BUILDER_MAC_H_
#include <memory>
#include "ui/base/dragdr... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_builder_mac.h | C++ | unknown | 660 |
// 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/base/dragdrop/os_exchange_data_provider_builder_mac.h"
#include "ui/base/dragdrop/os_exchange_data_provider_mac.h"
namespace ui {
std::unique_ptr<OSExchangeData... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm | Objective-C++ | unknown | 441 |
// 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/base/dragdrop/os_exchange_data_provider_factory.h"
#include "base/notreached.h"
#include "build/build_config.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_factory.cc | C++ | unknown | 1,705 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_FACTORY_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_FACTORY_H_
#include <memory>
#include "base/component_export.... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_factory.h | C++ | unknown | 733 |
// 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.
#include "ui/base/dragdrop/os_exchange_data_provider_factory_ozone.h"
namespace ui {
OSExchangeDataProviderFactoryOzone*
OSExchangeDataProviderFactoryOzone::instance_ = n... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_factory_ozone.cc | C++ | unknown | 491 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_FACTORY_OZONE_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_FACTORY_OZONE_H_
#include <memory>
#include "base/compo... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_factory_ozone.h | C++ | unknown | 1,071 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_MAC_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_MAC_H_
#include <memory>
#include "base/component_export.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_mac.h | Objective-C | unknown | 3,781 |
// 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/base/dragdrop/os_exchange_data_provider_mac.h"
#import <Cocoa/Cocoa.h>
#include "base/check_op.h"
#include "base/mac/foundation_util.h"
#include "base/memory/ptr... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_mac.mm | Objective-C++ | unknown | 12,442 |
// 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/base/dragdrop/os_exchange_data_provider_non_backed.h"
#include <memory>
#include <string>
#include "base/check.h"
#include "base/containers/contains.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_non_backed.cc | C++ | unknown | 8,340 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_NON_BACKED_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_NON_BACKED_H_
#include <map>
#include <memory>
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_non_backed.h | C++ | unknown | 4,956 |
// 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.
#include "os_exchange_data_provider_non_backed.h"
#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/strings/strin... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_non_backed_unittest.cc | C++ | unknown | 3,729 |
// 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/base/dragdrop/os_exchange_data_provider_win.h"
#include <coml2api.h>
#include <objbase.h>
#include <objidl.h>
#include <shlobj.h>
#include <shobjidl.h>
#include <... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_win.cc | C++ | unknown | 46,274 |
// 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_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
#include <objidl.h>
#include <shlobj.h>
#include <stddef.h>... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_provider_win.h | C++ | unknown | 8,433 |
// 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.
#include <memory>
#include "base/files/file_util.h"
#include "base/pickle.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_unittest.cc | C++ | unknown | 7,982 |
// 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/base/dragdrop/os_exchange_data.h"
#include <objbase.h>
#include <memory>
#include "base/containers/contains.h"
#include "base/files/file_util.h"
#include "base/f... | Zhao-PengFei35/chromium_src_4 | ui/base/dragdrop/os_exchange_data_win_unittest.cc | C++ | unknown | 41,047 |
// 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/base/emoji/emoji_panel_helper.h"
namespace ui {
bool IsEmojiPanelSupported() {
return false;
}
void ShowEmojiPanel() {}
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/base/emoji/emoji_panel_helper.cc | C++ | unknown | 302 |
// 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_BASE_EMOJI_EMOJI_PANEL_HELPER_H_
#define UI_BASE_EMOJI_EMOJI_PANEL_HELPER_H_
#include "base/component_export.h"
#include "base/functional/callback.h"
#include "buil... | Zhao-PengFei35/chromium_src_4 | ui/base/emoji/emoji_panel_helper.h | C++ | unknown | 1,228 |
// 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/base/emoji/emoji_panel_helper.h"
#include "base/check.h"
#include "base/no_destructor.h"
namespace ui {
namespace {
base::RepeatingClosure& GetShowEmojiKeyboar... | Zhao-PengFei35/chromium_src_4 | ui/base/emoji/emoji_panel_helper_chromeos.cc | C++ | unknown | 1,348 |
// 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/base/emoji/emoji_panel_helper.h"
#include "chromeos/crosapi/mojom/emoji_picker.mojom.h"
#include "chromeos/lacros/lacros_service.h"
namespace ui {
bool IsEmojiP... | Zhao-PengFei35/chromium_src_4 | ui/base/emoji/emoji_panel_helper_lacros.cc | C++ | unknown | 682 |
// 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/base/emoji/emoji_panel_helper.h"
#import <Cocoa/Cocoa.h>
#include "base/feature_list.h"
namespace ui {
bool IsEmojiPanelSupported() {
return true;
}
void Sh... | Zhao-PengFei35/chromium_src_4 | ui/base/emoji/emoji_panel_helper_mac.mm | Objective-C++ | unknown | 401 |
// 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/base/emoji/emoji_panel_helper.h"
#include <windows.h>
#include "base/win/windows_version.h"
#include "ui/events/keycodes/keyboard_code_conversion_win.h"
namespa... | Zhao-PengFei35/chromium_src_4 | ui/base/emoji/emoji_panel_helper_win.cc | C++ | unknown | 1,400 |
// Copyright 2011 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/base/fullscreen_win.h"
#include <windows.h>
#include <shellapi.h>
namespace ui {
namespace {
bool IsPlatformFullScreenMode() {
QUERY_USER_NOTIFICATION_STATE... | Zhao-PengFei35/chromium_src_4 | ui/base/fullscreen_win.cc | C++ | unknown | 2,400 |
// 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_BASE_FULLSCREEN_WIN_H_
#define UI_BASE_FULLSCREEN_WIN_H_
namespace ui {
// Returns true if the active window is running in fullscreen mode.
bool IsFullScreenMode()... | Zhao-PengFei35/chromium_src_4 | ui/base/fullscreen_win.h | C++ | unknown | 380 |
// 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_BASE_GLIB_GLIB_CAST_H_
#define UI_BASE_GLIB_GLIB_CAST_H_
#include <glib-object.h>
#include "base/check.h"
template <typename T, typename U>
T* GlibCast(U* instanc... | Zhao-PengFei35/chromium_src_4 | ui/base/glib/glib_cast.h | C++ | unknown | 657 |
// Copyright 2011 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_BASE_GLIB_GLIB_INTEGERS_H_
#define UI_BASE_GLIB_GLIB_INTEGERS_H_
#include <cstdint>
// GLib/GObject/Gtk all use their own integer typedefs. They are copied here
//... | Zhao-PengFei35/chromium_src_4 | ui/base/glib/glib_integers.h | C++ | unknown | 801 |
// Copyright 2011 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_BASE_GLIB_GLIB_SIGNAL_H_
#define UI_BASE_GLIB_GLIB_SIGNAL_H_
typedef void* gpointer;
// At the time of writing this, there were two common ways of binding our C++
... | Zhao-PengFei35/chromium_src_4 | ui/base/glib/glib_signal.h | C | unknown | 9,294 |
// 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_BASE_GLIB_SCOPED_GOBJECT_H_
#define UI_BASE_GLIB_SCOPED_GOBJECT_H_
#include <glib-object.h>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
// Similar to... | Zhao-PengFei35/chromium_src_4 | ui/base/glib/scoped_gobject.h | C++ | unknown | 2,296 |
// 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/base/hit_test.h"
namespace ui {
bool IsResizingComponent(int component) {
switch (component) {
case HTBOTTOM:
case HTBOTTOMLEFT:
case HTBOTTOMRIGHT... | Zhao-PengFei35/chromium_src_4 | ui/base/hit_test.cc | C++ | unknown | 607 |
// Copyright 2011 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_BASE_HIT_TEST_H_
#define UI_BASE_HIT_TEST_H_
#include "build/build_config.h"
#if BUILDFLAG(IS_WIN)
// Define the HT* values so that this header can be included wh... | Zhao-PengFei35/chromium_src_4 | ui/base/hit_test.h | C++ | unknown | 2,255 |
include_rules = [
"+chromeos/ash/components/dbus/session_manager",
"+chromeos/dbus/dbus_thread_manager.h",
"+chromeos/lacros",
"+dbus",
"+ui/base/ui_base_jni_headers",
]
| Zhao-PengFei35/chromium_src_4 | ui/base/idle/DEPS | Python | unknown | 180 |
// Copyright 2011 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/base/idle/idle.h"
#include "ui/base/idle/idle_internal.h"
namespace ui {
IdleState CalculateIdleState(int idle_threshold) {
if (IdleStateForTesting().has_valu... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle.cc | C++ | unknown | 555 |
// 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_BASE_IDLE_IDLE_H_
#define UI_BASE_IDLE_IDLE_H_
#include "base/component_export.h"
#include "build/build_config.h"
namespace ui {
enum IdleState {
IDLE_STATE_ACT... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle.h | C++ | unknown | 1,210 |
// 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/base/idle/idle.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.h"
#include "base/memory/singleton.h"
#include "base/notreached.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_android.cc | C++ | unknown | 2,515 |
// 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/base/idle/idle.h"
#include "base/time/time.h"
#include "chromeos/ash/components/dbus/session_manager/session_manager_client.h"
#include "ui/base/idle/idle_interna... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_chromeos.cc | C++ | unknown | 815 |
// 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/base/idle/idle.h"
#include "base/notreached.h"
namespace ui {
int CalculateIdleTime() {
// TODO(crbug.com/1133867): Implement this.
NOTIMPLEMENTED();
retu... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_fuchsia.cc | C++ | unknown | 465 |
// 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/base/idle/idle_internal.h"
namespace ui {
absl::optional<IdleState>& IdleStateForTesting() {
static absl::optional<IdleState> idle_state;
return idle_state;
... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_internal.cc | C++ | unknown | 342 |
// 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_BASE_IDLE_IDLE_INTERNAL_H_
#define UI_BASE_IDLE_IDLE_INTERNAL_H_
#include "base/component_export.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_internal.h | C++ | unknown | 619 |
// 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/base/idle/idle.h"
#include "base/notreached.h"
namespace ui {
int CalculateIdleTime() {
// TODO(crbug.com/1412105): Implement this.
NOTIMPLEMENTED();
retu... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_ios.mm | Objective-C++ | unknown | 465 |
// 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/base/idle/idle.h"
#include <algorithm>
#include "chromeos/lacros/lacros_service.h"
#include "chromeos/lacros/system_idle_cache.h"
namespace ui {
int CalculateI... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_lacros.cc | C++ | unknown | 718 |
// 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 "base/memory/raw_ptr.h"
#include "base/notreached.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"
#include "ui/base/idle/idle.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_linux.cc | C++ | unknown | 8,455 |
// 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/base/idle/idle.h"
#include <ApplicationServices/ApplicationServices.h>
#import <Cocoa/Cocoa.h>
#include "ui/base/idle/idle_internal.h"
@interface MacScreenMonit... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_mac.mm | Objective-C++ | unknown | 2,777 |
// 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/base/idle/idle_polling_service.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
#include "base/task/sequenced_task_runner.h"
#include "ui/base/i... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_polling_service.cc | C++ | unknown | 2,977 |
// 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_BASE_IDLE_IDLE_POLLING_SERVICE_H_
#define UI_BASE_IDLE_IDLE_POLLING_SERVICE_H_
#include <memory>
#include "base/component_export.h"
#include "base/memory/scoped_re... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_polling_service.h | C++ | unknown | 1,803 |
// 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_BASE_IDLE_IDLE_TIME_PROVIDER_H_
#define UI_BASE_IDLE_IDLE_TIME_PROVIDER_H_
#include "base/time/time.h"
namespace ui {
// Provides an interface for querying a user... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_time_provider.h | C++ | unknown | 658 |
// Copyright 2011 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/base/idle/idle.h"
#include <limits.h>
#include <windows.h>
#include "ui/base/idle/idle_internal.h"
#include "ui/base/win/lock_state.h"
namespace ui {
namespace ... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/idle_win.cc | C++ | unknown | 1,632 |
// 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/base/idle/scoped_set_idle_state.h"
#include "ui/base/idle/idle_internal.h"
namespace ui {
ScopedSetIdleState::ScopedSetIdleState(IdleState state)
: previous... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/scoped_set_idle_state.cc | C++ | unknown | 498 |
// 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_BASE_IDLE_SCOPED_SET_IDLE_STATE_H_
#define UI_BASE_IDLE_SCOPED_SET_IDLE_STATE_H_
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/base/idle/idle... | Zhao-PengFei35/chromium_src_4 | ui/base/idle/scoped_set_idle_state.h | C++ | unknown | 707 |
include_rules = [
"+chromeos/ash/components/system",
"+mojo/public",
"+services/metrics/public/cpp",
"+ui/linux",
]
| Zhao-PengFei35/chromium_src_4 | ui/base/ime/DEPS | Python | unknown | 124 |
# 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.
"""Presubmit script for ui/base/ime
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into depot_tools.
"... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/PRESUBMIT.py | Python | unknown | 2,335 |
include_rules = [
"+chromeos/ash/services/ime/public/mojom",
"+chromeos/ime",
"+ui/chromeos/strings",
"+ui/ozone/public",
]
| Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/DEPS | Python | unknown | 132 |
# 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.
PRESUBMIT_VERSION = '2.0.0'
USE_PYTHON3 = True
def CheckTastIsRequested(input_api, output_api):
"""Checks that the user did add the tast trybot to the description
"""
keywo... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/PRESUBMIT.py | Python | unknown | 700 |
// 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.
#include "ui/base/ime/ash/component_extension_ime_manager.h"
#include <stddef.h>
#include <utility>
#include "base/command_line.h"
#include "base/strings/string_util.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/component_extension_ime_manager.cc | C++ | unknown | 5,828 |
// 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_BASE_IME_ASH_COMPONENT_EXTENSION_IME_MANAGER_H_
#define UI_BASE_IME_ASH_COMPONENT_EXTENSION_IME_MANAGER_H_
#include <map>
#include <memory>
#include <set>
#include... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/component_extension_ime_manager.h | C++ | unknown | 3,982 |
// 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_BASE_IME_ASH_COMPONENT_EXTENSION_IME_MANAGER_DELEGATE_H_
#define UI_BASE_IME_ASH_COMPONENT_EXTENSION_IME_MANAGER_DELEGATE_H_
#include "base/component_export.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/component_extension_ime_manager_delegate.h | C++ | unknown | 1,232 |
// 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.
#include "ui/base/ime/ash/component_extension_ime_manager.h"
#include <stddef.h>
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "testing/gtest/in... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/component_extension_ime_manager_unittest.cc | C++ | unknown | 7,156 |
// 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.
#include "ui/base/ime/ash/extension_ime_util.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "build/branding_buildflags.h"
namespace ash {
... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/extension_ime_util.cc | C++ | unknown | 7,602 |
// 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_BASE_IME_ASH_EXTENSION_IME_UTIL_H_
#define UI_BASE_IME_ASH_EXTENSION_IME_UTIL_H_
#include <string>
#include "base/auto_reset.h"
#include "base/component_export.h"
... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/extension_ime_util.h | C++ | unknown | 4,864 |
// 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.
#include "ui/base/ime/ash/extension_ime_util.h"
#include <string>
#include "base/strings/strcat.h"
#include "build/branding_buildflags.h"
#include "testing/gtest/include/gtes... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/extension_ime_util_unittest.cc | C++ | unknown | 4,585 |
// 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/base/ime/ash/fake_ime_keyboard.h"
namespace ash {
namespace input_method {
FakeImeKeyboard::FakeImeKeyboard()
: set_current_keyboard_layout_by_name_count_(0)... | Zhao-PengFei35/chromium_src_4 | ui/base/ime/ash/fake_ime_keyboard.cc | C++ | unknown | 1,352 |