Bug 1141931 part 5 - Eliminate unnecessary includes in header files of ruby frames. r=dholbert

This commit is contained in:
Xidorn Quan 2015-04-08 08:40:31 +12:00
parent 16becd9eac
commit 2b7f849872
6 changed files with 9 additions and 8 deletions

View File

@ -5,6 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "RubyUtils.h"
#include "nsRubyBaseContainerFrame.h"
using namespace mozilla;

View File

@ -8,9 +8,10 @@
#define mozilla_RubyUtils_h_
#include "nsGkAtoms.h"
#include "nsRubyBaseContainerFrame.h"
#include "nsRubyTextContainerFrame.h"
class nsRubyBaseContainerFrame;
namespace mozilla {
/**

View File

@ -25,6 +25,7 @@
#include "nsStyleStructInlines.h"
#include "nsBidiPresUtils.h"
#include "nsRubyFrame.h"
#include "nsRubyTextFrame.h"
#include "RubyUtils.h"
#include <algorithm>

View File

@ -7,7 +7,9 @@
/* rendering object for CSS "display: ruby-base-container" */
#include "nsRubyBaseContainerFrame.h"
#include "nsRubyTextContainerFrame.h"
#include "nsRubyBaseFrame.h"
#include "nsRubyTextFrame.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/Maybe.h"
#include "mozilla/WritingModes.h"

View File

@ -10,9 +10,6 @@
#define nsRubyBaseContainerFrame_h___
#include "nsContainerFrame.h"
#include "nsRubyTextContainerFrame.h"
#include "nsRubyBaseFrame.h"
#include "nsRubyTextFrame.h"
#define RTC_ARRAY_SIZE 1
@ -27,6 +24,8 @@ namespace mozilla {
struct RubyColumn;
}
class nsRubyTextContainerFrame;
class nsRubyBaseContainerFrame final : public nsContainerFrame
{
public:

View File

@ -10,9 +10,6 @@
#define nsRubyTextContainerFrame_h___
#include "nsBlockFrame.h"
#include "nsRubyBaseFrame.h"
#include "nsRubyTextFrame.h"
#include "nsLineLayout.h"
typedef nsContainerFrame nsRubyTextContainerFrameSuper;