author L. David Baron <>
Wed, 20 Apr 2016 21:28:31 -0700
changeset 332086 ec597dfc7111d50c081640c9bfcf1860ea3ad9f0
parent 311560 182171efdc63a30529e7568a2215caa637fb4df0
child 404079 37d1e983c5afaed38439528ef0b13123cfc61558
permissions -rw-r--r--
Bug 1053986 - Rename nsIFrame::GetFlex to GetXULFlex. r=dholbert Written purely with sed, over .h and .cpp files in layout/. MozReview-Commit-ID: DNL01eSXB73

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 */


  Eric D Vaughan
  A frame that can have multiple children. Only one child may be displayed at one time. So the
  can be flipped though like a deck of cards.

#ifndef nsGridRowGroupFrame_h___
#define nsGridRowGroupFrame_h___

#include "mozilla/Attributes.h"
#include "nsBoxFrame.h"

 * A frame representing a grid row (or column) group, which is usually
 * an element that is a child of a grid and contains all the rows (or
 * all the columns).  However, multiple levels of groups are allowed, so
 * the parent or child could instead be another group.
class nsGridRowGroupFrame : public nsBoxFrame

  virtual nsresult GetFrameName(nsAString& aResult) const override
      return MakeFrameName(NS_LITERAL_STRING("nsGridRowGroup"), aResult);

  nsGridRowGroupFrame(nsStyleContext* aContext,
                      nsBoxLayout* aLayoutManager):
    nsBoxFrame(aContext, false, aLayoutManager) {}

  virtual nscoord GetXULFlex() override;

}; // class nsGridRowGroupFrame