Skip to content

Commit

Permalink
Trivial: Update doc references to ax_enums.idl to reflect move to .mo…
Browse files Browse the repository at this point in the history
…jom.

The ax_enums file has moved from .idl to .mojom.
This change fixes all current outdates references to old .idl filename.

R=aboxhall,dmazzoni,dtseng

Change-Id: I31069ebfec2a37432a9c868c5758734b8b32d1c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855062
Reviewed-by: David Tseng <[email protected]>
Commit-Queue: Chris Hall <[email protected]>
Cr-Commit-Position: refs/heads/master@{#705468}
  • Loading branch information
Chris Hall authored and Commit Bot committed Oct 14, 2019
1 parent 495a29f commit dd6f87c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ cvox.KbExplorer.onBrailleKeyEvent = function(evt) {

/**
* Handles accessibility gestures from the touch screen.
* @param {string} gesture The gesture to handle, based on the ax::mojom::Gesture enum
* defined in ui/accessibility/ax_enums.idl
* @param {string} gesture The gesture to handle, based on the
* ax::mojom::Gesture enum defined in ui/accessibility/ax_enums.mojom
*/
cvox.KbExplorer.onAccessibilityGesture = function(gesture) {
cvox.KbExplorer.maybeClose_();
Expand Down
4 changes: 2 additions & 2 deletions docs/accessibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ gives extension JavaScript access to the accessibility tree, events, and
actions. This API is implemented in C++ by [AutomationInternalCustomBindings],
which is renderer-side code, and in JavaScript by the [automation API]. The API
is defined by [automation.idl], which must be kept synchronized with
[ax_enums.idl].
[ax_enums.mojom].

[AccessibilityHostMsg_EventParams]: https://cs.chromium.org/chromium/src/content/common/accessibility_messages.h?sq=package:chromium&l=75
[AutomationInternalCustomBindings]: https://cs.chromium.org/chromium/src/extensions/renderer/api/automation/automation_internal_custom_bindings.h
Expand All @@ -530,6 +530,6 @@ is defined by [automation.idl], which must be kept synchronized with
[WebAXObject]: https://cs.chromium.org/chromium/src/third_party/blink/public/web/web_ax_object.h
[automation API]: https://cs.chromium.org/chromium/src/chrome/renderer/resources/extensions/automation
[automation.idl]: https://cs.chromium.org/chromium/src/extensions/common/api/automation.idl
[ax_enums.idl]: https://cs.chromium.org/chromium/src/ui/accessibility/ax_enums.idl
[ax_enums.mojom]: https://cs.chromium.org/chromium/src/ui/accessibility/ax_enums.mojom
[chrome.automation API]: https://developer.chrome.com/extensions/automation
[webui-js]: https://cs.chromium.org/chromium/src/ui/webui/resources/js/cr/ui/
2 changes: 1 addition & 1 deletion extensions/common/api/automation.idl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// used to programmatically interact with a page by examining names, roles, and
// states, listening for events, and performing actions on nodes.
[nocompile] namespace automation {
// Keep the following enums in sync with 'ui/accessibility/ax_enums.idl'.
// Keep the following enums in sync with 'ui/accessibility/ax_enums.mojom'.
// They are kept here purely for extension docs generation.

// Possible events fired on an $(ref:automation.AutomationNode).
Expand Down
2 changes: 1 addition & 1 deletion ui/accessibility/ax_action_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct AX_EXPORT AXActionData {
// This is a simple serializable struct. All member variables should be
// public and copyable.

// See the ax::mojom::Action enums in ax_enums.idl for explanations of which
// See the ax::mojom::Action enums in ax_enums.mojom for explanations of which
// parameters apply.

// The action to take.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Background.ISSUE_URL = 'https://code.google.com/p/chromium/issues/entry?' +
'description=';

/**
* Map from gesture names (AXGesture defined in ui/accessibility/ax_enums.idl)
* Map from gesture names (AXGesture defined in ui/accessibility/ax_enums.mojom)
* to commands when in Classic mode.
* @type {Object<string, string>}
* @const
Expand All @@ -183,7 +183,7 @@ Background.GESTURE_CLASSIC_COMMAND_MAP = {
};

/**
* Map from gesture names (AXGesture defined in ui/accessibility/ax_enums.idl)
* Map from gesture names (AXGesture defined in ui/accessibility/ax_enums.mojom)
* to commands when in Classic mode.
* @type {Object<string, string>}
* @const
Expand Down Expand Up @@ -1143,7 +1143,7 @@ Background.prototype = {
/**
* Handles accessibility gestures from the touch screen.
* @param {string} gesture The gesture to handle, based on the AXGesture enum
* defined in ui/accessibility/ax_enums.idl
* defined in ui/accessibility/ax_enums.mojom
* @private
*/
onAccessibilityGesture_: function(gesture) {
Expand All @@ -1164,7 +1164,7 @@ Background.prototype = {
* Handles accessibility gestures from the touch screen when in CLASSIC
* mode, by forwarding a command to the content script.
* @param {string} gesture The gesture to handle, based on the AXGesture enum
* defined in ui/accessibility/ax_enums.idl
* defined in ui/accessibility/ax_enums.mojom
* @return {boolean} True if this gesture was handled.
* @private
*/
Expand Down

0 comments on commit dd6f87c

Please sign in to comment.