forked from mirrors/gecko-dev
Bug 1590376 part 2 - Remove (XUL) nsResizerFrame since it serves no purpose anymore. r=emilio
Depends on D105926 Differential Revision: https://phabricator.services.mozilla.com/D105927
This commit is contained in:
parent
17801441dd
commit
0715c66e3b
4 changed files with 0 additions and 79 deletions
|
|
@ -78,7 +78,6 @@ FRAME_CLASSES = [
|
|||
Frame("nsPopupSetFrame", "PopupSet", NOT_LEAF),
|
||||
Frame("nsProgressFrame", "Progress", LEAF),
|
||||
Frame("nsRangeFrame", "Range", LEAF),
|
||||
Frame("nsResizerFrame", "Box", NOT_LEAF),
|
||||
Frame("nsRootBoxFrame", "XULRoot", NOT_LEAF),
|
||||
Frame("nsRubyBaseContainerFrame", "RubyBaseContainer", NOT_LEAF),
|
||||
Frame("nsRubyBaseFrame", "RubyBase", NOT_LEAF),
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ UNIFIED_SOURCES += [
|
|||
"nsMenuPopupFrame.cpp",
|
||||
"nsPopupSetFrame.cpp",
|
||||
"nsRepeatService.cpp",
|
||||
"nsResizerFrame.cpp",
|
||||
"nsRootBoxFrame.cpp",
|
||||
"nsScrollbarButtonFrame.cpp",
|
||||
"nsScrollbarFrame.cpp",
|
||||
|
|
@ -52,7 +51,6 @@ UNIFIED_SOURCES += [
|
|||
]
|
||||
|
||||
DIRS += ["tree"]
|
||||
|
||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
CFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
|
|
|
|||
|
|
@ -1,50 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* 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/. */
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsResizerFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsNameSpaceManager.h"
|
||||
|
||||
#include "nsPresContext.h"
|
||||
#include "nsFrameManager.h"
|
||||
#include "nsDocShell.h"
|
||||
#include "nsIDocShellTreeOwner.h"
|
||||
#include "nsIBaseWindow.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "mozilla/MouseEvents.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsMenuPopupFrame.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsIScreenManager.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/MouseEventBinding.h"
|
||||
#include "nsError.h"
|
||||
#include "nsICSSDeclaration.h"
|
||||
#include "nsStyledElement.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
//
|
||||
// NS_NewResizerFrame
|
||||
//
|
||||
// Creates a new Resizer frame and returns it
|
||||
//
|
||||
nsIFrame* NS_NewResizerFrame(PresShell* aPresShell, ComputedStyle* aStyle) {
|
||||
return new (aPresShell) nsResizerFrame(aStyle, aPresShell->GetPresContext());
|
||||
}
|
||||
|
||||
NS_IMPL_FRAMEARENA_HELPERS(nsResizerFrame)
|
||||
|
||||
nsResizerFrame::nsResizerFrame(ComputedStyle* aStyle,
|
||||
nsPresContext* aPresContext)
|
||||
: nsTitleBarFrame(aStyle, aPresContext, kClassID) {}
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* 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/. */
|
||||
#ifndef nsResizerFrame_h___
|
||||
#define nsResizerFrame_h___
|
||||
|
||||
#include "nsTitleBarFrame.h"
|
||||
|
||||
namespace mozilla {
|
||||
class PresShell;
|
||||
} // namespace mozilla
|
||||
|
||||
class nsResizerFrame final : public nsTitleBarFrame {
|
||||
public:
|
||||
NS_DECL_FRAMEARENA_HELPERS(nsResizerFrame)
|
||||
|
||||
friend nsIFrame* NS_NewResizerFrame(mozilla::PresShell* aPresShell,
|
||||
ComputedStyle* aStyle);
|
||||
|
||||
nsResizerFrame(ComputedStyle* aStyle, nsPresContext* aPresContext);
|
||||
|
||||
}; // class nsResizerFrame
|
||||
|
||||
#endif /* nsResizerFrame_h___ */
|
||||
Loading…
Reference in a new issue