mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 879454 - Minor comment header touchups. r=mbrubeck
This commit is contained in:
parent
23d5976f23
commit
45ef30834d
@ -126,7 +126,7 @@
|
|||||||
* rectBrowserToClient
|
* rectBrowserToClient
|
||||||
* Converts a rect (left, top, right, bottom).
|
* Converts a rect (left, top, right, bottom).
|
||||||
*
|
*
|
||||||
* @param aMessage - message manager message
|
* @param aRect - rect to convert
|
||||||
* @param aIgnoreScroll ignore root frame scroll.
|
* @param aIgnoreScroll ignore root frame scroll.
|
||||||
* @param aIgnoreScale ignore current scale factor.
|
* @param aIgnoreScale ignore current scale factor.
|
||||||
* @return { left:, top:, right:, bottom: }
|
* @return { left:, top:, right:, bottom: }
|
||||||
|
@ -382,13 +382,13 @@ var SelectionHelperUI = {
|
|||||||
* Attempts to select underlying text at a point and begins editing
|
* Attempts to select underlying text at a point and begins editing
|
||||||
* the section.
|
* the section.
|
||||||
*
|
*
|
||||||
* @param aContent - Browser object
|
* @param aMsgTarget - Browser or chrome message target
|
||||||
* @param aX, aY - Browser relative client coordinates.
|
* @param aX, aY - Browser relative client coordinates.
|
||||||
*/
|
*/
|
||||||
openEditSession: function openEditSession(aBrowser, aX, aY) {
|
openEditSession: function openEditSession(aMsgTarget, aX, aY) {
|
||||||
if (!aBrowser || this.isActive)
|
if (!aMsgTarget || this.isActive)
|
||||||
return;
|
return;
|
||||||
this._init(aBrowser);
|
this._init(aMsgTarget);
|
||||||
this._setupDebugOptions();
|
this._setupDebugOptions();
|
||||||
|
|
||||||
// Send this over to SelectionHandler in content, they'll message us
|
// Send this over to SelectionHandler in content, they'll message us
|
||||||
@ -405,13 +405,13 @@ var SelectionHelperUI = {
|
|||||||
*
|
*
|
||||||
* Attaches to existing selection and begins editing.
|
* Attaches to existing selection and begins editing.
|
||||||
*
|
*
|
||||||
* @param aBrowser - Browser object
|
* @param aMsgTarget - Browser or chrome message target
|
||||||
* @param aX, aY - Browser relative client coordinates.
|
* @param aX, aY - Browser relative client coordinates.
|
||||||
*/
|
*/
|
||||||
attachEditSession: function attachEditSession(aBrowser, aX, aY) {
|
attachEditSession: function attachEditSession(aMsgTarget, aX, aY) {
|
||||||
if (!aBrowser || this.isActive)
|
if (!aMsgTarget || this.isActive)
|
||||||
return;
|
return;
|
||||||
this._init(aBrowser);
|
this._init(aMsgTarget);
|
||||||
this._setupDebugOptions();
|
this._setupDebugOptions();
|
||||||
|
|
||||||
// Send this over to SelectionHandler in content, they'll message us
|
// Send this over to SelectionHandler in content, they'll message us
|
||||||
@ -434,13 +434,13 @@ var SelectionHelperUI = {
|
|||||||
* Once the user starts a drag, the caret marker is hidden, and
|
* Once the user starts a drag, the caret marker is hidden, and
|
||||||
* the start and end markers take over.
|
* the start and end markers take over.
|
||||||
*
|
*
|
||||||
* @param aBrowser - Browser object
|
* @param aMsgTarget - Browser or chrome message target
|
||||||
* @param aX, aY - Browser relative client coordinates of the tap
|
* @param aX, aY - Browser relative client coordinates of the tap
|
||||||
* that initiated the session.
|
* that initiated the session.
|
||||||
*/
|
*/
|
||||||
attachToCaret: function attachToCaret(aBrowser, aX, aY) {
|
attachToCaret: function attachToCaret(aMsgTarget, aX, aY) {
|
||||||
if (!this.isActive) {
|
if (!this.isActive) {
|
||||||
this._init(aBrowser);
|
this._init(aMsgTarget);
|
||||||
this._setupDebugOptions();
|
this._setupDebugOptions();
|
||||||
} else {
|
} else {
|
||||||
this._hideMonocles();
|
this._hideMonocles();
|
||||||
|
Loading…
Reference in New Issue
Block a user