mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 745982 - Move border padding to VisualPresenter. r=surkov.
This commit is contained in:
parent
0144f9dc4d
commit
18fdf8f122
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user