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 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_GTK_GTK_COLOR_MIXERS_H_
#define UI_GTK_GTK_COLOR_MIXERS_H_
#include "ui/color/color_provider_manager.h"
namespace ui {
class ColorProvider;
} // namespace ui
nam... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_color_mixers.h | C++ | unknown | 522 |
// 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/gtk/gtk_compat.h"
#include <dlfcn.h>
#include "base/check.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/debug/leak_annotat... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_compat.cc | C++ | unknown | 13,449 |
// 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_GTK_GTK_COMPAT_H_
#define UI_GTK_GTK_COMPAT_H_
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <gtk/gtkun... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_compat.h | C++ | unknown | 4,529 |
// 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/gtk/gtk_key_bindings_handler.h"
#include <cstddef>
#include <string>
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "ui/base/glib/glib_... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_key_bindings_handler.cc | C++ | unknown | 13,385 |
// 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_GTK_GTK_KEY_BINDINGS_HANDLER_H_
#define UI_GTK_GTK_KEY_BINDINGS_HANDLER_H_
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "ui/base/i... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_key_bindings_handler.h | C++ | unknown | 7,209 |
// 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_GTK_GTK_TYPES_H_
#define UI_GTK_GTK_TYPES_H_
#include <gdk/gdk.h>
#include <gtk/gtk.h>
// This file provides types that are only available in specific versions of ... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_types.h | C++ | unknown | 2,763 |
// 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/gtk/gtk_ui.h"
#include <cairo.h>
#include <pango/pango.h>
#include <cmath>
#include <memory>
#include <set>
#include <utility>
#include "base/command_line.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui.cc | C++ | unknown | 32,897 |
// 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_GTK_GTK_UI_H_
#define UI_GTK_GTK_UI_H_
#include <map>
#include <memory>
#include <vector>
#include "base/containers/fixed_flat_map.h"
#include "base/memory/raw_ptr... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui.h | C++ | unknown | 7,306 |
// 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/gtk/gtk_ui_factory.h"
#include "ui/gtk/gtk_ui.h"
std::unique_ptr<ui::LinuxUiAndTheme> BuildGtkUi() {
return std::make_unique<gtk::GtkUi>();
}
| Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui_factory.cc | C++ | unknown | 303 |
// 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_GTK_GTK_UI_FACTORY_H_
#define UI_GTK_GTK_UI_FACTORY_H_
#include <memory>
#include "base/component_export.h"
namespace ui {
class LinuxUiAndTheme;
}
// Access poi... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui_factory.h | C++ | unknown | 525 |
// 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_GTK_GTK_UI_PLATFORM_H_
#define UI_GTK_GTK_UI_PLATFORM_H_
#include "base/functional/callback_forward.h"
#include "ui/events/event.h"
#include "ui/gfx/native_widget_t... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui_platform.h | C++ | unknown | 2,434 |
// 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/gtk/gtk_ui_platform_stub.h"
#include "base/functional/callback.h"
#include "ui/base/ime/linux/linux_input_method_context.h"
namespace gtk {
GtkUiPlatformStub::G... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui_platform_stub.cc | C++ | unknown | 1,349 |
// 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_GTK_GTK_UI_PLATFORM_STUB_H_
#define UI_GTK_GTK_UI_PLATFORM_STUB_H_
#include "ui/gtk/gtk_ui_platform.h"
namespace gtk {
class GtkUiPlatformStub : public GtkUiPlatf... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_ui_platform_stub.h | C++ | unknown | 1,288 |
// 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/gtk/gtk_util.h"
#include <locale.h>
#include <stddef.h>
#include <memory>
#include "base/compiler_specific.h"
#include "base/environment.h"
#include "base/strin... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_util.cc | C++ | unknown | 24,428 |
// 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_GTK_GTK_UTIL_H_
#define UI_GTK_GTK_UTIL_H_
#include <string>
#include <vector>
#include "base/component_export.h"
#include "base/memory/raw_ptr.h"
#include "ui/bas... | Zhao-PengFei35/chromium_src_4 | ui/gtk/gtk_util.h | C++ | unknown | 7,793 |
// 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/gtk/input_method_context_impl_gtk.h"
#include <cstddef>
#include "base/strings/utf_string_conversions.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/... | Zhao-PengFei35/chromium_src_4 | ui/gtk/input_method_context_impl_gtk.cc | C++ | unknown | 11,103 |
// 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_GTK_INPUT_METHOD_CONTEXT_IMPL_GTK_H_
#define UI_GTK_INPUT_METHOD_CONTEXT_IMPL_GTK_H_
#include <string>
#include "base/memory/raw_ptr.h"
#include "ui/base/glib/glib... | Zhao-PengFei35/chromium_src_4 | ui/gtk/input_method_context_impl_gtk.h | C++ | unknown | 3,770 |
// 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_GTK_LOG_NOOP_H_
#define UI_GTK_LOG_NOOP_H_
// This is a no-op logger used to ignore error messages reported by generated
// stub initializers. Some missing symbols... | Zhao-PengFei35/chromium_src_4 | ui/gtk/log_noop.h | C++ | unknown | 531 |
// 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/gtk/native_theme_gtk.h"
#include "base/no_destructor.h"
#include "base/ranges/algorithm.h"
#include "base/strings/strcat.h"
#include "cc/paint/paint_canvas.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/gtk/native_theme_gtk.cc | C++ | unknown | 9,885 |
// 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_GTK_NATIVE_THEME_GTK_H_
#define UI_GTK_NATIVE_THEME_GTK_H_
#include "base/callback_list.h"
#include "base/no_destructor.h"
#include "third_party/abseil-cpp/absl/typ... | Zhao-PengFei35/chromium_src_4 | ui/gtk/native_theme_gtk.h | C++ | unknown | 2,465 |
// 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/gtk/nav_button_provider_gtk.h"
#include "base/notreached.h"
#include "ui/base/glib/glib_cast.h"
#include "ui/base/glib/scoped_gobject.h"
#include "ui/gfx/image/im... | Zhao-PengFei35/chromium_src_4 | ui/gtk/nav_button_provider_gtk.cc | C++ | unknown | 18,040 |
// 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_GTK_NAV_BUTTON_PROVIDER_GTK_H_
#define UI_GTK_NAV_BUTTON_PROVIDER_GTK_H_
#include <map>
#include "base/containers/flat_map.h"
#include "ui/gfx/geometry/insets.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/gtk/nav_button_provider_gtk.h | C++ | unknown | 1,398 |
// 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/gtk/printing/print_dialog_gtk.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/ch... | Zhao-PengFei35/chromium_src_4 | ui/gtk/printing/print_dialog_gtk.cc | C++ | unknown | 21,742 |
// 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_GTK_PRINTING_PRINT_DIALOG_GTK_H_
#define UI_GTK_PRINTING_PRINT_DIALOG_GTK_H_
#include <memory>
#include "base/files/file_path.h"
#include "base/memory/raw_ptr.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/gtk/printing/print_dialog_gtk.h | C++ | unknown | 3,163 |
// 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/gtk/printing/printing_gtk_util.h"
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "printing/print_settings.h"
#include "printing/prin... | Zhao-PengFei35/chromium_src_4 | ui/gtk/printing/printing_gtk_util.cc | C++ | unknown | 4,028 |
// 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_GTK_PRINTING_PRINTING_GTK_UTIL_H_
#define UI_GTK_PRINTING_PRINTING_GTK_UTIL_H_
#include "ui/gfx/geometry/size.h"
namespace printing {
class PrintingContextLinux;
c... | Zhao-PengFei35/chromium_src_4 | ui/gtk/printing/printing_gtk_util.h | C++ | unknown | 888 |
// 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/gtk/select_file_dialog_linux_gtk.h"
#include <glib/gi18n.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstddef>
#include <map>
#i... | Zhao-PengFei35/chromium_src_4 | ui/gtk/select_file_dialog_linux_gtk.cc | C++ | unknown | 23,169 |
// 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_GTK_SELECT_FILE_DIALOG_LINUX_GTK_H_
#define UI_GTK_SELECT_FILE_DIALOG_LINUX_GTK_H_
#include <map>
#include "ui/base/glib/glib_signal.h"
#include "ui/gtk/gtk_util.h... | Zhao-PengFei35/chromium_src_4 | ui/gtk/select_file_dialog_linux_gtk.h | C++ | unknown | 6,079 |
// 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_GTK_SETTINGS_PROVIDER_H_
#define UI_GTK_SETTINGS_PROVIDER_H_
namespace gtk {
// This class is just a switch between SettingsProviderGSettings and
// SettingsProvid... | Zhao-PengFei35/chromium_src_4 | ui/gtk/settings_provider.h | C++ | unknown | 841 |
// 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/gtk/settings_provider_gtk.h"
#include "base/strings/string_split.h"
#include "gtk_compat.h"
#include "ui/gtk/gtk_compat.h"
#include "ui/gtk/gtk_ui.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/gtk/settings_provider_gtk.cc | C++ | unknown | 4,989 |
// 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_GTK_SETTINGS_PROVIDER_GTK_H_
#define UI_GTK_SETTINGS_PROVIDER_GTK_H_
#include <memory>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/gtk/settings_provider_gtk.h | C++ | unknown | 2,488 |
// 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/gtk/wayland/gtk_ui_platform_wayland.h"
#include "base/command_line.h"
#include "base/environment.h"
#include "base/functional/bind.h"
#include "base/functional/ca... | Zhao-PengFei35/chromium_src_4 | ui/gtk/wayland/gtk_ui_platform_wayland.cc | C++ | unknown | 5,606 |
// 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_GTK_WAYLAND_GTK_UI_PLATFORM_WAYLAND_H_
#define UI_GTK_WAYLAND_GTK_UI_PLATFORM_WAYLAND_H_
#include <string>
#include "base/functional/callback_forward.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/gtk/wayland/gtk_ui_platform_wayland.h | C++ | unknown | 1,809 |
// 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/gtk/window_frame_provider_gtk.h"
#include "base/logging.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry... | Zhao-PengFei35/chromium_src_4 | ui/gtk/window_frame_provider_gtk.cc | C++ | unknown | 15,941 |
// 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_GTK_WINDOW_FRAME_PROVIDER_GTK_H_
#define UI_GTK_WINDOW_FRAME_PROVIDER_GTK_H_
#include "base/containers/flat_map.h"
#include "third_party/skia/include/core/SkBitmap.... | Zhao-PengFei35/chromium_src_4 | ui/gtk/window_frame_provider_gtk.h | C++ | unknown | 2,425 |
// 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/gtk/x/gtk_event_loop_x11.h"
#include <xcb/xcb.h>
#include <xcb/xproto.h>
#include "ui/base/x/x11_util.h"
#include "ui/gfx/x/event.h"
#include "ui/gtk/gtk_compat.... | Zhao-PengFei35/chromium_src_4 | ui/gtk/x/gtk_event_loop_x11.cc | C++ | unknown | 4,912 |
// 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_GTK_X_GTK_EVENT_LOOP_X11_H_
#define UI_GTK_X_GTK_EVENT_LOOP_X11_H_
#include "base/memory/raw_ptr.h"
#include "ui/base/glib/glib_integers.h"
#include "ui/base/glib/g... | Zhao-PengFei35/chromium_src_4 | ui/gtk/x/gtk_event_loop_x11.h | C++ | unknown | 970 |
// 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/gtk/x/gtk_ui_platform_x11.h"
#include "base/check.h"
#include "base/environment.h"
#include "ui/base/x/x11_util.h"
#include "ui/events/event_constants.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/gtk/x/gtk_ui_platform_x11.cc | C++ | unknown | 4,441 |
// 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_GTK_X_GTK_UI_PLATFORM_X11_H_
#define UI_GTK_X_GTK_UI_PLATFORM_X11_H_
#include "base/memory/raw_ptr.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/x/con... | Zhao-PengFei35/chromium_src_4 | ui/gtk/x/gtk_ui_platform_x11.h | C++ | unknown | 1,697 |
include_rules = [
"+services/metrics/public/cpp",
"+services/tracing/public/cpp",
"+third_party/perfetto/protos/perfetto/trace/track_event",
"+ui/gfx",
]
specific_include_rules = {
"latency_info\.h": [
"+mojo/public",
]
}
| Zhao-PengFei35/chromium_src_4 | ui/latency/DEPS | Python | unknown | 239 |
// 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/gfx/ipc/geometry/gfx_param_traits.h"
#include "ui/latency/ipc/latency_info_param_traits_macros.h"
// Generate param traits write methods.
#include "ipc/param_trai... | Zhao-PengFei35/chromium_src_4 | ui/latency/ipc/latency_info_param_traits.cc | C++ | unknown | 2,489 |
// 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_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_H_
#define UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_H_
#include "base/pickle.h"
#include "ui/latency/latency_info.h"
namespac... | Zhao-PengFei35/chromium_src_4 | ui/latency/ipc/latency_info_param_traits.h | C++ | unknown | 734 |
// 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_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
#define UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
#include "ipc/ipc_message_macros.h"
#include "ui/latency/... | Zhao-PengFei35/chromium_src_4 | ui/latency/ipc/latency_info_param_traits_macros.h | C | unknown | 586 |
// 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 <stddef.h>
#include <stdint.h>
#include "ipc/ipc_message_macros.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/ipc/geometry/gfx_param_traits.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/latency/ipc/latency_info_param_traits_unittest.cc | C++ | unknown | 1,870 |
// 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/latency/janky_duration_tracker.h"
#include <iomanip>
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/latency/janky_duration_tracker.cc | C++ | unknown | 4,508 |
// 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_LATENCY_JANKY_DURATION_TRACKER_H_
#define UI_LATENCY_JANKY_DURATION_TRACKER_H_
namespace switches {
// Enables tracking scroll jank. Watches the given directory. O... | Zhao-PengFei35/chromium_src_4 | ui/latency/janky_duration_tracker.h | C++ | unknown | 933 |
// 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/latency/latency_info.h"
#include <stddef.h>
#include <algorithm>
#include <string>
#include <utility>
#include "base/json/json_writer.h"
#include "base/lazy_ins... | Zhao-PengFei35/chromium_src_4 | ui/latency/latency_info.cc | C++ | unknown | 9,620 |
// 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_LATENCY_LATENCY_INFO_H_
#define UI_LATENCY_LATENCY_INFO_H_
#include <vector>
#include "base/containers/flat_map.h"
#include "base/time/time.h"
#include "build/blin... | Zhao-PengFei35/chromium_src_4 | ui/latency/latency_info.h | C++ | unknown | 9,124 |
// 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/latency/latency_info.h"
#include <ostream>
namespace ui {
void PrintTo(const LatencyInfo& latency, ::std::ostream* os) {
*os << "LatencyInfo: trace_id=" << la... | Zhao-PengFei35/chromium_src_4 | ui/latency/latency_info_test_support.cc | C++ | unknown | 360 |
// 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/latency/latency_info.h"
#include <stddef.h>
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
namespace {
// Returns a... | Zhao-PengFei35/chromium_src_4 | ui/latency/latency_info_unittest.cc | C++ | unknown | 1,387 |
// 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/latency/latency_tracker.h"
#include <algorithm>
#include <cstdint>
#include "base/metrics/histogram.h"
#include "base/metrics/histogram_base.h"
#include "base/met... | Zhao-PengFei35/chromium_src_4 | ui/latency/latency_tracker.cc | C++ | unknown | 25,090 |
// 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_LATENCY_LATENCY_TRACKER_H_
#define UI_LATENCY_LATENCY_TRACKER_H_
#include "base/strings/string_piece_forward.h"
#include "base/time/time.h"
#include "ui/latency/lat... | Zhao-PengFei35/chromium_src_4 | ui/latency/latency_tracker.h | C++ | unknown | 3,860 |
/*
* 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/latency/latency_tracker_unittest.cc | C++ | unknown | 3,546 |
include_rules = [
"+mojo/public",
"+ui/latency",
]
| Zhao-PengFei35/chromium_src_4 | ui/latency/mojom/DEPS | Python | unknown | 55 |
// 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/latency/mojom/latency_info_mojom_traits.h"
#include "mojo/public/cpp/base/time_mojom_traits.h"
namespace mojo {
namespace {
ui::mojom::SourceEventType UISource... | Zhao-PengFei35/chromium_src_4 | ui/latency/mojom/latency_info_mojom_traits.cc | C++ | unknown | 9,034 |
// 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_LATENCY_MOJOM_LATENCY_INFO_MOJOM_TRAITS_H_
#define UI_LATENCY_MOJOM_LATENCY_INFO_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "ui/latency/latency_inf... | Zhao-PengFei35/chromium_src_4 | ui/latency/mojom/latency_info_mojom_traits.h | C++ | unknown | 2,892 |
// 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 <utility>
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/receiver_set.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gt... | Zhao-PengFei35/chromium_src_4 | ui/latency/mojom/mojom_traits_unittest.cc | C++ | unknown | 2,316 |
include_rules = [
"+printing",
"+third_party/skia",
"+ui/base",
"+ui/base/cursor",
"+ui/base/ime",
"+ui/gfx",
"+ui/native_theme",
"+ui/shell_dialogs",
]
specific_include_rules = {
"linux_ui_factory.cc": [
"+ui/color",
"+ui/gtk",
"+ui/qt",
],
"fallback_linux_ui.cc": [
"+ui/events/k... | Zhao-PengFei35/chromium_src_4 | ui/linux/DEPS | Python | unknown | 363 |
// 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_LINUX_CURSOR_THEME_MANAGER_OBSERVER_H_
#define UI_LINUX_CURSOR_THEME_MANAGER_OBSERVER_H_
#include <string>
#include "base/observer_list_types.h"
namespace ui {
c... | Zhao-PengFei35/chromium_src_4 | ui/linux/cursor_theme_manager_observer.h | C++ | unknown | 780 |
// 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_LINUX_DEVICE_SCALE_FACTOR_OBSERVER_H_
#define UI_LINUX_DEVICE_SCALE_FACTOR_OBSERVER_H_
namespace ui {
class DeviceScaleFactorObserver {
public:
virtual ~DeviceS... | Zhao-PengFei35/chromium_src_4 | ui/linux/device_scale_factor_observer.h | C++ | unknown | 478 |
// 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/linux/fake_linux_ui.h"
#include "base/time/time.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/font_render_params.h"
#include "ui/gfx/geometry/size.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/linux/fake_linux_ui.cc | C++ | unknown | 3,786 |
// 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_LINUX_FAKE_LINUX_UI_H_
#define UI_LINUX_FAKE_LINUX_UI_H_
#include "ui/linux/linux_ui.h"
namespace ui {
// This class is meant to be overridden by tests. It's pro... | Zhao-PengFei35/chromium_src_4 | ui/linux/fake_linux_ui.h | C++ | unknown | 3,048 |
// 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/linux/fallback_linux_ui.h"
#include "base/time/time.h"
#include "ui/base/ime/linux/linux_input_method_context.h"
#include "ui/events/keycodes/dom/dom_keyboard_lay... | Zhao-PengFei35/chromium_src_4 | ui/linux/fallback_linux_ui.cc | C++ | unknown | 5,554 |
// 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_LINUX_FALLBACK_LINUX_UI_H_
#define UI_LINUX_FALLBACK_LINUX_UI_H_
#include "ui/gfx/font_render_params.h"
#include "ui/linux/linux_ui.h"
namespace ui {
// This clas... | Zhao-PengFei35/chromium_src_4 | ui/linux/fallback_linux_ui.h | C++ | unknown | 3,211 |
// 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/linux/linux_ui.h"
#include <cstdio>
#include <utility>
#include "base/command_line.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui.cc | C++ | unknown | 3,276 |
// 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_LINUX_LINUX_UI_H_
#define UI_LINUX_LINUX_UI_H_
#include <memory>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/component_export... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui.h | C++ | unknown | 11,754 |
// 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/linux/linux_ui_delegate.h"
#include "base/functional/callback.h"
#include "base/notreached.h"
namespace ui {
// static
LinuxUiDelegate* LinuxUiDelegate::instanc... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_delegate.cc | C++ | unknown | 1,112 |
// 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_LINUX_LINUX_UI_DELEGATE_H_
#define UI_LINUX_LINUX_UI_DELEGATE_H_
#include <cstdint>
#include <string>
#include "base/component_export.h"
#include "base/functional/... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_delegate.h | C++ | unknown | 1,505 |
// 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/linux/linux_ui_delegate_stub.h"
#include "base/functional/callback.h"
namespace ui {
LinuxUiDelegateStub::LinuxUiDelegateStub() = default;
LinuxUiDelegateStub:... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_delegate_stub.cc | C++ | unknown | 624 |
// 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_LINUX_LINUX_UI_DELEGATE_STUB_H_
#define UI_LINUX_LINUX_UI_DELEGATE_STUB_H_
#include "ui/linux/linux_ui_delegate.h"
namespace ui {
class COMPONENT_EXPORT(LINUX_UI)... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_delegate_stub.h | C++ | unknown | 846 |
// 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/linux/linux_ui_factory.h"
#include <memory>
#include <utility>
#include "base/command_line.h"
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_factory.cc | C++ | unknown | 4,801 |
// 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_LINUX_LINUX_UI_FACTORY_H_
#define UI_LINUX_LINUX_UI_FACTORY_H_
#include "base/component_export.h"
#include "base/features.h"
namespace ui {
class LinuxUi;
class L... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_factory.h | C++ | unknown | 1,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/linux/linux_ui_getter.h"
namespace ui {
// static
LinuxUiGetter* LinuxUiGetter::instance_ = nullptr;
LinuxUiGetter::LinuxUiGetter() {
// Tests reset this, so ... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_getter.cc | C++ | unknown | 437 |
// 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_LINUX_LINUX_UI_GETTER_H_
#define UI_LINUX_LINUX_UI_GETTER_H_
#include "base/component_export.h"
class Profile;
namespace aura {
class Window;
}
namespace ui {
c... | Zhao-PengFei35/chromium_src_4 | ui/linux/linux_ui_getter.h | C++ | unknown | 997 |
// 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_LINUX_NAV_BUTTON_PROVIDER_H_
#define UI_LINUX_NAV_BUTTON_PROVIDER_H_
namespace chrome {
enum class FrameButtonDisplayType;
}
namespace gfx {
class ImageSkia;
class... | Zhao-PengFei35/chromium_src_4 | ui/linux/nav_button_provider.h | C++ | unknown | 2,281 |
// 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/linux/status_icon_linux.h"
namespace ui {
StatusIconLinux::Delegate::~Delegate() = default;
StatusIconLinux::StatusIconLinux() = default;
StatusIconLinux::~Sta... | Zhao-PengFei35/chromium_src_4 | ui/linux/status_icon_linux.cc | C++ | unknown | 565 |
// 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_LINUX_STATUS_ICON_LINUX_H_
#define UI_LINUX_STATUS_ICON_LINUX_H_
#include <string>
#include "base/component_export.h"
#include "base/memory/raw_ptr.h"
namespace g... | Zhao-PengFei35/chromium_src_4 | ui/linux/status_icon_linux.h | C++ | unknown | 2,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_LINUX_WINDOW_BUTTON_ORDER_OBSERVER_H_
#define UI_LINUX_WINDOW_BUTTON_ORDER_OBSERVER_H_
namespace ui {
// Observer interface to receive the ordering of the min,max,... | Zhao-PengFei35/chromium_src_4 | ui/linux/window_button_order_observer.h | C++ | unknown | 618 |
// 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_LINUX_WINDOW_FRAME_PROVIDER_H_
#define UI_LINUX_WINDOW_FRAME_PROVIDER_H_
#include "ui/base/ui_base_types.h"
namespace gfx {
class Canvas;
class Insets;
class Rect;... | Zhao-PengFei35/chromium_src_4 | ui/linux/window_frame_provider.h | C++ | unknown | 1,388 |
include_rules = [
"+cc/paint",
"+cc/test",
"+third_party/skia",
"+ui/base",
"+ui/color",
"+ui/gfx",
]
| Zhao-PengFei35/chromium_src_4 | ui/lottie/DEPS | Python | unknown | 114 |
// 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/lottie/animation.h"
#include <algorithm>
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/numerics/safe_conversions.h"... | Zhao-PengFei35/chromium_src_4 | ui/lottie/animation.cc | C++ | unknown | 16,226 |
// 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_LOTTIE_ANIMATION_H_
#define UI_LOTTIE_ANIMATION_H_
#include <functional>
#include <memory>
#include <vector>
#include "base/component_export.h"
#include "base/cont... | Zhao-PengFei35/chromium_src_4 | ui/lottie/animation.h | C++ | unknown | 14,633 |
// 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_LOTTIE_ANIMATION_OBSERVER_H_
#define UI_LOTTIE_ANIMATION_OBSERVER_H_
#include "base/component_export.h"
#include "base/observer_list_types.h"
namespace lottie {
cl... | Zhao-PengFei35/chromium_src_4 | ui/lottie/animation_observer.h | C++ | unknown | 1,617 |
// 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/lottie/animation.h"
#include <map>
#include <string>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted_memory.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/lottie/animation_unittest.cc | C++ | unknown | 66,904 |
// 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/lottie/resource.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/ref_counted_memory.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/lottie/resource.cc | C++ | unknown | 5,132 |
// 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_LOTTIE_RESOURCE_H_
#define UI_LOTTIE_RESOURCE_H_
#include <string>
#include "base/component_export.h"
#include "build/chromeos_buildflags.h"
namespace gfx {
class... | Zhao-PengFei35/chromium_src_4 | ui/lottie/resource.h | C++ | unknown | 1,004 |
include_rules = [
"+ash/constants",
"+chromeos/constants",
"+components/url_formatter",
"+skia/ext",
"+third_party/skia",
"+ui/accessibility",
"+ui/aura",
"+ui/base",
"+ui/color",
"+ui/compositor",
"+ui/display",
"+ui/events",
"+ui/gfx",
"+ui/native_theme",
"+ui/resources/grit/ui_resources... | Zhao-PengFei35/chromium_src_4 | ui/message_center/DEPS | Python | unknown | 391 |
// 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 "build/build_config.h"
#include "ui/message_center/message_center.h"
// This file contains dummy implementation of MessageCenter and used to compile
// and link with ... | Zhao-PengFei35/chromium_src_4 | ui/message_center/dummy_message_center.cc | C++ | unknown | 916 |
// 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/message_center/fake_message_center.h"
#include <string>
#include <utility>
#include "base/strings/string_util.h"
#include "ui/message_center/notification_list.h"... | Zhao-PengFei35/chromium_src_4 | ui/message_center/fake_message_center.cc | C++ | unknown | 7,069 |
// 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_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_
#define UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_
#include <stddef.h>
#include <memory>
#include <string>
#include <vector>
#... | Zhao-PengFei35/chromium_src_4 | ui/message_center/fake_message_center.h | C++ | unknown | 5,102 |
// 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/message_center/lock_screen/empty_lock_screen_controller.h"
namespace message_center {
void EmptyLockScreenController::DismissLockScreenThenExecute(
base::Onc... | Zhao-PengFei35/chromium_src_4 | ui/message_center/lock_screen/empty_lock_screen_controller.cc | C++ | unknown | 555 |
// 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_MESSAGE_CENTER_LOCK_SCREEN_EMPTY_LOCK_SCREEN_CONTROLLER_H_
#define UI_MESSAGE_CENTER_LOCK_SCREEN_EMPTY_LOCK_SCREEN_CONTROLLER_H_
#include "ui/message_center/lock_sc... | Zhao-PengFei35/chromium_src_4 | ui/message_center/lock_screen/empty_lock_screen_controller.h | C++ | unknown | 1,063 |
// 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/message_center/lock_screen/fake_lock_screen_controller.h"
#include <ostream>
namespace message_center {
FakeLockScreenController::FakeLockScreenController() = d... | Zhao-PengFei35/chromium_src_4 | ui/message_center/lock_screen/fake_lock_screen_controller.cc | C++ | unknown | 1,508 |
// 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_MESSAGE_CENTER_LOCK_SCREEN_FAKE_LOCK_SCREEN_CONTROLLER_H_
#define UI_MESSAGE_CENTER_LOCK_SCREEN_FAKE_LOCK_SCREEN_CONTROLLER_H_
#include "ui/message_center/lock_scre... | Zhao-PengFei35/chromium_src_4 | ui/message_center/lock_screen/fake_lock_screen_controller.h | C++ | unknown | 1,323 |
// 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_MESSAGE_CENTER_LOCK_SCREEN_LOCK_SCREEN_CONTROLLER_H_
#define UI_MESSAGE_CENTER_LOCK_SCREEN_LOCK_SCREEN_CONTROLLER_H_
#include "base/functional/callback.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/message_center/lock_screen/lock_screen_controller.h | C++ | unknown | 1,578 |
// 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/message_center/message_center.h"
#include "ui/message_center/lock_screen/empty_lock_screen_controller.h"
#include "ui/message_center/message_center_impl.h"
names... | Zhao-PengFei35/chromium_src_4 | ui/message_center/message_center.cc | C++ | unknown | 1,165 |
// 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_MESSAGE_CENTER_MESSAGE_CENTER_H_
#define UI_MESSAGE_CENTER_MESSAGE_CENTER_H_
#include <stddef.h>
#include <memory>
#include <string>
#include "ui/message_center/m... | Zhao-PengFei35/chromium_src_4 | ui/message_center/message_center.h | C++ | unknown | 12,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.
#ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_EXPORT_H_
#define UI_MESSAGE_CENTER_MESSAGE_CENTER_EXPORT_H_
// Defines MESSAGE_CENTER_EXPORT so that functionality implemented by the... | Zhao-PengFei35/chromium_src_4 | ui/message_center/message_center_export.h | C | unknown | 945 |
// 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/message_center/message_center_impl.h"
#include <iterator>
#include <memory>
#include <utility>
#include <vector>
#include "base/auto_reset.h"
#include "base/comm... | Zhao-PengFei35/chromium_src_4 | ui/message_center/message_center_impl.cc | C++ | unknown | 23,131 |
// 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_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_
#define UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_
#include <stddef.h>
#include <memory>
#include <string>
#include <vector>
#... | Zhao-PengFei35/chromium_src_4 | ui/message_center/message_center_impl.h | C++ | unknown | 6,615 |