1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/nsGridContainerFrame.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim: set ts=2 et sw=2 tw=80: */ 1.6 + 1.7 +/* This Source Code is subject to the terms of the Mozilla Public License 1.8 + * version 2.0 (the "License"). You can obtain a copy of the License at 1.9 + * http://mozilla.org/MPL/2.0/. */ 1.10 + 1.11 +/* rendering object for CSS "display: grid" */ 1.12 + 1.13 +#ifndef nsGridContainerFrame_h___ 1.14 +#define nsGridContainerFrame_h___ 1.15 + 1.16 +#include "nsContainerFrame.h" 1.17 + 1.18 +nsIFrame* NS_NewGridContainerFrame(nsIPresShell* aPresShell, 1.19 + nsStyleContext* aContext); 1.20 + 1.21 +typedef nsContainerFrame nsGridContainerFrameSuper; 1.22 + 1.23 +class nsGridContainerFrame : public nsGridContainerFrameSuper { 1.24 + 1.25 + NS_DECL_FRAMEARENA_HELPERS 1.26 + NS_DECL_QUERYFRAME_TARGET(nsGridContainerFrame) 1.27 + NS_DECL_QUERYFRAME 1.28 + 1.29 + // Factory method: 1.30 + friend nsIFrame* NS_NewGridContainerFrame(nsIPresShell* aPresShell, 1.31 + nsStyleContext* aContext); 1.32 + 1.33 +public: 1.34 + // nsIFrame overrides 1.35 + virtual nsIAtom* GetType() const MOZ_OVERRIDE; 1.36 +#ifdef DEBUG_FRAME_DUMP 1.37 + virtual nsresult GetFrameName(nsAString& aResult) const MOZ_OVERRIDE; 1.38 +#endif 1.39 + 1.40 +protected: 1.41 + // Protected constructor & destructor 1.42 + nsGridContainerFrame(nsStyleContext* aContext) : nsGridContainerFrameSuper(aContext) {} 1.43 + virtual ~nsGridContainerFrame(); 1.44 +}; 1.45 + 1.46 +#endif /* nsGridContainerFrame_h___ */