2001-09-25 22:43:09 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-06-09 18:59:04 +00:00
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
#include "mozilla/dom/BarProps.h"
|
2013-06-01 08:53:00 +00:00
|
|
|
#include "mozilla/dom/BarPropBinding.h"
|
|
|
|
#include "nsContentUtils.h"
|
2002-02-16 01:15:52 +00:00
|
|
|
#include "nsGlobalWindow.h"
|
|
|
|
#include "nsIDocShell.h"
|
|
|
|
#include "nsIScrollable.h"
|
2013-05-31 10:30:00 +00:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
1999-06-09 18:59:04 +00:00
|
|
|
//
|
|
|
|
// Basic (virtual) BarProp class implementation
|
|
|
|
//
|
2013-05-31 10:30:00 +00:00
|
|
|
BarProp::BarProp(nsGlobalWindow *aWindow)
|
2013-06-01 08:53:00 +00:00
|
|
|
: mDOMWindow(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
SetIsDOMBinding();
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
BarProp::~BarProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
nsPIDOMWindow*
|
|
|
|
BarProp::GetParentObject() const
|
|
|
|
{
|
|
|
|
return mDOMWindow;
|
|
|
|
}
|
2000-02-08 13:40:10 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
JSObject*
|
|
|
|
BarProp::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aScope)
|
|
|
|
{
|
|
|
|
return BarPropBinding::Wrap(aCx, aScope, this);
|
|
|
|
}
|
2000-02-08 13:40:10 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(BarProp, mDOMWindow)
|
|
|
|
NS_IMPL_CYCLE_COLLECTING_ADDREF(BarProp)
|
|
|
|
NS_IMPL_CYCLE_COLLECTING_RELEASE(BarProp)
|
|
|
|
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(BarProp)
|
|
|
|
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
|
|
|
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
|
|
|
NS_INTERFACE_MAP_END
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
BarProp::GetVisibleByFlag(uint32_t aChromeFlag, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2011-04-27 20:54:07 +00:00
|
|
|
nsCOMPtr<nsIWebBrowserChrome> browserChrome = GetBrowserChrome();
|
2013-06-01 08:53:00 +00:00
|
|
|
NS_ENSURE_TRUE(browserChrome, false);
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
|
2012-08-22 15:56:38 +00:00
|
|
|
uint32_t chromeFlags;
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
if (NS_FAILED(browserChrome->GetChromeFlags(&chromeFlags))) {
|
|
|
|
aRv.Throw(NS_ERROR_FAILURE);
|
|
|
|
return false;
|
|
|
|
}
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
return (chromeFlags & aChromeFlag);
|
1999-06-10 01:27:47 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
BarProp::SetVisibleByFlag(bool aVisible, uint32_t aChromeFlag,
|
|
|
|
ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2011-04-27 20:54:07 +00:00
|
|
|
nsCOMPtr<nsIWebBrowserChrome> browserChrome = GetBrowserChrome();
|
2013-06-01 08:53:00 +00:00
|
|
|
NS_ENSURE_TRUE_VOID(browserChrome);
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
if (!nsContentUtils::IsCallerChrome()) {
|
|
|
|
return;
|
|
|
|
}
|
2004-03-09 00:45:41 +00:00
|
|
|
|
2012-08-22 15:56:38 +00:00
|
|
|
uint32_t chromeFlags;
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
if (NS_FAILED(browserChrome->GetChromeFlags(&chromeFlags))) {
|
|
|
|
aRv.Throw(NS_ERROR_FAILURE);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2011-04-27 20:54:07 +00:00
|
|
|
if (aVisible)
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
chromeFlags |= aChromeFlag;
|
|
|
|
else
|
|
|
|
chromeFlags &= ~aChromeFlag;
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
if (NS_FAILED(browserChrome->SetChromeFlags(chromeFlags))) {
|
|
|
|
aRv.Throw(NS_ERROR_FAILURE);
|
|
|
|
}
|
1999-06-10 01:27:47 +00:00
|
|
|
}
|
|
|
|
|
2011-04-27 20:54:07 +00:00
|
|
|
already_AddRefed<nsIWebBrowserChrome>
|
2013-05-31 10:30:00 +00:00
|
|
|
BarProp::GetBrowserChrome()
|
2011-04-27 20:54:07 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
if (!mDOMWindow) {
|
2012-07-30 14:20:58 +00:00
|
|
|
return nullptr;
|
2013-06-01 08:53:00 +00:00
|
|
|
}
|
2011-04-27 20:54:07 +00:00
|
|
|
|
2013-04-26 06:51:04 +00:00
|
|
|
return mDOMWindow->GetWebBrowserChrome();
|
2011-04-27 20:54:07 +00:00
|
|
|
}
|
|
|
|
|
1999-06-09 18:59:04 +00:00
|
|
|
//
|
|
|
|
// MenubarProp class implementation
|
|
|
|
//
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
MenubarProp::MenubarProp(nsGlobalWindow *aWindow)
|
|
|
|
: BarProp(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
MenubarProp::~MenubarProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
MenubarProp::GetVisible(ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
return BarProp::GetVisibleByFlag(nsIWebBrowserChrome::CHROME_MENUBAR, aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
MenubarProp::SetVisible(bool aVisible, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
BarProp::SetVisibleByFlag(aVisible, nsIWebBrowserChrome::CHROME_MENUBAR, aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// ToolbarProp class implementation
|
|
|
|
//
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
ToolbarProp::ToolbarProp(nsGlobalWindow *aWindow)
|
|
|
|
: BarProp(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
ToolbarProp::~ToolbarProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
ToolbarProp::GetVisible(ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
return BarProp::GetVisibleByFlag(nsIWebBrowserChrome::CHROME_TOOLBAR, aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
ToolbarProp::SetVisible(bool aVisible, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
BarProp::SetVisibleByFlag(aVisible, nsIWebBrowserChrome::CHROME_TOOLBAR,
|
|
|
|
aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// LocationbarProp class implementation
|
|
|
|
//
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
LocationbarProp::LocationbarProp(nsGlobalWindow *aWindow)
|
|
|
|
: BarProp(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
LocationbarProp::~LocationbarProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
LocationbarProp::GetVisible(ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
return BarProp::GetVisibleByFlag(nsIWebBrowserChrome::CHROME_LOCATIONBAR,
|
|
|
|
aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
LocationbarProp::SetVisible(bool aVisible, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
BarProp::SetVisibleByFlag(aVisible, nsIWebBrowserChrome::CHROME_LOCATIONBAR,
|
|
|
|
aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// PersonalbarProp class implementation
|
|
|
|
//
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
PersonalbarProp::PersonalbarProp(nsGlobalWindow *aWindow)
|
|
|
|
: BarProp(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
PersonalbarProp::~PersonalbarProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
PersonalbarProp::GetVisible(ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
return BarProp::GetVisibleByFlag(nsIWebBrowserChrome::CHROME_PERSONAL_TOOLBAR,
|
|
|
|
aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
PersonalbarProp::SetVisible(bool aVisible, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
BarProp::SetVisibleByFlag(aVisible,
|
|
|
|
nsIWebBrowserChrome::CHROME_PERSONAL_TOOLBAR,
|
|
|
|
aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// StatusbarProp class implementation
|
|
|
|
//
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
StatusbarProp::StatusbarProp(nsGlobalWindow *aWindow)
|
|
|
|
: BarProp(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
StatusbarProp::~StatusbarProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
StatusbarProp::GetVisible(ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
return BarProp::GetVisibleByFlag(nsIWebBrowserChrome::CHROME_STATUSBAR, aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
StatusbarProp::SetVisible(bool aVisible, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-05-31 10:30:00 +00:00
|
|
|
return BarProp::SetVisibleByFlag(aVisible,
|
2013-06-01 08:53:00 +00:00
|
|
|
nsIWebBrowserChrome::CHROME_STATUSBAR, aRv);
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// ScrollbarsProp class implementation
|
|
|
|
//
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
ScrollbarsProp::ScrollbarsProp(nsGlobalWindow *aWindow)
|
|
|
|
: BarProp(aWindow)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
ScrollbarsProp::~ScrollbarsProp()
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
bool
|
|
|
|
ScrollbarsProp::GetVisible(ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
if (!mDOMWindow) {
|
|
|
|
return true;
|
2002-02-16 01:15:52 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
nsCOMPtr<nsIScrollable> scroller =
|
|
|
|
do_QueryInterface(mDOMWindow->GetDocShell());
|
|
|
|
|
|
|
|
if (!scroller) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
int32_t prefValue;
|
|
|
|
scroller->GetDefaultScrollbarPreferences(
|
|
|
|
nsIScrollable::ScrollOrientation_Y, &prefValue);
|
|
|
|
if (prefValue != nsIScrollable::Scrollbar_Never) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
scroller->GetDefaultScrollbarPreferences(
|
|
|
|
nsIScrollable::ScrollOrientation_X, &prefValue);
|
|
|
|
return prefValue != nsIScrollable::Scrollbar_Never;
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
void
|
|
|
|
ScrollbarsProp::SetVisible(bool aVisible, ErrorResult& aRv)
|
2000-02-08 13:40:10 +00:00
|
|
|
{
|
2013-06-01 08:53:00 +00:00
|
|
|
if (!nsContentUtils::IsCallerChrome()) {
|
|
|
|
return;
|
|
|
|
}
|
2005-12-30 16:57:46 +00:00
|
|
|
|
2002-02-16 01:15:52 +00:00
|
|
|
/* Scrollbars, unlike the other barprops, implement visibility directly
|
|
|
|
rather than handing off to the superclass (and from there to the
|
|
|
|
chrome window) because scrollbar visibility uniquely applies only
|
|
|
|
to the window making the change (arguably. it does now, anyway.)
|
|
|
|
and because embedding apps have no interface for implementing this
|
|
|
|
themselves, and therefore the implementation must be internal. */
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
nsCOMPtr<nsIScrollable> scroller =
|
|
|
|
do_QueryInterface(mDOMWindow->GetDocShell());
|
2004-02-09 22:48:53 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
if (scroller) {
|
|
|
|
int32_t prefValue;
|
2005-03-06 18:43:07 +00:00
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
if (aVisible) {
|
|
|
|
prefValue = nsIScrollable::Scrollbar_Auto;
|
|
|
|
} else {
|
|
|
|
prefValue = nsIScrollable::Scrollbar_Never;
|
2002-02-16 01:15:52 +00:00
|
|
|
}
|
2013-06-01 08:53:00 +00:00
|
|
|
|
|
|
|
scroller->SetDefaultScrollbarPreferences(
|
|
|
|
nsIScrollable::ScrollOrientation_Y, prefValue);
|
|
|
|
scroller->SetDefaultScrollbarPreferences(
|
|
|
|
nsIScrollable::ScrollOrientation_X, prefValue);
|
2002-02-16 01:15:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Notably absent is the part where we notify the chrome window using
|
2011-04-27 20:54:07 +00:00
|
|
|
GetBrowserChrome()->SetChromeFlags(). Given the possibility of multiple
|
2002-02-16 01:15:52 +00:00
|
|
|
DOM windows (multiple top-level windows, even) within a single
|
|
|
|
chrome window, the historical concept of a single "has scrollbars"
|
|
|
|
flag in the chrome is inapplicable, and we can't tell at this level
|
|
|
|
whether we represent the particular DOM window that makes this decision
|
|
|
|
for the chrome.
|
|
|
|
|
|
|
|
So only this object (and its corresponding DOM window) knows whether
|
|
|
|
scrollbars are visible. The corresponding chrome window will need to
|
|
|
|
ask (one of) its DOM window(s) when it needs to know about scrollbar
|
|
|
|
visibility, rather than caching its own copy of that information.
|
|
|
|
*/
|
1999-06-09 18:59:04 +00:00
|
|
|
}
|
2002-02-16 01:15:52 +00:00
|
|
|
|
2013-05-31 10:30:00 +00:00
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|
|
|
|
|