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 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_TREE_MANAGER_H_
#define UI_ACCESSIBILITY_AX_TREE_MANAGER_H_
#include "base/scoped_observation.h"
#include "ui/accessibility/ax_event_generator.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager.h | C++ | unknown | 7,804 |
// 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_base.h"
#include <set>
#include <utility>
#include "base/check_op.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager_base.cc | C++ | unknown | 11,117 |
// 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_MANAGER_BASE_H_
#define UI_ACCESSIBILITY_AX_TREE_MANAGER_BASE_H_
#include <memory>
#include <unordered_map>
#include "third_party/abseil-cpp/... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager_base.h | C++ | unknown | 5,150 |
// 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_base.h"
#include <memory>
#include <utility>
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/includ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager_base_unittest.cc | C++ | unknown | 13,302 |
// 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_tree_manager_map.h"
#include "base/containers/contains.h"
namespace ui {
AXTreeManagerMap::AXTreeManagerMap() = default;
AXTreeManagerMap::~AX... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager_map.cc | C++ | unknown | 979 |
// 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_TREE_MANAGER_MAP_H_
#define UI_ACCESSIBILITY_AX_TREE_MANAGER_MAP_H_
#include <unordered_map>
#include "ui/accessibility/ax_tree_id.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager_map.h | C++ | unknown | 1,192 |
// 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 "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_serializable_tree.h"
#include "ui/accessibility/ax_tree_id.h"
... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_manager_unittest.cc | C++ | unknown | 7,000 |
// 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_observer.h"
namespace ui {
AXTreeObserver::AXTreeObserver() = default;
AXTreeObserver::~AXTreeObserver() = default;
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_observer.cc | C++ | unknown | 317 |
// 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_OBSERVER_H_
#define UI_ACCESSIBILITY_AX_TREE_OBSERVER_H_
#include "base/memory/raw_ptr.h"
#include "base/observer_list_types.h"
#include "ui/a... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_observer.h | C++ | unknown | 8,137 |
// 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_serializer.h"
namespace ui {
ClientTreeNode::ClientTreeNode() {
}
ClientTreeNode::~ClientTreeNode() {
}
} // namespace ui
| Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_serializer.cc | C++ | unknown | 306 |
// 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_SERIALIZER_H_
#define UI_ACCESSIBILITY_AX_TREE_SERIALIZER_H_
#include <stddef.h>
#include <stdint.h>
#include <ctime>
#include <map>
#include... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_serializer.h | C++ | unknown | 34,988 |
// 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_serializer.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/strings/string_num... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_serializer_unittest.cc | C++ | unknown | 18,914 |
// 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_SOURCE_H_
#define UI_ACCESSIBILITY_AX_TREE_SOURCE_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/notreached.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_source.h | C++ | unknown | 3,312 |
// 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_TREE_SOURCE_ANNOTATOR_H_
#define UI_ACCESSIBILITY_AX_TREE_SOURCE_ANNOTATOR_H_
#include <string>
#include "ui/accessibility/ax_enums.mojom.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_source_annotator.h | C++ | unknown | 2,826 |
// 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_SOURCE_CHECKER_H_
#define UI_ACCESSIBILITY_AX_TREE_SOURCE_CHECKER_H_
#include <map>
#include "base/memory/raw_ptr.h"
#include "base/strings/s... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_source_checker.h | C++ | unknown | 6,305 |
// 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_tree_source_checker.h"
#include "base/strings/string_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enums.m... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_source_checker_unittest.cc | C++ | unknown | 7,512 |
// 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_TREE_SOURCE_OBSERVER_H_
#define UI_ACCESSIBILITY_AX_TREE_SOURCE_OBSERVER_H_
#include "base/observer_list_types.h"
#include "ui/accessibility/ax_exp... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_source_observer.h | C++ | unknown | 1,141 |
// 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 "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gmock/include/gmock/gmock-ma... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_unittest.cc | C++ | unknown | 203,382 |
// 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_update.h"
#include "ui/accessibility/ax_tree_data.h"
#include "base/strings/string_number_conversions.h"
#include "ui/accessibility/ax_enum_... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_update.cc | C++ | unknown | 2,137 |
// 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_UPDATE_H_
#define UI_ACCESSIBILITY_AX_TREE_UPDATE_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <vector>
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_update.h | C++ | unknown | 3,753 |
// 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_TREE_UPDATE_FORWARD_H_
#define UI_ACCESSIBILITY_AX_TREE_UPDATE_FORWARD_H_
namespace ui {
struct AXTreeUpdate;
} // namespace ui
#endif // UI_A... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_update_forward.h | C++ | unknown | 359 |
// 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_update_util.h"
#include "ui/accessibility/ax_tree_update.h"
namespace ui {
// Two tree updates can be merged into one if the second one
//... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_update_util.cc | C++ | unknown | 1,791 |
// 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_UPDATE_UTIL_H_
#define UI_ACCESSIBILITY_AX_TREE_UPDATE_UTIL_H_
#include <vector>
#include "ui/accessibility/ax_export.h"
#include "ui/accessi... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_update_util.h | C++ | unknown | 1,021 |
// 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_update_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_tree_update.h"
namespace ui {
TEST(AXTreeUpdat... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/ax_tree_update_util_unittest.cc | C++ | unknown | 6,322 |
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
width: 30em;
padding: 0.75em;
border-radius: 6px;
}
* {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
}
label {
display: block;
}
fieldset {
... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/animation/popup.html | HTML | unknown | 1,207 |
// 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.
function animationPolicyChanged() {
if (this.checked) {
const type = this.id;
const setting = this.value;
console.log('set policy '+': '+setting);
chrome.acce... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/animation/popup.js | JavaScript | unknown | 1,443 |
// 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.
/**
* @fileoverview Script that runs on the background page.
*/
importScripts('storage.js');
Storage.initialize();
CONTENT_SCRIPTS = [
'accessibility_utils.js', 'node_uti... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/background.js | JavaScript | unknown | 2,636 |
/* 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. */
.CaretBrowsing_Caret {
position: absolute;
z-index: 2147483647;
min-height: 10px;
background-color: #000;
}
.CaretBrowsing_AnimateCaret {
position: absolute;
z-... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/caretbrowsing.css | CSS | unknown | 658 |
/* 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. */
/**
* @fileoverview Caret browsing content script, runs in each frame.
*
* The behavior is based on Mozilla's spec whenever possible:
* http://www.mozilla.org/access/k... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/caretbrowsing.js | JavaScript | unknown | 34,082 |
// 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.
/** A collection of functions for dealing with DOM nodes. */
class NodeUtil {
/**
* Return whether a node is focusable. This includes nodes whose tabindex
* attribute i... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/node_util.js | JavaScript | unknown | 4,740 |
// 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.
GEN_INCLUDE(['node_util.js']);
GEN_INCLUDE(['../testing/webstore_extension_test_base.js']);
/** Test fixture for node_util.js. */
NodeUtilUnitTest = class extends WebstoreExt... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/node_util_test.js | JavaScript | unknown | 5,917 |
<html>
<head>
<title>Caret Browsing Options</title>
<style>
body {
font-family: Lucida Grande, sans-serif, arial, helvetica;
width: 920px;
margin-left: auto;
margin-right: auto;
}
.banner {
width: 100%;
float: left;
}
.banner_left {
padding: 8px;
f... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/options.html | HTML | unknown | 3,928 |
/* 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. */
Storage.initialize();
function setRadio(name, defaultValue) {
let value = Storage[name];
const controls = document.querySelectorAll(
'input[type="radio"][name="' ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/options.js | JavaScript | unknown | 1,597 |
// 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.
/** A collection of functions for dealing with selections. */
class SelectionUtil {
/**
* Get the rectangle for a cursor position. This is tricky because
* you can't ge... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/selection_util.js | JavaScript | unknown | 5,695 |
// 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.
GEN_INCLUDE(['selection_util.js', 'traverse_util.js']);
GEN_INCLUDE(['../testing/webstore_extension_test_base.js']);
/** Test fixture for selection_util.js. */
SelectionUtilU... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/selection_util_test.js | JavaScript | unknown | 5,653 |
// 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.
/** @enum {string} */
const FlourishType = {
ANIMATE: 'anim',
FLASH: 'flash',
NONE: 'none',
};
/**
* Class to handle interactions with the chrome.storage API and values... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/storage.js | JavaScript | unknown | 4,710 |
// 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.
GEN_INCLUDE(['storage.js']);
GEN_INCLUDE([
'../webstore_extension_test_base.js',
'//chrome/browser/resources/chromeos/accessibility/common/testing/' +
'callbac... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/storage_test.js | JavaScript | unknown | 4,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. */
/**
* @fileoverview Low-level DOM traversal utility functions to find the
* next (or previous) character, word, sentence, line, or paragraph,
* in a completely st... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/caretbrowsing/traverse_util.js | JavaScript | unknown | 31,653 |
// 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.
/**
* @fileoverview Puts text on a braille display.
*
*/
goog.provide('cvox.BrailleDisplayManager');
goog.require('cvox.BrailleCaptionsBackground');
goog.require('cvox.Bra... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/braille_display_manager.js | JavaScript | unknown | 12,571 |
// 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.
/**
* @fileoverview Handles braille input keys when the user is typing or editing
* text in an input field. This class cooperates with the Braille IME
* that is built into ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/braille_input_handler.js | JavaScript | unknown | 22,266 |
// 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.
/**
* @fileoverview Braille command definitions.
* These types are adapted from Chrome's private braille API.
* They can be found in the Chrome source repo at:
* src/chrome... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/braille_key_types.js | JavaScript | unknown | 3,819 |
// 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.
/**
* @fileoverview Holds information about a braille table.
*/
goog.provide('cvox.BrailleTable');
/**
* @typedef {{
* locale:string,
* dots:string,
* id:string,... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/braille_table.js | JavaScript | unknown | 4,072 |
// 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.
/**
* @fileoverview Keeps track of the current braille translators.
*/
goog.provide('cvox.BrailleTranslatorManager');
goog.require('cvox.BrailleTable');
goog.require('cvox.... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/braille_translator_manager.js | JavaScript | unknown | 7,131 |
// 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.
/**
* @fileoverview Translates text to braille, optionally with some parts
* uncontracted.
*/
goog.provide('cvox.ExpandingBrailleTranslator');
goog.require('Spannable');
g... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/expanding_braille_translator.js | JavaScript | unknown | 12,355 |
// 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.
/**
* @fileoverview JavaScript shim for the liblouis Native Client wrapper.
*/
goog.provide('cvox.LibLouis');
/**
* Encapsulates a liblouis Native Client instance in the ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/liblouis.js | JavaScript | unknown | 9,802 |
// 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.
/**
* @fileoverview A simple container object for the brailling of a
* navigation from one object to another.
*
*/
goog.provide('cvox.NavBraille');
goog.require('Spannab... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/nav_braille.js | JavaScript | unknown | 2,920 |
// 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.
/** @fileoverview Logic for panning a braille display within a line of braille
* content that might not fit on a single display.
*/
goog.provide('cvox.PanStrategy');
/**
*... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/pan_strategy.js | JavaScript | unknown | 6,268 |
// 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.
/**
* @fileoverview Objects used in spannables as annotations for ARIA values
* and selections.
*/
goog.provide('cvox.ExtraCellsSpan');
goog.provide('cvox.ValueSelectionSpa... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/braille/spans.js | JavaScript | unknown | 1,760 |
<script src="../../closure/base.js"></script>
<script src="../../deps.js"></script>
<script src="loader.js"></script>
<script src="../../chromeVoxChromeBackgroundScript.js"></script>
| Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/background.html | HTML | unknown | 184 |
// 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.
/**
* @fileoverview Script that runs on the background page.
*/
goog.provide('cvox.ChromeVoxBackground');
goog.require('ChromeVoxState');
goog.require('Msgs');
goog.require... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/background.js | JavaScript | unknown | 16,100 |
// 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.
/** @fileoverview If the braille captions feature is enabled, sends
* braille content to the Panel on Chrome OS, or a content script on
* other platforms.
*/
goog.provide('... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/braille_captions_background.js | JavaScript | unknown | 3,414 |
/* 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. */
/* This file holds CSS that should be shared, in theory, by all user-visible
* chrome:// pages. This contrasts chrome_shared.css, which it is meant to
* replace, but has C... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/chrome_shared2.css | CSS | unknown | 2,273 |
// 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.
/**
* @fileoverview Responsible for loading scripts into the inject context.
*/
goog.provide('cvox.InjectedScriptLoader');
/** @constructor */
cvox.InjectedScriptLoader ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/injected_script_loader.js | JavaScript | unknown | 1,380 |
<!DOCTYPE HTML>
<!--
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.
-->
<html>
<head>
<title class="i18n" msg="kbexplorer_title">ChromeOS Keyboard Explorer</title>
<style type="text/css">
h2 {
font-family:arial;
}
</style>
<script ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/kbexplorer.html | HTML | unknown | 839 |
// 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.
/**
* @fileoverview Script for ChromeOS keyboard explorer.
*
*/
goog.provide('cvox.KbExplorer');
goog.require('cvox.KeyUtil');
/**
* Class to manage the keyboard explor... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/kbexplorer.js | JavaScript | unknown | 1,960 |
// 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.
/**
* @fileoverview Description of this file.
*/
goog.require('cvox.KbExplorer');
document.addEventListener('DOMContentLoaded', function() {
cvox.KbExplorer.init();
}, fa... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/kbexplorer_loader.js | JavaScript | unknown | 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.
/**
* @fileoverview This class provides a stable interface for initializing,
* querying, and modifying a ChromeVox key map.
*
* An instance contains an object-based bi-dir... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/keymaps/key_map.js | JavaScript | unknown | 13,244 |
// 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.
/**
* @fileoverview A class for loading and storing the maps for math atoms from
* JSON files. The class (and entries) can then be used as via the
* background page.
*/
g... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/mathmaps/math_map.js | JavaScript | unknown | 4,725 |
/* 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. */
.hidden {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
body {
font-size: 14px;
font-family: '... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/options.css | CSS | unknown | 1,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.
-->
<html>
<head>
<title class="i18n" msgid="options_page_title">ChromeVox Options</title>
<link rel="stylesheet" type="text/css" href="chrome_shared2.css" />
<link rel="stylesheet... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/options.html | HTML | unknown | 4,633 |
// 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.
/**
* @fileoverview ChromeVox options page.
*
*/
goog.provide('cvox.OptionsPage');
goog.require('Msgs');
goog.require('cvox.BrailleTable');
goog.require('cvox.BrailleTrans... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/options.js | JavaScript | unknown | 19,125 |
// 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.
/**
* @fileoverview Loads the options script.
*
*/
goog.require('cvox.OptionsPage');
| Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/options_loader.js | JavaScript | unknown | 233 |
/* 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.
*/
/* This file defines styles for form controls. The order of rule blocks is
* important as there are some rules with equal specificity that rely on order
* as a tiebreaker... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/options_widgets.css | CSS | unknown | 9,292 |
// 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.
/**
* @fileoverview Common page for reading and writing preferences from
* the background context (background page or options page).
*
*/
goog.provide('cvox.ChromeVoxPrefs... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js | JavaScript | unknown | 7,048 |
// 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.
/**
* @fileoverview Accesses Chrome's tabs extension API and gives
* feedback for events that happen in the "Chrome of Chrome".
*/
goog.provide('cvox.TabsApiHandler');
goo... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/background/tabs_api_handler.js | JavaScript | unknown | 8,100 |
// 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.
/**
* @fileoverview Draws and animates the graphical indicator around the active
* object or text range, and handles animation when the indicator is moving.
*/
goog.pro... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/active_indicator.js | JavaScript | unknown | 34,071 |
// 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.
/**
* @fileoverview Public APIs to enable web applications to communicate
* with ChromeVox.
*/
if (typeof(goog) != 'undefined' && goog.provide) {
goog.provide('cvox.Api')... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/api.js | JavaScript | unknown | 16,995 |
// 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.
/**
* @fileoverview Implentation of ChromeVox's public API.
*
*/
goog.provide('cvox.ApiImplementation');
goog.provide('cvox.ApiImplementation.Math');
goog.require('cvox.Ap... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/api_implementation.js | JavaScript | unknown | 12,830 |
// 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.
/**
* @fileoverview Shared util methods between api.js and api_implementation.js
* for doing common tasks such as passing node references between page script
* and ChromeVox... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/api_util.js | JavaScript | unknown | 2,842 |
// 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.
/**
* @fileoverview A TTS engine that writes to window.console.
*/
goog.provide('cvox.ConsoleTts');
goog.require('cvox.AbstractTts');
goog.require('cvox.TtsInterface');
/*... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/console_tts.js | JavaScript | unknown | 1,868 |
// 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.
/**
* @fileoverview Allows events to be suspended.
*
*/
goog.provide('cvox.ChromeVoxEventSuspender');
/**
* @namespace
*/
cvox.ChromeVoxEventSuspender = function() {};
... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/event_suspender.js | JavaScript | unknown | 1,992 |
// 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.
/**
* @fileoverview Watches for events in the browser such as focus changes.
*
*/
goog.provide('cvox.ChromeVoxEventWatcher');
goog.provide('cvox.ChromeVoxEventWatcherUtil')... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/event_watcher.js | JavaScript | unknown | 51,411 |
// 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.
/**
* @fileoverview Stores the history of a ChromeVox session.
*/
goog.provide('cvox.History');
goog.require('cvox.DomUtil');
goog.require('cvox.NodeBreadcrumb');
/**
* ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/history.js | JavaScript | unknown | 10,583 |
// 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.
/**
* @fileoverview Initializes the injected content script on the document.
*
* NOTE(deboer): This file will automatically initialize ChromeVox. If you can
* control when... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/init_document.js | JavaScript | unknown | 5,279 |
// 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.
/**
* @fileoverview Initializes the injected content script.
*
*/
goog.provide('cvox.InitGlobals');
goog.require('cvox.ApiImplementation');
goog.require('cvox.ChromeVox');... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/init_globals.js | JavaScript | unknown | 1,916 |
// 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.
/**
* @fileoverview Defines the initial speech call.
*/
goog.provide('cvox.InitialSpeech');
goog.require('cvox.AbstractTts');
goog.require('cvox.BrailleOverlayWidget');
goo... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/initial_speech.js | JavaScript | unknown | 3,008 |
// 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.
goog.provide('cvox.ChromeVoxKbHandler');
goog.require('cvox.ChromeVox');
goog.require('cvox.KeyMap');
goog.require('cvox.KeySequence');
goog.require('cvox.KeyUtil');
/**
* @... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/keyboard_handler.js | JavaScript | unknown | 3,876 |
// 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.
/**
* @fileoverview Keeps track of live regions on the page and speaks updates
* when they change.
*
*/
goog.provide('cvox.LiveRegions');
goog.require('cvox.AriaUtil');
g... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/live_regions.js | JavaScript | unknown | 15,276 |
// 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.
/**
* @fileoverview Defines the ChromeVox app.
*/
window.CLOSURE_USE_EXT_MESSAGES = true;
goog.require('Msgs');
goog.require('cvox.ChromeBraille');
goog.require('cvox.Chro... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/loader.js | JavaScript | unknown | 702 |
// 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.
/**
* @fileoverview Bridge to MathJax functions from the ChromeVox content script.
*
*/
if (typeof(goog) != 'undefined' && goog.provide) {
goog.provide('cvox.MathJax');
}... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js | JavaScript | unknown | 5,300 |
// Copyright 2013 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax_external_util.js | JavaScript | unknown | 17,005 |
// 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.
/**
* @fileoverview Navigation history tracks recently visited nodes. The
* state of this class (the node history), is used to ensure the user is
* navigating to and from va... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/navigation_history.js | JavaScript | unknown | 5,380 |
// 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.
/**
* @fileoverview Manages navigation within a page.
* This unifies navigation by the DOM walker and by WebKit selection.
* NOTE: the purpose of this class is only to hold ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/navigation_manager.js | JavaScript | unknown | 36,201 |
// 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.
/**
* @fileoverview The purpose of this class is to delegate to the correct walker
* based on the navigation state that it is in. The navigation state is a
* simplified view... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/navigation_shifter.js | JavaScript | unknown | 7,685 |
// 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.
/**
* @fileoverview A class for speaking navigation information.
*/
goog.provide('cvox.NavigationSpeaker');
goog.require('cvox.NavDescription');
/**
* @constructor
*/
c... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/navigation_speaker.js | JavaScript | unknown | 4,223 |
// 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.
/**
* @fileoverview Responsible for tagging nodes used by ChromeVox.
*/
goog.provide('cvox.NodeBreadcrumb');
goog.require('cvox.ChromeVox');
/**
* Responsible for taggi... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/node_breadcrumb.js | JavaScript | unknown | 4,635 |
// 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.
/**
* @fileoverview Logic to process PDFs
*
* This file runs when ChromeVox is injected into Chrome's component
* extension that implements PDF support. The extension wrap... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/pdf_processor.js | JavaScript | unknown | 7,753 |
// 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.
/**
* @fileoverview Defines the ScriptInstaller functions which install scripts
* into the web page (not a content script)
*
*/
goog.provide('cvox.ScriptInstaller');
/**... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/script_installer.js | JavaScript | unknown | 3,456 |
// 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.
/**
* @fileoverview A global serializer object which returns the current
* ChromeVox system state.
*/
goog.provide('cvox.Serializer');
goog.require('cvox.ChromeVox');
goog... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/serializer.js | JavaScript | unknown | 1,014 |
// 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.
// Load the ShadyDOM polyfill only if needed, on first web component definition.
(function () {
function loadScripts(webcomponentsBundleContent) {
var polyfillScript = do... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/shadydom_loader.js | JavaScript | unknown | 1,464 |
// 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.
/**
* @fileoverview Overlay that shows the current braille display contents,
* both as text and braille, on screen in a document.
*/
goog.provide('cvox.BrailleOverlayWidget... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/braille_overlay_widget.js | JavaScript | unknown | 4,965 |
// 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.
/**
* @fileoverview Widget presenting context menus.
*/
goog.provide('cvox.ContextMenuWidget');
goog.require('cvox.ChromeVox');
goog.require('cvox.OverlayWidget');
goog.req... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/context_menu_widget.js | JavaScript | unknown | 3,061 |
// 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.
/**
* @fileoverview Widget presenting all keyboard commands.
*/
goog.provide('cvox.KeyboardHelpWidget');
goog.require('cvox.ChromeVox');
goog.require('cvox.CommandStore');
... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/keyboard_help_widget.js | JavaScript | unknown | 2,227 |
// 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.
/**
* @fileoverview A search Widget presenting a list of nodes with the ability
* to sync selection when chosen.
*/
goog.provide('cvox.NodeSearchWidget');
goog.require('cv... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/node_search_widget.js | JavaScript | unknown | 1,585 |
// 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.
/**
* @fileoverview A widget hosting an HTML snippet.
*/
goog.provide('cvox.OverlayWidget');
goog.require('cvox.DomUtil');
goog.require('cvox.SearchWidget');
/**
* @para... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/overlay_widget.js | JavaScript | unknown | 2,202 |
// 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.
/**
* @fileoverview JavaScript for poppup up a search widget and performing
* search within a page.
*/
goog.provide('cvox.SearchWidget');
goog.require('cvox.AbstractEarcon... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/search_widget.js | JavaScript | unknown | 15,683 |
// 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.
/**
* @fileoverview A widget hosting an HTML <select> element.
* In most cases, the browser's native key-driven usage model works for user
* interaction and manipulation of ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/select_widget.js | JavaScript | unknown | 2,172 |
// 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.
/**
* @fileoverview Useful abstraction when speaking messages.
*
* Usage:
* $m('role_link')
* .andPause()
* .andMessage('role_forms')
* .speakFlush();
*
*/
goog.prov... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/spoken_messages.js | JavaScript | unknown | 2,248 |
// 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.
/**
* @fileoverview Base class for all ChromeVox widgets.
*
* Widgets are keyboard driven and modal mediums for ChromeVox to expose
* additional features such as lists, int... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/ui/widget.js | JavaScript | unknown | 4,763 |
// 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.
/**
* @fileoverview High level commands that the user can invoke using hotkeys.
*
* Usage:
* If you are here, you probably want to add a new user command. Here are some
* ... | Zhao-PengFei35/chromium_src_4 | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/user_commands.js | JavaScript | unknown | 27,284 |