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 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/compositor/layer_owner.h"
#include <utility>
#include "base/observer_list.h"
#include "ui/compositor/compositor.h"
#include "ui/compositor/layer.h"
namespace ui... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_owner.cc | C++ | unknown | 2,656 |
// 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_COMPOSITOR_LAYER_OWNER_H_
#define UI_COMPOSITOR_LAYER_OWNER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "ui/comp... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_owner.h | C++ | unknown | 2,889 |
// 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/compositor/layer_owner.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/null_task_runn... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_owner_unittest.cc | C++ | unknown | 8,783 |
// 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_COMPOSITOR_LAYER_THREADED_ANIMATION_DELEGATE_H_
#define UI_COMPOSITOR_LAYER_THREADED_ANIMATION_DELEGATE_H_
#include <memory>
#include "cc/animation/keyframe_model.... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_threaded_animation_delegate.h | C++ | unknown | 814 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/compositor/layer_tree_owner.h"
#include "ui/compositor/layer.h"
namespace ui {
namespace {
// Deletes |layer| and all its descendants.
void DeepDeleteLayers(La... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_tree_owner.cc | C++ | unknown | 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.
#ifndef UI_COMPOSITOR_LAYER_TREE_OWNER_H_
#define UI_COMPOSITOR_LAYER_TREE_OWNER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/compositor/compositor_expo... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_tree_owner.h | C++ | unknown | 962 |
// 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/compositor/layer_type.h"
#include "base/notreached.h"
namespace ui {
base::StringPiece LayerTypeToString(LayerType type) {
switch (type) {
case LayerType:... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_type.cc | C++ | unknown | 612 |
// 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_COMPOSITOR_LAYER_TYPE_H_
#define UI_COMPOSITOR_LAYER_TYPE_H_
#include "base/strings/string_piece.h"
#include "ui/compositor/compositor_export.h"
namespace ui {
en... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_type.h | C++ | unknown | 801 |
// 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/compositor/layer.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include <vector>
#include "base/compiler_specific.h"
#include "base/files/file_pat... | Zhao-PengFei35/chromium_src_4 | ui/compositor/layer_unittest.cc | C++ | unknown | 126,021 |
include_rules = [
"+ui/events/event.h",
"+ui/events/types/scroll_input_type.h",
] | Zhao-PengFei35/chromium_src_4 | ui/compositor/overscroll/DEPS | Python | unknown | 85 |
// 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/compositor/overscroll/scroll_input_handler.h"
#include "ui/compositor/layer.h"
#include "ui/events/event.h"
#include "ui/events/types/scroll_input_type.h"
namesp... | Zhao-PengFei35/chromium_src_4 | ui/compositor/overscroll/scroll_input_handler.cc | C++ | unknown | 4,168 |
// 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_COMPOSITOR_OVERSCROLL_SCROLL_INPUT_HANDLER_H_
#define UI_COMPOSITOR_OVERSCROLL_SCROLL_INPUT_HANDLER_H_
#include "base/memory/weak_ptr.h"
#include "cc/input/input_ha... | Zhao-PengFei35/chromium_src_4 | ui/compositor/overscroll/scroll_input_handler.h | C++ | unknown | 2,105 |
// 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/compositor/paint_cache.h"
#include "cc/paint/display_item_list.h"
#include "cc/paint/paint_op_buffer.h"
#include "ui/compositor/paint_context.h"
namespace ui {
... | Zhao-PengFei35/chromium_src_4 | ui/compositor/paint_cache.cc | C++ | unknown | 1,078 |
// 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_COMPOSITOR_PAINT_CACHE_H_
#define UI_COMPOSITOR_PAINT_CACHE_H_
#include "cc/paint/paint_record.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/compositor/paint_cache.h | C++ | unknown | 1,785 |
// 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/compositor/paint_context.h"
#include "ui/gfx/canvas.h"
namespace ui {
PaintContext::PaintContext(cc::DisplayItemList* list,
float dev... | Zhao-PengFei35/chromium_src_4 | ui/compositor/paint_context.cc | C++ | unknown | 1,931 |
// 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_COMPOSITOR_PAINT_CONTEXT_H_
#define UI_COMPOSITOR_PAINT_CONTEXT_H_
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "ui/compositor/compositor_expor... | Zhao-PengFei35/chromium_src_4 | ui/compositor/paint_context.h | C++ | unknown | 4,006 |
// 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/compositor/paint_recorder.h"
#include "cc/paint/display_item_list.h"
#include "cc/paint/paint_recorder.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/compositor/paint_recorder.cc | C++ | unknown | 2,684 |
// 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_COMPOSITOR_PAINT_RECORDER_H_
#define UI_COMPOSITOR_PAINT_RECORDER_H_
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ref.h"
#include "cc/paint/record_pai... | Zhao-PengFei35/chromium_src_4 | ui/compositor/paint_recorder.h | C++ | unknown | 1,752 |
// 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/compositor/presentation_time_recorder.h"
#include <ostream>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/compositor/presentation_time_recorder.cc | C++ | unknown | 9,054 |
// 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_COMPOSITOR_PRESENTATION_TIME_RECORDER_H_
#define UI_COMPOSITOR_PRESENTATION_TIME_RECORDER_H_
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/compositor/presentation_time_recorder.h | C++ | unknown | 2,778 |
// 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/compositor/presentation_time_recorder.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/tes... | Zhao-PengFei35/chromium_src_4 | ui/compositor/presentation_time_recorder_unittest.cc | C++ | unknown | 4,159 |
// 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_COMPOSITOR_PROPERTY_CHANGE_REASON_H_
#define UI_COMPOSITOR_PROPERTY_CHANGE_REASON_H_
namespace ui {
enum class PropertyChangeReason {
// The property value was s... | Zhao-PengFei35/chromium_src_4 | ui/compositor/property_change_reason.h | C++ | unknown | 519 |
// 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/compositor/recyclable_compositor_mac.h"
#include "base/functional/bind.h"
#include "base/no_destructor.h"
#include "base/task/single_thread_task_runner.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/recyclable_compositor_mac.cc | C++ | unknown | 3,684 |
// 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_COMPOSITOR_RECYCLABLE_COMPOSITOR_MAC_H_
#define UI_COMPOSITOR_RECYCLABLE_COMPOSITOR_MAC_H_
#include <list>
#include <memory>
#include "base/no_destructor.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/compositor/recyclable_compositor_mac.h | C++ | unknown | 2,886 |
// 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/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "mojo/core/embedder/embedder.h"
#include "ui/compositor/test/test_suite.h"
int ma... | Zhao-PengFei35/chromium_src_4 | ui/compositor/run_all_unittests.cc | C++ | unknown | 592 |
// 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/compositor/scoped_animation_duration_scale_mode.h"
#include "base/check_op.h"
namespace ui {
// static
constexpr float ScopedAnimationDurationScaleMode::NORMAL_... | Zhao-PengFei35/chromium_src_4 | ui/compositor/scoped_animation_duration_scale_mode.cc | C++ | unknown | 1,147 |
// 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_COMPOSITOR_SCOPED_ANIMATION_DURATION_SCALE_MODE_H_
#define UI_COMPOSITOR_SCOPED_ANIMATION_DURATION_SCALE_MODE_H_
#include "ui/compositor/compositor_export.h"
names... | Zhao-PengFei35/chromium_src_4 | ui/compositor/scoped_animation_duration_scale_mode.h | C++ | unknown | 1,793 |
// 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/compositor/scoped_layer_animation_settings.h"
#include <stddef.h>
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "ui/compositor/layer.... | Zhao-PengFei35/chromium_src_4 | ui/compositor/scoped_layer_animation_settings.cc | C++ | unknown | 6,576 |
// 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_COMPOSITOR_SCOPED_LAYER_ANIMATION_SETTINGS_H_
#define UI_COMPOSITOR_SCOPED_LAYER_ANIMATION_SETTINGS_H_
#include <set>
#include "base/time/time.h"
#include "ui/comp... | Zhao-PengFei35/chromium_src_4 | ui/compositor/scoped_layer_animation_settings.h | C++ | unknown | 2,717 |
include_rules = [
"+components/viz/common/gpu",
"+components/viz/service",
"+components/viz/test",
"+gpu/command_buffer/client",
"+gpu/command_buffer/common",
"+gpu/config",
"+gpu/ipc",
"+gpu/skia_bindings",
"+services/viz/public/mojom",
"+skia/ext",
"+ui/accelerated_widget_mac",
"+ui/base/x",
... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/DEPS | Python | unknown | 378 |
// 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/compositor/test/animation_throughput_reporter_test_base.h"
#include <memory>
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/animation_throughput_reporter_test_base.cc | C++ | unknown | 1,746 |
// 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_COMPOSITOR_TEST_ANIMATION_THROUGHPUT_REPORTER_TEST_BASE_H_
#define UI_COMPOSITOR_TEST_ANIMATION_THROUGHPUT_REPORTER_TEST_BASE_H_
#include <memory>
#include "base/t... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/animation_throughput_reporter_test_base.h | C++ | unknown | 2,021 |
// 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/compositor/test/direct_layer_tree_frame_sink.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/functional/bind.h"
#include "base/task/singl... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/direct_layer_tree_frame_sink.cc | C++ | unknown | 7,909 |
// 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_COMPOSITOR_TEST_DIRECT_LAYER_TREE_FRAME_SINK_H_
#define UI_COMPOSITOR_TEST_DIRECT_LAYER_TREE_FRAME_SINK_H_
#include "base/memory/raw_ptr.h"
#include "base/memory/re... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/direct_layer_tree_frame_sink.h | C++ | unknown | 5,264 |
// 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/compositor/test/draw_waiter_for_test.h"
#include "ui/compositor/compositor.h"
namespace ui {
// static
void DrawWaiterForTest::WaitForCompositingStarted(Composi... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/draw_waiter_for_test.cc | C++ | unknown | 1,681 |
// 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_COMPOSITOR_TEST_DRAW_WAITER_FOR_TEST_H_
#define UI_COMPOSITOR_TEST_DRAW_WAITER_FOR_TEST_H_
#include <memory>
#include "base/run_loop.h"
#include "ui/compositor/com... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/draw_waiter_for_test.h | C++ | unknown | 1,869 |
// 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/compositor/test/fake_context_factory.h"
#include "base/command_line.h"
#include "build/build_config.h"
#include "cc/base/switches.h"
#include "cc/test/fake_layer_... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/fake_context_factory.cc | C++ | unknown | 2,165 |
// 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_COMPOSITOR_TEST_FAKE_CONTEXT_FACTORY_H_
#define UI_COMPOSITOR_TEST_FAKE_CONTEXT_FACTORY_H_
#include "base/memory/raw_ptr.h"
#include "cc/test/test_task_graph_runner... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/fake_context_factory.h | C++ | unknown | 1,887 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/compositor/test/in_process_context_factory.h"
#include <limits>
#include <utility>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/in_process_context_factory.cc | C++ | unknown | 16,953 |
// 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_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
#define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
#include <stdint.h>
#include <memory>
#include <unordered_map... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/in_process_context_factory.h | C++ | unknown | 4,727 |
// 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/compositor/test/layer_animation_observer_test_api.h"
namespace ui {
namespace test {
LayerAnimationObserverTestApi::LayerAnimationObserverTestApi(
LayerAnima... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/layer_animation_observer_test_api.cc | C++ | unknown | 749 |
// 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_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_TEST_API_H_
#define UI_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_TEST_API_H_
#include "base/memory/raw_ptr.h"
#include "ui/c... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/layer_animation_observer_test_api.h | C++ | unknown | 1,206 |
// 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/compositor/test/layer_animation_stopped_waiter.h"
#include "base/run_loop.h"
#include "ui/compositor/layer.h"
namespace ui {
LayerAnimationStoppedWaiter::LayerA... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/layer_animation_stopped_waiter.cc | C++ | unknown | 1,319 |
// 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_COMPOSITOR_TEST_LAYER_ANIMATION_STOPPED_WAITER_H_
#define UI_COMPOSITOR_TEST_LAYER_ANIMATION_STOPPED_WAITER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/layer_animation_stopped_waiter.h | C++ | unknown | 1,732 |
// 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 <stddef.h>
#include "ui/compositor/layer_animation_sequence.h"
#include "ui/compositor/test/layer_animator_test_controller.h"
#include "ui/gfx/geometry/rect.h"
names... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/layer_animator_test_controller.cc | C++ | unknown | 2,032 |
// 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_COMPOSITOR_TEST_LAYER_ANIMATOR_TEST_CONTROLLER_H_
#define UI_COMPOSITOR_TEST_LAYER_ANIMATOR_TEST_CONTROLLER_H_
#include "ui/compositor/layer_animator.h"
namespace ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/layer_animator_test_controller.h | C++ | unknown | 1,203 |
// 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/compositor/test/multi_layer_animator_test_controller.h"
#include "base/time/time.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animator.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/multi_layer_animator_test_controller.cc | C++ | unknown | 2,130 |
// 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_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_H_
#define UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_H_
#include <vector>
#include "base/memory/... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/multi_layer_animator_test_controller.h | C++ | unknown | 1,836 |
// 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_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_
#define UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_
#include <vector>
name... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/multi_layer_animator_test_controller_delegate.h | C++ | unknown | 1,034 |
// 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/compositor/test/test_compositor_host.h"
#include "ui/compositor/compositor.h"
namespace ui {
cc::LayerTreeHost* TestCompositorHost::GetLayerTreeHost() {
return... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host.cc | C++ | unknown | 373 |
// 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_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
#define UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
namespace cc {
class LayerTreeHost;
}
namespace gfx {
class Rect;
}
nam... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host.h | C++ | unknown | 909 |
// 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/compositor/test/test_compositor_host.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/task/single_thread_task_runner.h"
#include "componen... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_android.cc | C++ | unknown | 1,761 |
// 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/compositor/test/test_compositor_host.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/task/single_thread_task_runner.h"
#include "componen... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_ios.mm | Objective-C++ | unknown | 1,723 |
// 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/compositor/test/test_compositor_host.h"
#include "base/memory/raw_ptr.h"
#import "base/task/single_thread_task_runner.h"
#include "base/task/single_thread_task_ru... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_mac.mm | Objective-C++ | unknown | 6,149 |
// 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/compositor/test/test_compositor_host.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/task/single_thread_task_runner.h"
#include "componen... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_ohos.cc | C++ | unknown | 1,740 |
// 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/compositor/test/test_compositor_host_ozone.h"
#include <memory>
#include "base/check_op.h"
#include "base/compiler_specific.h"
#include "base/functional/bind.h"
... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_ozone.cc | C++ | unknown | 3,870 |
// 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_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_OZONE_H_
#define UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_OZONE_H_
#include "ui/compositor/test/test_compositor_host.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_ozone.h | C++ | unknown | 1,341 |
// 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/compositor/test/test_compositor_host.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/task/single_thread_task_runner.h"
#include "componen... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_compositor_host_win.cc | C++ | unknown | 2,262 |
// 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/compositor/test/test_context_factories.h"
#include "base/command_line.h"
#include "components/viz/common/features.h"
#include "components/viz/host/host_frame_sink... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_context_factories.cc | C++ | unknown | 1,954 |
// 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_COMPOSITOR_TEST_TEST_CONTEXT_FACTORIES_H_
#define UI_COMPOSITOR_TEST_TEST_CONTEXT_FACTORIES_H_
#include <memory>
#include "ui/compositor/test/in_process_context_fa... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_context_factories.h | C++ | unknown | 1,804 |
// 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/compositor/test/test_layer_animation_delegate.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_layer_animation_delegate.cc | C++ | unknown | 6,208 |
// 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_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
#define UI_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
#include "cc/layers/layer.h"
#include "ui/compositor/la... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_layer_animation_delegate.h | C++ | unknown | 4,925 |
// 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/compositor/test/test_layer_animation_observer.h"
#include <cstddef>
namespace ui {
TestLayerAnimationObserver::TestLayerAnimationObserver()
: next_epoch_(0)... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_layer_animation_observer.cc | C++ | unknown | 8,037 |
// 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_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_OBSERVER_H_
#define UI_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_OBSERVER_H_
#include "base/memory/raw_ptr.h"
#include "testing/gtes... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_layer_animation_observer.h | C++ | unknown | 4,508 |
// 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/compositor/test/test_layers.h"
#include "ui/compositor/layer.h"
namespace ui {
namespace test {
std::string ChildLayerNamesAsString(const ui::Layer& parent) {
... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_layers.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_COMPOSITOR_TEST_TEST_LAYERS_H_
#define UI_COMPOSITOR_TEST_TEST_LAYERS_H_
#include <string>
namespace ui {
class Layer;
namespace test {
// Returns a string conta... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_layers.h | C++ | unknown | 593 |
// 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/compositor/test/test_suite.h"
#include "base/command_line.h"
#include "build/build_config.h"
#include "ui/compositor/compositor.h"
#include "ui/compositor/composi... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_suite.cc | C++ | unknown | 1,611 |
// 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_COMPOSITOR_TEST_TEST_SUITE_H_
#define UI_COMPOSITOR_TEST_TEST_SUITE_H_
#include "base/test/test_suite.h"
#include "build/build_config.h"
#if BUILDFLAG(IS_WIN)
#inc... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_suite.h | C++ | unknown | 924 |
// 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/compositor/test/test_utils.h"
#include "base/cancelable_callback.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/timer/timer.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_utils.cc | C++ | unknown | 2,490 |
// 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_COMPOSITOR_TEST_TEST_UTILS_H_
#define UI_COMPOSITOR_TEST_TEST_UTILS_H_
#include "base/time/time.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
namespac... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/test_utils.h | C++ | unknown | 1,085 |
// 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/compositor/test/throughput_report_checker.h"
#include "base/time/time.h"
#include "ui/compositor/test/animation_throughput_reporter_test_base.h"
namespace ui {
... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/throughput_report_checker.cc | C++ | unknown | 702 |
// 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_COMPOSITOR_TEST_THROUGHPUT_REPORT_CHECKER_H_
#define UI_COMPOSITOR_TEST_THROUGHPUT_REPORT_CHECKER_H_
#include "base/functional/bind.h"
#include "base/memory/raw_ptr... | Zhao-PengFei35/chromium_src_4 | ui/compositor/test/throughput_report_checker.h | C++ | unknown | 1,913 |
// 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/compositor/throughput_tracker.h"
#include <utility>
#include "base/check.h"
#include "base/functional/callback.h"
namespace ui {
ThroughputTracker::ThroughputT... | Zhao-PengFei35/chromium_src_4 | ui/compositor/throughput_tracker.cc | C++ | unknown | 1,623 |
// 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_COMPOSITOR_THROUGHPUT_TRACKER_H_
#define UI_COMPOSITOR_THROUGHPUT_TRACKER_H_
#include "base/functional/callback_forward.h"
#include "base/memory/weak_ptr.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/throughput_tracker.h | C++ | unknown | 2,173 |
// 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_COMPOSITOR_THROUGHPUT_TRACKER_HOST_H_
#define UI_COMPOSITOR_THROUGHPUT_TRACKER_HOST_H_
#include "base/functional/callback_forward.h"
#include "cc/metrics/frame_sequ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/throughput_tracker_host.h | C++ | unknown | 1,364 |
// 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 "base/test/bind.h"
#include "ui/compositor/compositor.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animator.h"
#include "ui/compositor/test/animat... | Zhao-PengFei35/chromium_src_4 | ui/compositor/throughput_tracker_unittest.cc | C++ | unknown | 1,160 |
// 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/compositor/total_animation_throughput_reporter.h"
#include "base/logging.h"
#include "base/observer_list.h"
#include "ui/compositor/compositor.h"
namespace ui {
... | Zhao-PengFei35/chromium_src_4 | ui/compositor/total_animation_throughput_reporter.cc | C++ | unknown | 4,249 |
// 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_COMPOSITOR_TOTAL_ANIMATION_THROUGHPUT_REPORTER_H_
#define UI_COMPOSITOR_TOTAL_ANIMATION_THROUGHPUT_REPORTER_H_
#include "base/functional/callback_forward.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/total_animation_throughput_reporter.h | C++ | unknown | 5,269 |
// 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/compositor/total_animation_throughput_reporter.h"
#include <memory>
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/compositor/total_animation_throughput_reporter_unittest.cc | C++ | unknown | 17,144 |
// 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/compositor/transform_animation_curve_adapter.h"
#include "base/memory/ptr_util.h"
#include "ui/gfx/geometry/decomposed_transform.h"
#include "ui/gfx/geometry/tran... | Zhao-PengFei35/chromium_src_4 | ui/compositor/transform_animation_curve_adapter.cc | C++ | unknown | 2,971 |
// 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_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_
#define UI_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_
#include <memory>
#include "base/time/time.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/compositor/transform_animation_curve_adapter.h | C++ | unknown | 1,943 |
// 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/compositor/transform_animation_curve_adapter.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
namespace {
TEST(Tran... | Zhao-PengFei35/chromium_src_4 | ui/compositor/transform_animation_curve_adapter_unittest.cc | C++ | unknown | 2,337 |
// 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/compositor/transform_recorder.h"
#include "cc/paint/display_item_list.h"
#include "cc/paint/paint_op_buffer.h"
#include "ui/compositor/paint_context.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/compositor/transform_recorder.cc | C++ | unknown | 1,095 |
// 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_COMPOSITOR_TRANSFORM_RECORDER_H_
#define UI_COMPOSITOR_TRANSFORM_RECORDER_H_
#include "base/memory/raw_ref.h"
#include "ui/compositor/compositor_export.h"
namespac... | Zhao-PengFei35/chromium_src_4 | ui/compositor/transform_recorder.h | C++ | unknown | 1,144 |
include_rules = [
"+ui/base",
"+ui/compositor",
"+ui/gfx",
]
| Zhao-PengFei35/chromium_src_4 | ui/compositor_extra/DEPS | Python | unknown | 67 |
// 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/compositor_extra/shadow.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/scoped_layer_animation_settings.... | Zhao-PengFei35/chromium_src_4 | ui/compositor_extra/shadow.cc | C++ | unknown | 7,386 |
// 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_COMPOSITOR_EXTRA_SHADOW_H_
#define UI_COMPOSITOR_EXTRA_SHADOW_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/compositor/layer_animation_observe... | Zhao-PengFei35/chromium_src_4 | ui/compositor_extra/shadow.h | C++ | unknown | 4,412 |
// 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/compositor_extra/shadow.h"
#include "base/test/test_discardable_memory_allocator.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/layer.h... | Zhao-PengFei35/chromium_src_4 | ui/compositor_extra/shadow_unittest.cc | C++ | unknown | 4,385 |
include_rules = [
"+content/public",
"+ui/base",
"+ui/events",
"+third_party/blink/public/common/input/web_input_event.h",
]
| Zhao-PengFei35/chromium_src_4 | ui/content_accelerators/DEPS | Python | unknown | 133 |
// 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/content_accelerators/accelerator_util.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "third_party/blink/public/common/input/we... | Zhao-PengFei35/chromium_src_4 | ui/content_accelerators/accelerator_util.cc | C++ | unknown | 1,605 |
// 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_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_
#define UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_
#include "content/public/browser/native_web_keyboard_event.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/content_accelerators/accelerator_util.h | C++ | unknown | 600 |
include_rules = [
"+mojo/public",
"+skia/ext",
"+third_party/cros_system_api",
"+third_party/re2",
"+ui/gfx",
]
| Zhao-PengFei35/chromium_src_4 | ui/display/DEPS | Python | unknown | 122 |
// 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/display/display.h"
#include <algorithm>
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/notreached.... | Zhao-PengFei35/chromium_src_4 | ui/display/display.cc | C++ | unknown | 10,416 |
// 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_DISPLAY_DISPLAY_H_
#define UI_DISPLAY_DISPLAY_H_
#include <stdint.h>
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "third_party/abseil-cpp/absl/type... | Zhao-PengFei35/chromium_src_4 | ui/display/display.h | C++ | unknown | 11,447 |
// 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/display/display_change_notifier.h"
#include <stdint.h>
#include "base/containers/contains.h"
#include "base/observer_list.h"
#include "base/ranges/algorithm.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/display/display_change_notifier.cc | C++ | unknown | 2,946 |
// 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_DISPLAY_DISPLAY_CHANGE_NOTIFIER_H_
#define UI_DISPLAY_DISPLAY_CHANGE_NOTIFIER_H_
#include <vector>
#include "base/observer_list.h"
#include "ui/display/display_exp... | Zhao-PengFei35/chromium_src_4 | ui/display/display_change_notifier.h | C++ | unknown | 1,296 |
// 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/display/display_change_notifier.h"
#include <stdint.h>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/display.h"
#include "ui/display/displa... | Zhao-PengFei35/chromium_src_4 | ui/display/display_change_notifier_unittest.cc | C++ | unknown | 15,535 |
// 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_DISPLAY_DISPLAY_EXPORT_H_
#define UI_DISPLAY_DISPLAY_EXPORT_H_
// Defines DISPLAY_EXPORT so that functionality implemented by the UI module
// can be exported to co... | Zhao-PengFei35/chromium_src_4 | ui/display/display_export.h | C | unknown | 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/display/display_features.h"
#include "base/feature_list.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
namespace display {
namespace f... | Zhao-PengFei35/chromium_src_4 | ui/display/display_features.cc | C++ | unknown | 2,919 |
// 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_DISPLAY_DISPLAY_FEATURES_H_
#define UI_DISPLAY_DISPLAY_FEATURES_H_
#include "base/component_export.h"
#include "base/feature_list.h"
#include "build/chromeos_buildf... | Zhao-PengFei35/chromium_src_4 | ui/display/display_features.h | C++ | unknown | 1,447 |