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 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 <memory> #include <utility> #include "base/functional/bind.h" #include "base/location.h" #include "base/memory/raw...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_impl_unittest.cc
C++
unknown
60,140
// 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_OBSERVER_H_ #define UI_MESSAGE_CENTER_MESSAGE_CENTER_OBSERVER_H_ #include <string> #include "base/observer_list_types.h" #include "th...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_observer.h
C++
unknown
3,262
// 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_stats_collector.h" #include <stddef.h> #include <string> #include "base/metrics/histogram_macros.h" #include "base/metrics/user_me...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_stats_collector.cc
C++
unknown
4,798
// 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_STATS_COLLECTOR_H_ #define UI_MESSAGE_CENTER_MESSAGE_CENTER_STATS_COLLECTOR_H_ #include <set> #include <string> #include "base/memory...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_stats_collector.h
C++
unknown
3,355
// 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_style.h" #include <algorithm> #include "ui/gfx/color_palette.h" #include "ui/gfx/image/image_skia.h" #include "ui/gfx/paint_vector_...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_style.cc
C++
unknown
1,195
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ #define UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ #include <stddef.h> #include "build/build_config.h" #include "ui/gfx/geome...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_style.h
C++
unknown
750
// 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_TYPES_H_ #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_ namespace message_center { enum Visibility { // When nothing or just toa...
Zhao-PengFei35/chromium_src_4
ui/message_center/message_center_types.h
C++
unknown
758
// 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/notification_blocker.h" #include "base/observer_list.h" #include "ui/message_center/message_center.h" namespace message_center { NotificationBloc...
Zhao-PengFei35/chromium_src_4
ui/message_center/notification_blocker.cc
C++
unknown
1,154
// 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_NOTIFICATION_BLOCKER_H_ #define UI_MESSAGE_CENTER_NOTIFICATION_BLOCKER_H_ #include "base/memory/raw_ptr.h" #include "base/observer_list.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/message_center/notification_blocker.h
C++
unknown
2,125
// 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/notification_list.h" #include <utility> #include "base/check.h" #include "base/containers/adapters.h" #include "base/functional/bind.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/message_center/notification_list.cc
C++
unknown
14,534
// 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_NOTIFICATION_LIST_H_ #define UI_MESSAGE_CENTER_NOTIFICATION_LIST_H_ #include <stddef.h> #include <list> #include <map> #include <set> #include <stri...
Zhao-PengFei35/chromium_src_4
ui/message_center/notification_list.h
C++
unknown
8,021
// 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/notification_list.h" #include <stddef.h> #include <memory> #include <utility> #include "base/i18n/time_formatting.h" #include "base/strings/strin...
Zhao-PengFei35/chromium_src_4
ui/message_center/notification_list_unittest.cc
C++
unknown
34,576
// 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_MESSAGE_CENTER_NOTIFICATION_VIEW_CONTROLLER_H_ #define UI_MESSAGE_CENTER_NOTIFICATION_VIEW_CONTROLLER_H_ #include <string> #include "ui/message_center/message_cent...
Zhao-PengFei35/chromium_src_4
ui/message_center/notification_view_controller.h
C++
unknown
1,858
// 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/message_center/popup_timer.h" #include "base/functional/bind.h" namespace message_center { PopupTimer::PopupTimer(const std::string& id, b...
Zhao-PengFei35/chromium_src_4
ui/message_center/popup_timer.cc
C++
unknown
1,124
// 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_POPUP_TIMER_H_ #define UI_MESSAGE_CENTER_POPUP_TIMER_H_ #include <memory> #include <string> #include "base/memory/weak_ptr.h" #include "base/time/ti...
Zhao-PengFei35/chromium_src_4
ui/message_center/popup_timer.h
C++
unknown
2,145
// 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/message_center/popup_timers_controller.h" #include <algorithm> #include "base/containers/contains.h" #include "build/chromeos_buildflags.h" #include "ui/message_...
Zhao-PengFei35/chromium_src_4
ui/message_center/popup_timers_controller.cc
C++
unknown
4,569
// 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_MESSAGE_CENTER_POPUP_TIMERS_CONTROLLER_H_ #define UI_MESSAGE_CENTER_POPUP_TIMERS_CONTROLLER_H_ #include <map> #include <memory> #include <string> #include "base/me...
Zhao-PengFei35/chromium_src_4
ui/message_center/popup_timers_controller.h
C++
unknown
2,819
include_rules = [ "-ui/message_center", "+ui/message_center/public", ]
Zhao-PengFei35/chromium_src_4
ui/message_center/public/DEPS
Python
unknown
75
// 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_MESSAGE_CENTER_PUBLIC_CPP_MESSAGE_CENTER_CONSTANTS_H_ #define UI_MESSAGE_CENTER_PUBLIC_CPP_MESSAGE_CENTER_CONSTANTS_H_ #include <stddef.h> #include "build/build_co...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/message_center_constants.h
C++
unknown
5,269
// 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_MESSAGE_CENTER_PUBLIC_CPP_MESSAGE_CENTER_PUBLIC_EXPORT_H_ #define UI_MESSAGE_CENTER_PUBLIC_CPP_MESSAGE_CENTER_PUBLIC_EXPORT_H_ // Defines MESSAGE_CENTER_PUBLIC_EXPO...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/message_center_public_export.h
C
unknown
1,112
// 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/public/cpp/notification.h" #include <map> #include <memory> #include "build/chromeos_buildflags.h" #include "ui/color/color_provider.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notification.cc
C++
unknown
7,313
// 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_PUBLIC_CPP_NOTIFICATION_H_ #define UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFICATION_H_ #include <stddef.h> #include <string> #include <vector> #include "b...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notification.h
C++
unknown
25,222
// 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/public/cpp/notification_delegate.h" #include "base/check.h" #include "base/functional/bind.h" namespace message_center { // ThunkNotificationDele...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notification_delegate.cc
C++
unknown
2,221
// 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_PUBLIC_CPP_NOTIFICATION_DELEGATE_H_ #define UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFICATION_DELEGATE_H_ #include <memory> #include <string> #include "base...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notification_delegate.h
C++
unknown
4,531
// 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/message_center/public/cpp/notification_delegate.h" #include "base/functional/bind.h" #include "base/functional/callback.h" #include "base/memory/ref_counted.h" #i...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notification_delegate_unittest.cc
C++
unknown
2,076
// 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_PUBLIC_CPP_NOTIFICATION_TYPES_H_ #define UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFICATION_TYPES_H_ namespace message_center { // Notification types. Note t...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notification_types.h
C++
unknown
1,519
// 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/public/cpp/notifier_id.h" #include "base/check.h" #include "base/logging.h" #include "base/strings/string_number_conversions.h" namespace message_c...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notifier_id.cc
C++
unknown
2,462
// 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_PUBLIC_CPP_NOTIFIER_ID_H_ #define UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFIER_ID_H_ #include <stddef.h> #include <string> #include <vector> #include "thi...
Zhao-PengFei35/chromium_src_4
ui/message_center/public/cpp/notifier_id.h
C++
unknown
2,842
include_rules = [ "+mojo/core/embedder/embedder.h", "+ui/gl/test/gl_surface_test_support.h", # To initialize GL for tests. ]
Zhao-PengFei35/chromium_src_4
ui/message_center/test/DEPS
Python
unknown
130
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/compiler_specific.h" #include "base/functional/bind.h" #include "base/path_service.h" #include "base/test/launcher/unit_test_launcher.h" #include "base/test/test...
Zhao-PengFei35/chromium_src_4
ui/message_center/test/run_all_unittests.cc
C++
unknown
1,911
// 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/message_center/views/desktop_message_popup_collection.h" #include "ui/display/screen.h" #include "ui/gfx/geometry/rect.h" #include "ui/message_center/public/cpp/m...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/desktop_message_popup_collection.cc
C++
unknown
4,850
// 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_MESSAGE_CENTER_VIEWS_DESKTOP_MESSAGE_POPUP_COLLECTION_H_ #define UI_MESSAGE_CENTER_VIEWS_DESKTOP_MESSAGE_POPUP_COLLECTION_H_ #include <stdint.h> #include "base/mem...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/desktop_message_popup_collection.h
C++
unknown
2,730
// 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/message_center/views/large_image_view.h" #include "ash/constants/ash_features.h" #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/gfx/canvas.h" #in...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/large_image_view.cc
C++
unknown
4,084
// 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_MESSAGE_CENTER_VIEWS_LARGE_IMAGE_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_LARGE_IMAGE_VIEW_H_ #include "ui/gfx/geometry/size.h" #include "ui/gfx/image/image_skia.h" ...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/large_image_view.h
C++
unknown
1,884
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/message_center/views/large_image_view.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/image/image_skia.h" namespace message_center { namespace...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/large_image_view_unittest.cc
C++
unknown
3,090
// 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/views/message_popup_collection.h" #include "base/containers/adapters.h" #include "base/containers/cxx20_erase.h" #include "base/functional/bind.h" ...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_popup_collection.cc
C++
unknown
19,425
// 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_VIEWS_MESSAGE_POPUP_COLLECTION_H_ #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_COLLECTION_H_ #include <memory> #include <vector> #include "base/mem...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_popup_collection.h
C++
unknown
11,109
// 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/views/message_popup_collection.h" #include "base/containers/cxx20_erase.h" #include "base/memory/raw_ptr.h" #include "base/strings/string_number_co...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_popup_collection_unittest.cc
C++
unknown
32,997
// 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/views/message_popup_view.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" #include "ui/accessibility/ax_enums.mojom.h" #in...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_popup_view.cc
C++
unknown
7,707
// 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_VIEWS_MESSAGE_POPUP_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_VIEW_H_ #include "base/memory/raw_ptr.h" #include "base/scoped_observation....
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_popup_view.h
C++
unknown
3,367
// 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. #import "ui/message_center/views/message_popup_view.h" #import <Cocoa/Cocoa.h> #include "ui/views/widget/widget.h" namespace message_center { float MessagePopupView::GetOpa...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_popup_view_mac.mm
Objective-C++
unknown
483
// 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/views/message_view.h" #include "ash/constants/ash_features.h" #include "base/observer_list.h" #include "base/strings/utf_string_conversions.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_view.cc
C++
unknown
18,201
// 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_VIEWS_MESSAGE_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/message_view.h
C++
unknown
11,335
// 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/views/notification_background_painter.h" #include "third_party/skia/include/core/SkPath.h" #include "ui/gfx/canvas.h" #include "ui/gfx/geometry/rec...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_background_painter.cc
C++
unknown
1,442
// 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_VIEWS_NOTIFICATION_BACKGROUND_PAINTER_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_BACKGROUND_PAINTER_H_ #include "ui/message_center/message_cente...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_background_painter.h
C++
unknown
1,468
// 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/message_center/views/notification_control_button_factory.h" #include "ui/message_center/views/padded_button.h" namespace message_center { std::unique_ptr<views:...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_control_button_factory.cc
C++
unknown
524
// 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_MESSAGE_CENTER_VIEWS_NOTIFICATION_CONTROL_BUTTON_FACTORY_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_CONTROL_BUTTON_FACTORY_H_ #include <memory> #include "ui/m...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_control_button_factory.h
C++
unknown
1,237
// 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/message_center/views/notification_control_buttons_view.h" #include "base/memory/raw_ptr.h" #include "base/strings/utf_string_conversions.h" #include "testing/gtes...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_control_buttons_unittest.cc
C++
unknown
5,516
// 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/message_center/views/notification_control_buttons_view.h" #include <memory> #include "third_party/skia/include/core/SkColor.h" #include "ui/base/l10n/l10n_util.h...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_control_buttons_view.cc
C++
unknown
7,899
// 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_MESSAGE_CENTER_VIEWS_NOTIFICATION_CONTROL_BUTTONS_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_CONTROL_BUTTONS_VIEW_H_ #include <memory> #include "base/mem...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_control_buttons_view.h
C++
unknown
3,897
// 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/message_center/views/notification_header_view.h" #include <memory> #include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversi...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_header_view.cc
C++
unknown
17,616
// 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_MESSAGE_CENTER_VIEWS_NOTIFICATION_HEADER_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_HEADER_VIEW_H_ #include "base/gtest_prod_util.h" #include "base/memory...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_header_view.h
C++
unknown
5,456
// 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/message_center/views/notification_header_view.h" #include <memory> #include "base/memory/raw_ptr.h" #include "base/strings/utf_string_conversions.h" #include "ba...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_header_view_unittest.cc
C++
unknown
16,215
// 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/message_center/views/notification_input_container.h" #include "base/functional/bind.h" #include "ui/base/l10n/l10n_util.h" #include "ui/color/color_id.h" #include...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_input_container.cc
C++
unknown
7,946
// 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_MESSAGE_CENTER_VIEWS_NOTIFICATION_INPUT_CONTAINER_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_INPUT_CONTAINER_H_ #include "base/memory/raw_ptr.h" #include "ui/m...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_input_container.h
C++
unknown
3,921
// 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/message_center/views/notification_view.h" #include <memory> #include "build/build_config.h" #include "ui/base/l10n/l10n_util.h" #include "ui/color/color_id.h" #i...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view.cc
C++
unknown
26,789
// 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_VIEWS_NOTIFICATION_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ #include "base/memory/raw_ptr.h" #include "ui/message_center/message_...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view.h
C++
unknown
3,773
// 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/message_center/views/notification_view_base.h" #include <stddef.h> #include <algorithm> #include <memory> #include <utility> #include "ash/constants/ash_features...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view_base.cc
C++
unknown
30,815
// 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_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_BASE_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_BASE_H_ #include <memory> #include <utility> #include <vector> #in...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view_base.h
C++
unknown
16,913
// 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/message_center/views/notification_view.h" #include <memory> #include "base/memory/raw_ptr.h" #include "base/strings/string_util.h" #include "base/strings/utf_str...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view_base_unittest.cc
C++
unknown
44,332
// 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/message_center/views/notification_view.h" #include <memory> #include "base/memory/raw_ptr.h" #include "base/test/scoped_feature_list.h" #include "build/chromeos_...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view_unittest.cc
C++
unknown
32,213
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event.h" #include "ui/views/view.h" namespace message_center { namespace notification_view_util { std::unique_ptr<ui::Event> ConvertToBoundedLocatedEvent(...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view_util.cc
C++
unknown
1,126
// 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_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_UTIL_H_ #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_UTIL_H_ #include <memory> namespace ui { class Event; } // namesp...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/notification_view_util.h
C++
unknown
737
// 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/views/padded_button.h" #include <memory> #include "third_party/skia/include/core/SkColor.h" #include "ui/base/metadata/metadata_impl_macros.h" #in...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/padded_button.cc
C++
unknown
1,716
// 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_VIEWS_PADDED_BUTTON_H_ #define UI_MESSAGE_CENTER_VIEWS_PADDED_BUTTON_H_ #include "ui/base/metadata/metadata_header_macros.h" #include "ui/message_cen...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/padded_button.h
C++
unknown
1,413
// 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/views/proportional_image_view.h" #include "third_party/skia/include/core/SkPath.h" #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/proportional_image_view.cc
C++
unknown
2,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. #ifndef UI_MESSAGE_CENTER_VIEWS_PROPORTIONAL_IMAGE_VIEW_H_ #define UI_MESSAGE_CENTER_VIEWS_PROPORTIONAL_IMAGE_VIEW_H_ #include "ui/base/models/image_model.h" #include "ui/mess...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/proportional_image_view.h
C++
unknown
1,894
// 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/message_center/views/relative_time_formatter.h" #include "base/numerics/safe_conversions.h" #include "ui/base/l10n/l10n_util.h" #include "ui/strings/grit/ui_strin...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/relative_time_formatter.cc
C++
unknown
2,908
// 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_MESSAGE_CENTER_VIEWS_RELATIVE_TIME_FORMATTER_H_ #define UI_MESSAGE_CENTER_VIEWS_RELATIVE_TIME_FORMATTER_H_ #include <string> #include "base/time/time.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/relative_time_formatter.h
C++
unknown
832
// 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/message_center/views/relative_time_formatter.h" #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/l10n/l10n_util.h" #in...
Zhao-PengFei35/chromium_src_4
ui/message_center/views/relative_time_formatter_unittest.cc
C++
unknown
7,089
include_rules = [ "+cc/paint", "+skia/ext", "+third_party/skia", "+ui/base", "+ui/color", "+ui/display", "+ui/gfx", "+ui/resources/grit/ui_resources.h", ]
Zhao-PengFei35/chromium_src_4
ui/native_theme/DEPS
Python
unknown
171
// 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/native_theme/caption_style.h" #include "base/json/json_reader.h" #include "base/values.h" #include "build/build_config.h" namespace ui { CaptionStyle::CaptionSty...
Zhao-PengFei35/chromium_src_4
ui/native_theme/caption_style.cc
C++
unknown
1,196
// 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_NATIVE_THEME_CAPTION_STYLE_H_ #define UI_NATIVE_THEME_CAPTION_STYLE_H_ #include "third_party/abseil-cpp/absl/types/optional.h" #include "third_party/skia/include/co...
Zhao-PengFei35/chromium_src_4
ui/native_theme/caption_style.h
C++
unknown
1,797
// 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 <AppKit/AppKit.h> #include <MediaAccessibility/MediaAccessibility.h> #include "base/mac/foundation_util.h" #include "base/mac/scoped_cftyperef.h" #include "base/mac/s...
Zhao-PengFei35/chromium_src_4
ui/native_theme/caption_style_mac.mm
Objective-C++
unknown
8,585
// 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/native_theme/caption_style.h" #include <Windows.Media.ClosedCaptioning.h> #include <wrl/client.h> #include <string> #include "base/check_op.h" #include "base/no...
Zhao-PengFei35/chromium_src_4
ui/native_theme/caption_style_win.cc
C++
unknown
10,143
// 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/native_theme/caption_style.h" #include "base/test/scoped_feature_list.h" #include "base/win/scoped_com_initializer.h" #include "testing/gtest/include/gtest/gtest....
Zhao-PengFei35/chromium_src_4
ui/native_theme/caption_style_win_unittest.cc
C++
unknown
1,415
// 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/native_theme/common_theme.h" #include "base/logging.h" #include "base/notreached.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/native_theme/common_theme.cc
C++
unknown
1,859
// 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_NATIVE_THEME_COMMON_THEME_H_ #define UI_NATIVE_THEME_COMMON_THEME_H_ #include "ui/color/color_id.h" #include "ui/native_theme/native_theme.h" #include "ui/native_t...
Zhao-PengFei35/chromium_src_4
ui/native_theme/common_theme.h
C++
unknown
776
// 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/native_theme/native_theme.h" #include <cstring> #include "base/command_line.h" #include "base/containers/fixed_flat_map.h" #include "base/functional/bind.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme.cc
C++
unknown
11,114
// 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_NATIVE_THEME_NATIVE_THEME_H_ #define UI_NATIVE_THEME_NATIVE_THEME_H_ #include <map> #include "base/containers/flat_map.h" #include "base/memory/raw_ptr.h" #include...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme.h
C++
unknown
20,273
// 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/native_theme/native_theme_android.h" #include "base/no_destructor.h" #include "base/notreached.h" #include "ui/gfx/geometry/size.h" namespace ui { namespace { /...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_android.cc
C++
unknown
4,180
// 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_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ #define UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ #include "base/no_destructor.h" #include "ui/native_theme/native_theme_base.h" ...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_android.h
C++
unknown
2,092
// 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/native_theme/native_theme_aura.h" #include <limits> #include <utility> #include "base/check_op.h" #include "base/containers/fixed_flat_map.h" #include "base/no_d...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_aura.cc
C++
unknown
21,483
// 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_NATIVE_THEME_NATIVE_THEME_AURA_H_ #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ #include "base/no_destructor.h" #include "ui/native_theme/native_theme_base.h" names...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_aura.h
C++
unknown
4,097
// 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. #if defined(OHOS_UNITTESTS) #define protected public #include "ui/native_theme/native_theme_aura.h" #undef protected #define private public #include "third_party/skia/include/...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_aura_unittest.cc
C++
unknown
19,500
// 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/native_theme/native_theme_base.h" #include <algorithm> #include <limits> #include <memory> #include "base/check.h" #include "base/command_line.h" #include "base/...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_base.cc
C++
unknown
70,420
// 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_NATIVE_THEME_NATIVE_THEME_BASE_H_ #define UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ #include "base/gtest_prod_util.h" #include "cc/paint/paint_flags.h" #include "ui/nati...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_base.h
C++
unknown
13,663
// 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_NATIVE_THEME_NATIVE_THEME_CONSTANTS_FLUENT_H_ #define UI_NATIVE_THEME_NATIVE_THEME_CONSTANTS_FLUENT_H_ namespace ui { constexpr int kFluentScrollbarThickness = 15;...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_constants_fluent.h
C++
unknown
2,698
// 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_NATIVE_THEME_NATIVE_THEME_EXPORT_H_ #define UI_NATIVE_THEME_NATIVE_THEME_EXPORT_H_ // Defines NATIVE_THEME_EXPORT so that functionality implemented by the // native...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_export.h
C
unknown
968
// 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/native_theme/native_theme_features.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" namespace features { #if BUILDFLAG(IS_ANDROID) || B...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_features.cc
C++
unknown
2,251
// 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. // Defines all the command-line switches used by native theme #ifndef UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_ #define UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_ #include "base...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_features.h
C++
unknown
934
// 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/native_theme/native_theme_fluent.h" #include "base/no_destructor.h" #include "cc/paint/paint_canvas.h" #include "cc/paint/paint_flags.h" #include "third_party/ski...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_fluent.cc
C++
unknown
10,024
// 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_NATIVE_THEME_NATIVE_THEME_FLUENT_H_ #define UI_NATIVE_THEME_NATIVE_THEME_FLUENT_H_ #include "ui/native_theme/native_theme_base.h" namespace gfx { class Rect; class...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_fluent.h
C++
unknown
4,020
// 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/native_theme/native_theme_fluent.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/include/core/SkTypeface.h" #include "ui/gfx/geometry...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_fluent_unittest.cc
C++
unknown
4,951
// 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_NATIVE_THEME_NATIVE_THEME_IOS_H_ #define UI_NATIVE_THEME_NATIVE_THEME_IOS_H_ #include "base/no_destructor.h" #include "ui/native_theme/native_theme_base.h" namespa...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_ios.h
C++
unknown
2,040
// 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/native_theme/native_theme_ios.h" #include "base/no_destructor.h" #include "base/notreached.h" #include "ui/gfx/geometry/size.h" namespace ui { namespace { // Th...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_ios.mm
Objective-C++
unknown
4,092
// 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_NATIVE_THEME_NATIVE_THEME_MAC_H_ #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ #include "base/mac/scoped_nsobject.h" #include "base/no_destructor.h" #include "ui/gfx/...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_mac.h
Objective-C
unknown
6,848
// 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/native_theme/native_theme_mac.h" #import <Cocoa/Cocoa.h> #include <MediaAccessibility/MediaAccessibility.h> #include <stddef.h> #include <vector> #include "base...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_mac.mm
Objective-C++
unknown
20,751
// 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/native_theme/native_theme_mac.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { class TestNativeThemeMac : public NativeThemeMac { public: Tes...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_mac_unittest.mm
Objective-C++
unknown
2,326
// 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/native_theme/native_theme_observer.h" namespace ui { NativeThemeObserver::~NativeThemeObserver() {} } // namespace ui
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_observer.cc
C++
unknown
279