Bug 745982 - Move border padding to VisualPresenter. r=surkov.

This commit is contained in:
Eitan Isaacson 2012-04-17 09:48:01 -07:00
parent 3d2f6bfe29
commit 60deee8063

View File

@ -23,11 +23,6 @@ var EXPORTED_SYMBOLS = ['VisualPresenter',
function Presenter() {}
Presenter.prototype = {
/**
* The padding in pixels between the object and the highlight border.
*/
BORDER_PADDING: 2,
/**
* Attach function for presenter.
* @param {ChromeWindow} aWindow Chrome window the presenter could use.
@ -96,6 +91,11 @@ function VisualPresenter() {}
VisualPresenter.prototype = new Presenter();
/**
* The padding in pixels between the object and the highlight border.
*/
VisualPresenter.prototype.BORDER_PADDING = 2;
VisualPresenter.prototype.attach = function(aWindow) {
this.chromeWin = aWindow;