Bug 1246487 - Remove TouchCaret/SelectionCarets from comments in ActionBarHandler.js. r=capella

MozReview-Commit-ID: F6RfZ6pHoMc
This commit is contained in:
Ting-Yu Lin 2016-02-15 16:27:22 +08:00
parent 6f74166ffe
commit 51d1eecada

View File

@ -11,7 +11,7 @@ const PHONE_REGEX = /^\+?[0-9\s,-.\(\)*#pw]{1,30}$/; // Are we a phone #?
/**
* ActionBarHandler Object and methods. Interface between Gecko Text Selection code
* (TouchCaret, SelectionCarets, etc) and the Mobile ActionBar UI.
* (AccessibleCaret, etc) and the Mobile ActionBar UI.
*/
var ActionBarHandler = {
// Error codes returned from _init().
@ -120,7 +120,7 @@ var ActionBarHandler = {
},
/**
* Called when Gecko TouchCaret or SelectionCarets become visible.
* Called when Gecko AccessibleCaret becomes visible.
*/
_init: function() {
let [element, win] = this._getSelectionTargets();
@ -165,7 +165,7 @@ var ActionBarHandler = {
},
/**
* Called when Gecko TouchCaret or SelectionCarets become hidden,
* Called when Gecko AccessibleCaret becomes hidden,
* ActionBar is closed by user "close" request, or as a result of object
* methods such as SELECT_ALL, PASTE, etc.
*/
@ -186,7 +186,7 @@ var ActionBarHandler = {
this._selectionID = null;
// Clear selection required if triggered by self, or TextSelection icon
// actions. If called by Gecko TouchCaret/SelectionCarets state change,
// actions. If called by Gecko CaretStateChangedEvent,
// visibility state is already correct.
if (clearSelection) {
this._clearSelection();