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 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/ozone/test/mock_platform_window_delegate.h"
namespace ui {
MockPlatformWindowDelegate::MockPlatformWindowDelegate() {}
MockPlatformWindowDelegate::~MockPlatform... | Zhao-PengFei35/chromium_src_4 | ui/ozone/test/mock_platform_window_delegate.cc | C++ | unknown | 538 |
// 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_OZONE_TEST_MOCK_PLATFORM_WINDOW_DELEGATE_H_
#define UI_OZONE_TEST_MOCK_PLATFORM_WINDOW_DELEGATE_H_
#include "testing/gmock/include/gmock/gmock.h"
#include "third_pa... | Zhao-PengFei35/chromium_src_4 | ui/ozone/test/mock_platform_window_delegate.h | C++ | unknown | 2,336 |
// 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 "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "mojo/core/embedder/configuration.h"
#include "mojo/core/embedder/embedder.h"
int... | Zhao-PengFei35/chromium_src_4 | ui/ozone/test/ozone_integration_tests_main.cc | C++ | unknown | 580 |
include_rules = [
"+gmock",
]
| Zhao-PengFei35/chromium_src_4 | ui/ozone/testhelpers/DEPS | Python | unknown | 32 |
// 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_OZONE_TESTHELPERS_MOCK_GESTURE_PROPERTIES_SERVICE_H_
#define UI_OZONE_TESTHELPERS_MOCK_GESTURE_PROPERTIES_SERVICE_H_
#include "gmock/gmock.h"
#include "ui/ozone/pub... | Zhao-PengFei35/chromium_src_4 | ui/ozone/testhelpers/mock_gesture_properties_service.h | C++ | unknown | 1,394 |
include_rules = [
"+third_party/skia/include",
"+ui/base",
"+ui/display",
"+ui/gfx",
]
| Zhao-PengFei35/chromium_src_4 | ui/platform_window/DEPS | Python | unknown | 95 |
// 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/platform_window/common/platform_window_defaults.h"
namespace ui {
namespace {
bool g_use_test_config = false;
} // namespace
bool UseTestConfigForPlatformWind... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/common/platform_window_defaults.cc | C++ | unknown | 492 |
// 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_PLATFORM_WINDOW_COMMON_PLATFORM_WINDOW_DEFAULTS_H_
#define UI_PLATFORM_WINDOW_COMMON_PLATFORM_WINDOW_DEFAULTS_H_
#include "base/component_export.h"
namespace ui {
... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/common/platform_window_defaults.h | C++ | unknown | 1,378 |
// 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/platform_window/extensions/desk_extension.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(ui... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/desk_extension.cc | C++ | unknown | 789 |
// 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_PLATFORM_WINDOW_EXTENSIONS_DESK_EXTENSION_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_DESK_EXTENSION_H_
#include <string>
#include "base/component_export.h"
namespac... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/desk_extension.h | C++ | unknown | 1,528 |
// 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/platform_window/extensions/pinned_mode_extension.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/pinned_mode_extension.cc | C++ | unknown | 898 |
// 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_PLATFORM_WINDOW_EXTENSIONS_PINNED_MODE_EXTENSION_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_PINNED_MODE_EXTENSION_H_
#include "base/component_export.h"
namespace ui ... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/pinned_mode_extension.h | C++ | unknown | 1,360 |
// 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/platform_window/extensions/system_modal_extension.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/system_modal_extension.cc | C++ | unknown | 911 |
// 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_PLATFORM_WINDOW_EXTENSIONS_SYSTEM_MODAL_EXTENSION_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_SYSTEM_MODAL_EXTENSION_H_
#include "base/component_export.h"
namespace u... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/system_modal_extension.h | C++ | unknown | 928 |
// 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/platform_window/extensions/wayland_extension.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/wayland_extension.cc | C++ | unknown | 834 |
// 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_PLATFORM_WINDOW_EXTENSIONS_WAYLAND_EXTENSION_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_WAYLAND_EXTENSION_H_
#include "base/component_export.h"
#include "build/chrome... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/wayland_extension.h | C++ | unknown | 3,660 |
// 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/platform_window/extensions/workspace_extension.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TY... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/workspace_extension.cc | C++ | unknown | 945 |
// 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_PLATFORM_WINDOW_EXTENSIONS_WORKSPACE_EXTENSION_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_WORKSPACE_EXTENSION_H_
#include <string>
#include "base/component_export.h"... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/workspace_extension.h | C++ | unknown | 1,834 |
// 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_PLATFORM_WINDOW_EXTENSIONS_WORKSPACE_EXTENSION_DELEGATE_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_WORKSPACE_EXTENSION_DELEGATE_H_
#include "base/component_export.h"
... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/workspace_extension_delegate.h | C++ | unknown | 843 |
// 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/platform_window/extensions/x11_extension.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(ui:... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/x11_extension.cc | C++ | unknown | 818 |
// 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_PLATFORM_WINDOW_EXTENSIONS_X11_EXTENSION_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_X11_EXTENSION_H_
#include "base/component_export.h"
#include "ui/gfx/geometry/rect... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/x11_extension.h | C++ | unknown | 2,175 |
// 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_PLATFORM_WINDOW_EXTENSIONS_X11_EXTENSION_DELEGATE_H_
#define UI_PLATFORM_WINDOW_EXTENSIONS_X11_EXTENSION_DELEGATE_H_
#include "base/component_export.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/extensions/x11_extension_delegate.h | C++ | unknown | 2,270 |
// 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/platform_window/fuchsia/initialize_presenter_api_view.h"
#include <lib/sys/cpp/component_context.h>
#include <lib/ui/scenic/cpp/view_ref_pair.h>
#include <lib/u... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/fuchsia/initialize_presenter_api_view.cc | C++ | unknown | 2,218 |
// 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_PLATFORM_WINDOW_FUCHSIA_INITIALIZE_PRESENTER_API_VIEW_H_
#define UI_PLATFORM_WINDOW_FUCHSIA_INITIALIZE_PRESENTER_API_VIEW_H_
#include <fuchsia/element/cpp/fidl.h>
#... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/fuchsia/initialize_presenter_api_view.h | C++ | unknown | 1,840 |
// 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_PLATFORM_WINDOW_FUCHSIA_SCENIC_WINDOW_DELEGATE_H_
#define UI_PLATFORM_WINDOW_FUCHSIA_SCENIC_WINDOW_DELEGATE_H_
namespace ui {
// Interface use by ScenicWindow to n... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/fuchsia/scenic_window_delegate.h | C++ | unknown | 713 |
// 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/platform_window/platform_window.h"
#include <string>
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/rect.h"
namespace ui {
PlatformWindow::Platf... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/platform_window.cc | C++ | unknown | 2,058 |
// 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_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
#define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
#include <memory>
#include <string>
#include <vector>
#include "base/component_exp... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/platform_window.h | C++ | unknown | 9,799 |
// 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/platform_window/platform_window_delegate.h"
#include <sstream>
#include "base/notreached.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/base/o... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/platform_window_delegate.cc | C++ | unknown | 3,011 |
// 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_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
#define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
#include <string>
#include "base/component_export.h"
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/platform_window_delegate.h | C++ | unknown | 8,694 |
// 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/platform_window/platform_window_init_properties.h"
namespace ui {
PlatformWindowInitProperties::PlatformWindowInitProperties() = default;
PlatformWindowInitProp... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/platform_window_init_properties.cc | C++ | unknown | 619 |
// 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_PLATFORM_WINDOW_PLATFORM_WINDOW_INIT_PROPERTIES_H_
#define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_INIT_PROPERTIES_H_
#include <string>
#include "base/component_export.... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/platform_window_init_properties.h | C++ | unknown | 4,940 |
// 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/platform_window/stub/stub_window.h"
#include "base/memory/scoped_refptr.h"
#include "base/notreached.h"
#include "ui/base/cursor/platform_cursor.h"
#include "ui/d... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/stub/stub_window.cc | C++ | unknown | 3,736 |
// 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_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_
#define UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_
#include "base/memory/raw_ptr.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/p... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/stub/stub_window.h | C++ | unknown | 2,995 |
// 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_PLATFORM_WINDOW_STUB_STUB_WINDOW_EXPORT_H_
#define UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(STUB_W... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/stub/stub_window_export.h | C | unknown | 800 |
include_rules = [
"+ui/events",
"+ui/gfx",
]
| Zhao-PengFei35/chromium_src_4 | ui/platform_window/win/DEPS | Python | unknown | 49 |
// 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/platform_window/win/win_window.h"
#include <windows.h>
#include <algorithm>
#include <memory>
#include <string>
#include "base/memory/scoped_refptr.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/win/win_window.cc | C++ | unknown | 8,708 |
// 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_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_
#define UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/win/win_window.h | C++ | unknown | 4,945 |
// 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_PLATFORM_WINDOW_WIN_WIN_WINDOW_EXPORT_H_
#define UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(WIN_WINDOW... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/win/win_window_export.h | C | unknown | 786 |
include_rules = [
"+ui/base/class_property.h",
"+ui/platform_window/platform_window.h",
]
| Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/DEPS | Python | unknown | 94 |
// 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/platform_window/wm/wm_drag_handler.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(ui::WmDra... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_drag_handler.cc | C++ | unknown | 992 |
// 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_PLATFORM_WINDOW_WM_WM_DRAG_HANDLER_H_
#define UI_PLATFORM_WINDOW_WM_WM_DRAG_HANDLER_H_
#include "base/component_export.h"
#include "base/functional/callback.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_drag_handler.h | C++ | unknown | 3,918 |
// 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/platform_window/wm/wm_drop_handler.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(ui::WmDro... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_drop_handler.cc | C++ | unknown | 750 |
// 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_PLATFORM_WINDOW_WM_WM_DROP_HANDLER_H_
#define UI_PLATFORM_WINDOW_WM_WM_DROP_HANDLER_H_
#include <memory>
#include "base/component_export.h"
namespace gfx {
class ... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_drop_handler.h | C++ | unknown | 2,417 |
// 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/platform_window/wm/wm_move_loop_handler.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(ui::... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_move_loop_handler.cc | C++ | unknown | 795 |
// 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_PLATFORM_WINDOW_WM_WM_MOVE_LOOP_HANDLER_H_
#define UI_PLATFORM_WINDOW_WM_WM_MOVE_LOOP_HANDLER_H_
#include "base/component_export.h"
namespace gfx {
class Vector2d;... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_move_loop_handler.h | C++ | unknown | 1,087 |
// 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/platform_window/wm/wm_move_resize_handler.h"
#include "ui/base/class_property.h"
#include "ui/platform_window/platform_window.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(Wm... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_move_resize_handler.cc | C++ | unknown | 890 |
// 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_PLATFORM_WINDOW_WM_WM_MOVE_RESIZE_HANDLER_H_
#define UI_PLATFORM_WINDOW_WM_WM_MOVE_RESIZE_HANDLER_H_
#include "base/component_export.h"
namespace gfx {
class Point... | Zhao-PengFei35/chromium_src_4 | ui/platform_window/wm/wm_move_resize_handler.h | C++ | unknown | 2,674 |
include_rules = [
"+cc/paint/paint_canvas.h",
"+chrome/browser/themes/theme_properties.h",
"+printing",
"+third_party/skia",
"+ui/base",
"+ui/color",
"+ui/gfx",
"+ui/linux",
"+ui/native_theme",
"+ui/shell_dialogs",
"+ui/views",
]
| Zhao-PengFei35/chromium_src_4 | ui/qt/DEPS | Python | unknown | 252 |
#!/usr/bin/env bash
# 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.
set -o nounset
set -o errexit
URL="http://archive.debian.org/debian/pool/main/q/qtbase-opensource-src"
PACKAGE="qtbase5-dev-tools_5.3.2+dfsg-4+deb8u2_amd64.de... | Zhao-PengFei35/chromium_src_4 | ui/qt/gen_qt_shim_moc.sh | Shell | unknown | 987 |
#!/usr/bin/env python3
# Copyright 2022 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.
import subprocess
import sys
subprocess.check_call(["moc", sys.argv[1], "-o", sys.argv[2]])
| Zhao-PengFei35/chromium_src_4 | ui/qt/moc_wrapper.py | Python | unknown | 280 |
// 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/qt/qt_interface.h"
#include <cstdlib>
#include <cstring>
namespace qt {
String::String() = default;
String::String(const char* str) {
if (str)
str_ = str... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_interface.cc | C++ | unknown | 1,199 |
// 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_QT_QT_INTERFACE_H_
#define UI_QT_QT_INTERFACE_H_
// This file shouldn't include any standard C++ headers (directly or indirectly)
#if defined(__has_attribute) && _... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_interface.h | C++ | unknown | 3,448 |
// 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.
// IMPORTANT NOTE: All QtShim members that use `delegate_` must be decorated
// with DISABLE_CFI_VCALL.
#include "ui/qt/qt_shim.h"
#include <stdio.h>
#include <QApplication>... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_shim.cc | C++ | unknown | 10,455 |
// 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_QT_QT_SHIM_H_
#define UI_QT_QT_SHIM_H_
#include <QApplication>
#include <QImage>
#include <QObject>
#include "ui/qt/qt_interface.h"
namespace qt {
// This class ... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_shim.h | C++ | unknown | 1,759 |
// 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.
/****************************************************************************
** Meta object code from reading C++ file 'qt_shim.h'
**
** Created by: The Qt Meta Object Compile... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_shim_moc.cc | C++ | unknown | 3,891 |
// 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.
// IMPORTANT NOTE: All QtUi members that use `shim_` must be decorated
// with DISABLE_CFI_VCALL.
#include "ui/qt/qt_ui.h"
#include <dlfcn.h>
#include <algorithm>
#include ... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_ui.cc | C++ | unknown | 20,377 |
// 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_QT_QT_UI_H_
#define UI_QT_QT_UI_H_
#include <memory>
#include "base/component_export.h"
#include "printing/buildflags/buildflags.h"
#include "third_party/abseil-cp... | Zhao-PengFei35/chromium_src_4 | ui/qt/qt_ui.h | C++ | unknown | 4,530 |
# 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.
"""Presubmit script for Chromium UI resources.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into dep... | Zhao-PengFei35/chromium_src_4 | ui/resources/PRESUBMIT.py | Python | unknown | 1,405 |
# 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.
"""Presubmit script for Chromium browser resources.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built int... | Zhao-PengFei35/chromium_src_4 | ui/resources/resource_check/ico_files.py | Python | unknown | 2,043 |
# 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.
"""Presubmit script for Chromium browser resources.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built int... | Zhao-PengFei35/chromium_src_4 | ui/resources/resource_check/resource_scale_factors.py | Python | unknown | 4,848 |
include_rules = [
"+chromeos/crosapi",
"+chromeos/lacros",
"+components/dbus/thread_linux",
"+components/remote_cocoa",
"+dbus",
"+mojo/core/embedder",
"+mojo/public/cpp/bindings",
"+ui/android/window_android.h",
"+ui/aura",
"+ui/base",
"+ui/gfx",
"+ui/linux",
"+ui/platform_window",
"+ui/str... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/DEPS | Python | unknown | 347 |
// 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/shell_dialogs/base_shell_dialog.h"
namespace ui {
BaseShellDialog::~BaseShellDialog() {}
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/base_shell_dialog.cc | C++ | unknown | 268 |
// 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_SHELL_DIALOGS_BASE_SHELL_DIALOG_H_
#define UI_SHELL_DIALOGS_BASE_SHELL_DIALOG_H_
#include "ui/gfx/native_widget_types.h"
#include "ui/shell_dialogs/shell_dialogs_ex... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/base_shell_dialog.h | C++ | unknown | 881 |
// 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/shell_dialogs/base_shell_dialog_win.h"
#include <algorithm>
#include "base/no_destructor.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/base_shell_dialog_win.cc | C++ | unknown | 3,183 |
// 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_SHELL_DIALOGS_BASE_SHELL_DIALOG_WIN_H_
#define UI_SHELL_DIALOGS_BASE_SHELL_DIALOG_WIN_H_
#include <shlobj.h>
#include <memory>
#include <set>
#include "base/memor... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/base_shell_dialog_win.h | C++ | unknown | 3,590 |
// 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/shell_dialogs/execute_select_file_win.h"
#include <shlobj.h>
#include <wrl/client.h>
#include "base/files/file.h"
#include "base/files/file_util.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/execute_select_file_win.cc | C++ | unknown | 14,107 |
// 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_SHELL_DIALOGS_EXECUTE_SELECT_FILE_WIN_H_
#define UI_SHELL_DIALOGS_EXECUTE_SELECT_FILE_WIN_H_
#include <string>
#include <utility>
#include <vector>
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/execute_select_file_win.h | C++ | unknown | 1,653 |
// 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/shell_dialogs/fake_select_file_dialog.h"
#include "ui/shell_dialogs/select_file_policy.h"
#include "url/gurl.h"
namespace ui {
FakeSelectFileDialog::Factory::Fa... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/fake_select_file_dialog.cc | C++ | unknown | 2,866 |
// 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_SHELL_DIALOGS_FAKE_SELECT_FILE_DIALOG_H_
#define UI_SHELL_DIALOGS_FAKE_SELECT_FILE_DIALOG_H_
#include <string>
#include "base/functional/callback.h"
#include "base... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/fake_select_file_dialog.h | C++ | unknown | 4,500 |
// 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 "base/functional/bind.h"
#include "base/path_service.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "build/build_conf... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/run_all_unittests.cc | C++ | unknown | 1,816 |
// 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/shell_dialogs/select_file_dialog.h"
#include <stddef.h>
#include <algorithm>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/location.h"... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog.cc | C++ | unknown | 5,613 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_
#include <memory>
#include <string>
#include <vector>
#include "base/files/file_... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog.h | C++ | unknown | 11,294 |
// 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 "select_file_dialog_android.h"
#include "base/android/jni_android.h"
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
#include "base/android/s... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_android.cc | C++ | unknown | 5,587 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_ANDROID_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_ANDROID_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_android.h | C++ | unknown | 2,709 |
// 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/shell_dialogs/select_file_dialog_factory.h"
namespace ui {
SelectFileDialogFactory::~SelectFileDialogFactory() {}
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_factory.cc | C++ | unknown | 293 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_
#include "ui/shell_dialogs/select_file_dialog.h"
#include "ui/she... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_factory.h | C++ | unknown | 1,057 |
// 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/shell_dialogs/select_file_dialog.h"
#include "base/notreached.h"
#include "ui/shell_dialogs/select_file_policy.h"
namespace ui {
SelectFileDialog* CreateSelectF... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_fuchsia.cc | C++ | unknown | 477 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_IOS_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_IOS_H_
#include <memory>
#include "base/files/file_path.h"
#include "base/funct... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_ios.h | Objective-C | unknown | 2,149 |
// 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/shell_dialogs/select_file_dialog_ios.h"
#import <UIKit/UIDocumentPickerViewController.h>
#import <UIKit/UIKit.h>
#import <UniformTypeIdentifiers/UniformTypeIdenti... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_ios.mm | Objective-C++ | unknown | 6,603 |
// 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/shell_dialogs/select_file_dialog_lacros.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "chromeos/crosapi/mojom/sel... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_lacros.cc | C++ | unknown | 6,562 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_LACROS_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_LACROS_H_
#include <vector>
#include "base/memory/raw_ptr.h"
#include "chrom... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_lacros.h | C++ | unknown | 2,674 |
// 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.
//
// This file implements common select dialog functionality between GTK and KDE.
#include "ui/shell_dialogs/select_file_dialog_linux.h"
#include "base/files/file_util.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_linux.cc | C++ | unknown | 1,186 |
// 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.
//
// This file implements common select dialog functionality between GTK and KDE.
#ifndef UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_LINUX_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIA... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_linux.h | C++ | unknown | 3,628 |
// 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 <cstddef>
#include <memory>
#include <set>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_linux_kde.cc | C++ | unknown | 22,763 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_LINUX_KDE_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_LINUX_KDE_H_
#include <string>
#include "base/nix/xdg_util.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_linux_kde.h | C++ | unknown | 704 |
// 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/shell_dialogs/select_file_dialog_linux_portal.h"
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_linux_portal.cc | C++ | unknown | 28,607 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_LINUX_PORTAL_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_LINUX_PORTAL_H_
#include "base/functional/callback_forward.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_linux_portal.h | C++ | unknown | 8,773 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_
#include <list>
#include <memory>
#include <vector>
#include "base/funct... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_mac.h | C++ | unknown | 3,388 |
// 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/shell_dialogs/select_file_dialog_mac.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "base/ranges/algorithm.h"
... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_mac.mm | Objective-C++ | unknown | 6,504 |
// 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.
#import "ui/shell_dialogs/select_file_dialog_mac.h"
#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>
#include "base/files/file_util.h"
#include "base/functional/call... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_mac_unittest.mm | Objective-C++ | unknown | 21,330 |
// 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 <stddef.h>
#include <memory>
#define private public
#include "select_file_dialog_factory.h"
#include "select_file_policy.h"
#include "ui/shell_dialogs/select_file_dial... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_unittest.cc | C++ | unknown | 10,604 |
// 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/shell_dialogs/select_file_dialog_win.h"
#include <algorithm>
#include <memory>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/files/... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_win.cc | C++ | unknown | 13,551 |
// 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_WIN_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_WIN_H_
#include <memory>
#include <string>
#include <utility>
#include <vector>
... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_win.h | C++ | unknown | 1,332 |
// 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/shell_dialogs/select_file_dialog_win.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <vector>
#include "base/files/file_path.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_dialog_win_unittest.cc | C++ | unknown | 19,605 |
// 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/shell_dialogs/select_file_policy.h"
namespace ui {
SelectFilePolicy::~SelectFilePolicy() = default;
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_policy.cc | C++ | unknown | 279 |
// 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_SHELL_DIALOGS_SELECT_FILE_POLICY_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_POLICY_H_
#include "ui/shell_dialogs/shell_dialogs_export.h"
namespace ui {
// An optiona... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_policy.h | C++ | unknown | 824 |
// 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_SHELL_DIALOGS_SELECT_FILE_UTILS_WIN_H_
#define UI_SHELL_DIALOGS_SELECT_FILE_UTILS_WIN_H_
#include "base/strings/string_tokenizer.h"
namespace ui {
// Given a file... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_utils_win.h | C++ | unknown | 1,648 |
// 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/shell_dialogs/select_file_utils_win.h"
#include <stddef.h>
#include "base/strings/stringprintf.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(SelectFile... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/select_file_utils_win_unittest.cc | C++ | unknown | 1,354 |
// 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/shell_dialogs/selected_file_info.h"
namespace ui {
SelectedFileInfo::SelectedFileInfo() {}
SelectedFileInfo::SelectedFileInfo(const base::FilePath& in_file_path... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/selected_file_info.cc | C++ | unknown | 1,516 |
// 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_SHELL_DIALOGS_SELECTED_FILE_INFO_H_
#define UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_
#include <vector>
#include "base/files/file_path.h"
#include "third_party/abseil... | Zhao-PengFei35/chromium_src_4 | ui/shell_dialogs/selected_file_info.h | C++ | unknown | 2,692 |