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 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.ui.accessibility;
import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_SPOKEN;
import static android.accessibilityservice.Accessib... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/android/java/src/org/chromium/ui/accessibility/AccessibilityState.java | Java | unknown | 28,607 |
// 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/accessibility/aura/aura_window_properties.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_tree_id.h"
#include "ui/base/class_propert... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/aura/aura_window_properties.cc | C++ | unknown | 731 |
// 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_ACCESSIBILITY_AURA_AURA_WINDOW_PROPERTIES_H_
#define UI_ACCESSIBILITY_AURA_AURA_WINDOW_PROPERTIES_H_
#include <string>
#include "ui/accessibility/ax_enums.mojom-fo... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/aura/aura_window_properties.h | C++ | unknown | 1,236 |
// 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/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_enums.mojom.h"
namespace ui {
// Mojo enums are initialized here so the header can include the muc... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_data.cc | C++ | unknown | 805 |
// 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_ACCESSIBILITY_AX_ACTION_DATA_H_
#define UI_ACCESSIBILITY_AX_ACTION_DATA_H_
#include <string>
#include <utility>
#include "ui/accessibility/ax_base_export.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_data.h | C++ | unknown | 2,953 |
// 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/accessibility/ax_action_handler.h"
#include "ui/accessibility/ax_action_handler_registry.h"
namespace ui {
AXActionHandler::AXActionHandler()
: AXActionHand... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_handler.cc | C++ | unknown | 429 |
// 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_ACCESSIBILITY_AX_ACTION_HANDLER_H_
#define UI_ACCESSIBILITY_AX_ACTION_HANDLER_H_
#include "ui/accessibility/ax_action_handler_base.h"
#include "ui/accessibility/ax_... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_handler.h | C++ | unknown | 919 |
// 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/accessibility/ax_action_handler_base.h"
#include "ui/accessibility/ax_action_handler_registry.h"
namespace ui {
bool AXActionHandlerBase::RequiresPerformActionP... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_handler_base.cc | C++ | unknown | 982 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_ACCESSIBILITY_AX_ACTION_HANDLER_BASE_H_
#define UI_ACCESSIBILITY_AX_ACTION_HANDLER_BASE_H_
#include "ui/accessibility/ax_base_export.h"
#include "ui/accessibility/a... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_handler_base.h | C++ | unknown | 2,196 |
// 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/accessibility/ax_action_handler_registry.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
#include "base/strings/string_number_conversions.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_handler_registry.cc | C++ | unknown | 3,312 |
// 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_ACCESSIBILITY_AX_ACTION_HANDLER_REGISTRY_H_
#define UI_ACCESSIBILITY_AX_ACTION_HANDLER_REGISTRY_H_
#include <cstdint>
#include <map>
#include <utility>
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_handler_registry.h | C++ | unknown | 3,914 |
// 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_ACCESSIBILITY_AX_ACTION_TARGET_H_
#define UI_ACCESSIBILITY_AX_ACTION_TARGET_H_
#include "ui/accessibility/ax_enums.mojom-forward.h"
#include "ui/gfx/geometry/point.... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_action_target.h | C++ | unknown | 1,992 |
// 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/accessibility/ax_active_popup.h"
namespace ui {
namespace {
absl::optional<AXNodeID>& GetActivePopupAXUniqueIdInstance() {
// Keeps track of the unique ID tha... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_active_popup.cc | C++ | unknown | 1,646 |
// 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_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
#define UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/accessibility/ax_e... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_active_popup.h | C++ | unknown | 647 |
// 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/accessibility/ax_assistant_structure.h"
#include <utility>
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_con... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_assistant_structure.cc | C++ | unknown | 15,338 |
// 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_ACCESSIBILITY_AX_ASSISTANT_STRUCTURE_H_
#define UI_ACCESSIBILITY_AX_ASSISTANT_STRUCTURE_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_assistant_structure.h | C++ | unknown | 2,205 |
// 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_ACCESSIBILITY_AX_BASE_EXPORT_H_
#define UI_ACCESSIBILITY_AX_BASE_EXPORT_H_
// Defines AX_BASE_EXPORT so that functionality implemented by the
// ui/accessibility:ax... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_base_export.h | C | unknown | 868 |
// 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_ACCESSIBILITY_AX_BIT_MAP_H_
#define UI_ACCESSIBILITY_AX_BIT_MAP_H_
#include "base/check.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include <memory... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_bit_map.h | C++ | unknown | 3,698 |
// 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/accessibility/ax_bit_map.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
enum class SmallTestEnum {
kMinValue = 0,
kFirstValue = 0,
kMidd... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_bit_map_unittest.cc | C++ | unknown | 4,498 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_ACCESSIBILITY_AX_CLIPPING_BEHAVIOR_H_
#define UI_ACCESSIBILITY_AX_CLIPPING_BEHAVIOR_H_
namespace ui {
// The clipping behavior to perform on bounds. Clipping limit... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_clipping_behavior.h | C++ | unknown | 823 |
// 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_ACCESSIBILITY_AX_COMMON_H_
#define UI_ACCESSIBILITY_AX_COMMON_H_
#include "build/blink_buildflags.h"
#include "build/build_config.h"
#if (!defined(NDEBUG) || defin... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_common.h | C | unknown | 2,100 |
// 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/accessibility/ax_computed_node_data.h"
#include "base/check_op.h"
#include "base/i18n/break_iterator.h"
#include "base/logging.h"
#include "base/numerics/safe_con... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_computed_node_data.cc | C++ | unknown | 20,311 |
// 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_ACCESSIBILITY_AX_COMPUTED_NODE_DATA_H_
#define UI_ACCESSIBILITY_AX_COMPUTED_NODE_DATA_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/me... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_computed_node_data.h | C++ | unknown | 8,363 |
// 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/accessibility/ax_computed_node_data.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "testing/gmock/include/gm... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_computed_node_data_unittest.cc | C++ | unknown | 26,095 |
// 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_ACCESSIBILITY_AX_COORDINATE_SYSTEM_H_
#define UI_ACCESSIBILITY_AX_COORDINATE_SYSTEM_H_
namespace ui {
// The coordinate system of bounds or points. The origin for ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_coordinate_system.h | C++ | unknown | 1,696 |
// 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/accessibility/ax_enum_localization_util.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/strings/grit/ax_strings.h... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_enum_localization_util.cc | C++ | unknown | 1,574 |
// 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_ACCESSIBILITY_AX_ENUM_LOCALIZATION_UTIL_H_
#define UI_ACCESSIBILITY_AX_ENUM_LOCALIZATION_UTIL_H_
#include <string>
#include "ui/accessibility/ax_base_export.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_enum_localization_util.h | C++ | unknown | 638 |
// 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/accessibility/ax_enum_util.h"
#include "ui/accessibility/ax_enums.mojom-shared.h"
#include "ui/accessibility/ax_enums.mojom.h"
namespace ui {
const char* ToStri... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_enum_util.cc | C++ | unknown | 89,674 |
// 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_ACCESSIBILITY_AX_ENUM_UTIL_H_
#define UI_ACCESSIBILITY_AX_ENUM_UTIL_H_
#include <map>
#include <string>
#include "base/containers/contains.h"
#include "base/loggin... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_enum_util.h | C++ | unknown | 6,174 |
// 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/accessibility/ax_enum_util.h"
#include <string>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enums.mojom.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_enum_util_unittest.cc | C++ | unknown | 7,503 |
// 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/accessibility/ax_event.h"
#include "base/strings/string_number_conversions.h"
#include "ui/accessibility/ax_enum_util.h"
namespace ui {
AXEvent::AXEvent() = def... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event.cc | C++ | unknown | 1,740 |
// 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_ACCESSIBILITY_AX_EVENT_H_
#define UI_ACCESSIBILITY_AX_EVENT_H_
#include <string>
#include <vector>
#include "ui/accessibility/ax_base_export.h"
#include "ui/access... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event.h | C++ | unknown | 2,239 |
// 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/accessibility/ax_event_generator.h"
#include "base/containers/contains.h"
#include "base/no_destructor.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event_generator.cc | C++ | unknown | 55,749 |
// 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_ACCESSIBILITY_AX_EVENT_GENERATOR_H_
#define UI_ACCESSIBILITY_AX_EVENT_GENERATOR_H_
#include <bitset>
#include <map>
#include <memory>
#include <ostream>
#include <s... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event_generator.h | C++ | unknown | 14,672 |
// 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/accessibility/ax_event_generator.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event_generator_unittest.cc | C++ | unknown | 128,157 |
// 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/accessibility/ax_event_intent.h"
#include "ui/accessibility/ax_enum_util.h"
namespace ui {
AXEventIntent::AXEventIntent() = default;
AXEventIntent::AXEventInte... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event_intent.cc | C++ | unknown | 1,657 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_ACCESSIBILITY_AX_EVENT_INTENT_H_
#define UI_ACCESSIBILITY_AX_EVENT_INTENT_H_
#include <string>
#include "ui/accessibility/ax_base_export.h"
#include "ui/accessibil... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_event_intent.h | C++ | unknown | 2,595 |
// 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_ACCESSIBILITY_AX_EXPORT_H_
#define UI_ACCESSIBILITY_AX_EXPORT_H_
// Defines AX_EXPORT so that functionality implemented by the
// ui/accessibility module can be exp... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_export.h | C | unknown | 811 |
// 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 <memory>
#include <numeric>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtes... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_generated_tree_unittest.cc | C++ | unknown | 21,353 |
// 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/accessibility/ax_hypertext.h"
namespace ui {
AXHypertext::AXHypertext() = default;
AXHypertext::~AXHypertext() = default;
AXHypertext::AXHypertext(const AXHypert... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_hypertext.cc | C++ | unknown | 436 |
// 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_ACCESSIBILITY_AX_HYPERTEXT_H_
#define UI_ACCESSIBILITY_AX_HYPERTEXT_H_
#include <map>
#include <ostream>
#include <string>
#include <vector>
#include "ui/accessibi... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_hypertext.h | C++ | unknown | 1,866 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_language_detection.h"
#include <algorithm>
#include <functional>
#include <memory>
#include "base/command_line.h"
#include "base/i18n/unicodestr... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_language_detection.cc | C++ | unknown | 19,169 |
// 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_ACCESSIBILITY_AX_LANGUAGE_DETECTION_H_
#define UI_ACCESSIBILITY_AX_LANGUAGE_DETECTION_H_
#include <memory>
#include <string>
#include <unordered_map>
#include <unor... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_language_detection.h | C++ | unknown | 13,003 |
// 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/accessibility/ax_language_detection.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/command_line.h"
#include "base/test/metrics/hist... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_language_detection_unittest.cc | C++ | unknown | 55,177 |
// 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/accessibility/ax_mode.h"
#include <vector>
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
namespace ui {
std::ostream& operator<<... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_mode.cc | C++ | unknown | 2,595 |
// 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_ACCESSIBILITY_AX_MODE_H_
#define UI_ACCESSIBILITY_AX_MODE_H_
#include <stdint.h>
#include <ostream>
#include <string>
#include "ui/accessibility/ax_base_export.h"... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_mode.h | C++ | unknown | 8,007 |
// 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_ACCESSIBILITY_AX_MODE_OBSERVER_H_
#define UI_ACCESSIBILITY_AX_MODE_OBSERVER_H_
#include "ui/accessibility/ax_export.h"
#include "ui/accessibility/ax_mode.h"
namesp... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_mode_observer.h | C++ | unknown | 574 |
// 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/accessibility/ax_node.h"
#include <algorithm>
#include "base/no_destructor.h"
#include "base/numerics/safe_conversions.h"
#include "base/strings/string_util.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node.cc | C++ | unknown | 82,168 |
// 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_ACCESSIBILITY_AX_NODE_H_
#define UI_ACCESSIBILITY_AX_NODE_H_
#include <stdint.h>
#include <iterator>
#include <memory>
#include <ostream>
#include <string>
#includ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node.h | C++ | unknown | 40,155 |
// 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/accessibility/ax_node_data.h"
#include <stddef.h>
#include <set>
#include <type_traits>
#include <utility>
#include "base/containers/cxx20_erase.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_data.cc | C++ | unknown | 78,184 |
// 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_ACCESSIBILITY_AX_NODE_DATA_H_
#define UI_ACCESSIBILITY_AX_NODE_DATA_H_
#include <stdint.h>
#include <map>
#include <memory>
#include <string>
#include <utility>
#i... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_data.h | C++ | unknown | 17,044 |
// 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/accessibility/ax_node_data.h"
#include <set>
#include <string>
#include <unordered_set>
#include <utility>
#include "base/containers/contains.h"
#include "base/t... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_data_unittest.cc | C++ | unknown | 19,407 |
// 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_ACCESSIBILITY_AX_NODE_ID_FORWARD_H_
#define UI_ACCESSIBILITY_AX_NODE_ID_FORWARD_H_
#include <stdint.h>
namespace ui {
// Defines the type used for AXNode IDs.
usi... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_id_forward.h | C++ | unknown | 558 |
// 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/accessibility/ax_node_position.h"
#include "build/build_config.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/buildflags.h"
namespace ui {
//... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_position.cc | C++ | unknown | 4,940 |
// 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_ACCESSIBILITY_AX_NODE_POSITION_H_
#define UI_ACCESSIBILITY_AX_NODE_POSITION_H_
#include "ui/accessibility/ax_enums.mojom-forward.h"
#include "ui/accessibility/ax_ex... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_position.h | C++ | unknown | 1,464 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/at_exit.h"
#include "base/i18n/icu_util.h"
#include "base/memory/raw_ptr.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_position_fuzzer.cc | C++ | unknown | 17,494 |
// 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 "base/strings/stringprintf.h"
#include "base/timer/lap_timer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_position_perftest.cc | C++ | unknown | 6,435 |
// 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 <stdint.h>
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_position_unittest.cc | C++ | unknown | 767,290 |
// 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/accessibility/ax_node.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#include "testing/gmock/include/gmock/gmock-matchers.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_node_unittest.cc | C++ | unknown | 39,008 |
// 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_ACCESSIBILITY_AX_OFFSCREEN_RESULT_H_
#define UI_ACCESSIBILITY_AX_OFFSCREEN_RESULT_H_
namespace ui {
// The onscreen state of result bounds or points. Any object is... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_offscreen_result.h | C++ | unknown | 881 |
// 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/accessibility/ax_param_traits.h"
namespace IPC {
void ParamTraits<ui::AXTreeID>::Write(base::Pickle* m, const param_type& p) {
WriteParam(m, p.ToString());
}
... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_param_traits.cc | C++ | unknown | 1,423 |
// 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_ACCESSIBILITY_AX_PARAM_TRAITS_H_
#define UI_ACCESSIBILITY_AX_PARAM_TRAITS_H_
#include "ui/accessibility/ax_param_traits_macros.h"
namespace IPC {
template <>
stru... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_param_traits.h | C++ | unknown | 707 |
// 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_ACCESSIBILITY_AX_PARAM_TRAITS_MACROS_H_
#define UI_ACCESSIBILITY_AX_PARAM_TRAITS_MACROS_H_
#include "build/build_config.h"
#include "ipc/ipc_message_macros.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_param_traits_macros.h | C | unknown | 4,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/accessibility/ax_position.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_node_position.h"
#include "ui/accessibility/ax_range.h"
namespac... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_position.cc | C++ | unknown | 437 |
// 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_ACCESSIBILITY_AX_POSITION_H_
#define UI_ACCESSIBILITY_AX_POSITION_H_
#include <math.h>
#include <stdint.h>
#include <functional>
#include <memory>
#include <ostrea... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_position.h | C++ | unknown | 254,245 |
// 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_ACCESSIBILITY_AX_RANGE_H_
#define UI_ACCESSIBILITY_AX_RANGE_H_
#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_range.h | C++ | unknown | 20,074 |
// 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/accessibility/ax_range.h"
#include <memory>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "testing/gmock/include/gmock/gmock.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_range_unittest.cc | C++ | unknown | 74,377 |
// 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/accessibility/ax_relative_bounds.h"
#include "base/memory/values_equivalent.h"
#include "base/strings/string_number_conversions.h"
#include "ui/accessibility/ax_e... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_relative_bounds.cc | C++ | unknown | 2,092 |
// 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_ACCESSIBILITY_AX_RELATIVE_BOUNDS_H_
#define UI_ACCESSIBILITY_AX_RELATIVE_BOUNDS_H_
#include <stdint.h>
#include <iosfwd>
#include <memory>
#include "ui/accessibil... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_relative_bounds.h | C++ | unknown | 2,434 |
// 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/accessibility/ax_role_properties.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/accessibility/ax_enums.mojom.h"
namespace... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_role_properties.cc | C++ | unknown | 34,866 |
// 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_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
#define UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
#include "ui/accessibility/ax_base_export.h"
#include "ui/accessibility/ax_enums.... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_role_properties.h | C++ | unknown | 12,714 |
// 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 <unordered_set>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enum_util.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/a... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_role_properties_unittest.cc | C++ | unknown | 4,533 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_selection.h"
#include "ui/accessibility/ax_node_position.h"
namespace ui {
namespace {
// Helper for GetUnignoredSelecti... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_selection.cc | C++ | unknown | 5,001 |
// 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_ACCESSIBILITY_AX_SELECTION_H_
#define UI_ACCESSIBILITY_AX_SELECTION_H_
// #include "ui/accessibility/ax_enums.mojom-forward.h"
#include "ui/accessibility/ax_export.... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_selection.h | C++ | unknown | 1,419 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_selection.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/single_ax_tree_manager.h"
// Helper... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_selection_unittest.cc | C++ | unknown | 7,496 |
// 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/accessibility/ax_serializable_tree.h"
#include <stdint.h>
#include "base/memory/raw_ptr.h"
#include "ui/accessibility/ax_node.h"
namespace ui {
// This class i... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_serializable_tree.cc | C++ | unknown | 2,397 |
// 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_ACCESSIBILITY_AX_SERIALIZABLE_TREE_H_
#define UI_ACCESSIBILITY_AX_SERIALIZABLE_TREE_H_
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_sour... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_serializable_tree.h | C++ | unknown | 803 |
// 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 <tuple>
#include "build/build_config.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_tree.h"
// The purpose of this script is to fuzz code tha... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_table_fuzzer.cc | C++ | unknown | 6,895 |
// 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/accessibility/ax_table_info.h"
#include "base/observer_list.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_table_info.cc | C++ | unknown | 22,709 |
// 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_ACCESSIBILITY_AX_TABLE_INFO_H_
#define UI_ACCESSIBILITY_AX_TABLE_INFO_H_
#include <map>
#include <set>
#include <vector>
#include "base/memory/raw_ptr.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_table_info.h | C++ | unknown | 3,973 |
// 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/accessibility/ax_table_info.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enums.mojom.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_table_info_unittest.cc | C++ | unknown | 49,866 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_text_attributes.h"
namespace ui {
AXTextAttributes::AXTextAttributes() = default;
AXTextAttributes::~AXTextAttributes() = default;
AXTextAttri... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_text_attributes.cc | C++ | unknown | 3,215 |
// 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_ACCESSIBILITY_AX_TEXT_ATTRIBUTES_H_
#define UI_ACCESSIBILITY_AX_TEXT_ATTRIBUTES_H_
#include <string>
#include <vector>
#include "ui/accessibility/ax_base_export.h"... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_text_attributes.h | C++ | unknown | 2,016 |
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_text_utils.h"
#include <algorithm>
#include "base/check_op.h"
#include "base/i18n/break_iterator.h"
#include "base/notreached.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_text_utils.cc | C++ | unknown | 8,941 |
// 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_ACCESSIBILITY_AX_TEXT_UTILS_H_
#define UI_ACCESSIBILITY_AX_TEXT_UTILS_H_
#include <stddef.h>
#include <string>
#include <vector>
#include "ui/accessibility/ax_enu... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_text_utils.h | C++ | unknown | 2,212 |
// 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/accessibility/ax_text_utils.h"
#include <stddef.h>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "testing/gmock/include/gmock/gmoc... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_text_utils_unittest.cc | C++ | unknown | 13,403 |
// 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/accessibility/ax_tree.h"
#include <stddef.h>
#include <numeric>
#include <utility>
#include "base/auto_reset.h"
#include "base/check_op.h"
#include "base/comman... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree.cc | C++ | unknown | 129,990 |
// 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_ACCESSIBILITY_AX_TREE_H_
#define UI_ACCESSIBILITY_AX_TREE_H_
#include <stdint.h>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <unorde... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree.h | C++ | unknown | 23,432 |
// 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/accessibility/ax_tree_combiner.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/gfx/geometry/rect_f.h"
namespac... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_combiner.cc | C++ | unknown | 5,338 |
// 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_ACCESSIBILITY_AX_TREE_COMBINER_H_
#define UI_ACCESSIBILITY_AX_TREE_COMBINER_H_
#include <vector>
#include "ui/accessibility/ax_action_handler_registry.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_combiner.h | C++ | unknown | 1,588 |
// 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/accessibility/ax_tree_combiner.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enums.mojom.h"
namespace ui {
TEST(CombineAXTrees... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_combiner_unittest.cc | C++ | unknown | 8,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.
#include "ui/accessibility/ax_tree_data.h"
#include <set>
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_data.cc | C++ | unknown | 3,704 |
// 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_ACCESSIBILITY_AX_TREE_DATA_H_
#define UI_ACCESSIBILITY_AX_TREE_DATA_H_
#include <stdint.h>
#include <map>
#include <string>
#include <vector>
#include "base/strin... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_data.h | C++ | unknown | 3,218 |
// 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/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_observer.h"
class EmptyAXTreeObserver : public ui::AXTreeObserver {
public:
EmptyAXTreeObserver() {... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_fuzzer.cc | C++ | unknown | 1,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.
#include "ui/accessibility/ax_tree_fuzzer_util.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_node_data.h"... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_fuzzer_util.cc | C++ | unknown | 12,625 |
// 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_ACCESSIBILITY_AX_TREE_FUZZER_UTIL_H_
#define UI_ACCESSIBILITY_AX_TREE_FUZZER_UTIL_H_
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_data.h"... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_fuzzer_util.h | C++ | unknown | 3,493 |
// 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/accessibility/ax_tree_id.h"
#include <algorithm>
#include <iostream>
#include "base/check.h"
#include "base/json/values_util.h"
#include "base/notreached.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_id.cc | C++ | unknown | 2,924 |
// 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_ACCESSIBILITY_AX_TREE_ID_H_
#define UI_ACCESSIBILITY_AX_TREE_ID_H_
#include <string>
#include "base/unguessable_token.h"
#include "third_party/abseil-cpp/absl/type... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_id.h | C++ | unknown | 2,643 |
// 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/accessibility/ax_tree_id.h"
#include "base/unguessable_token.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
TEST(AXTreeIDTest, ToStringFromStr... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_id_unittest.cc | C++ | unknown | 703 |
// 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/accessibility/ax_tree_manager.h"
#include "base/lazy_instance.h"
#include "base/no_destructor.h"
#include "ui/accessibility/ax_common.h"
#include "ui/accessibilit... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager.cc | C++ | unknown | 13,773 |