зеркало из https://github.com/mozilla/gecko-dev.git
Bug 933638 - move nsTextFrameTextRunCache to nsTextFrame.h r=heycam
This commit is contained in:
Родитель
2745f1605e
Коммит
1ac6600d7a
|
@ -43,7 +43,7 @@
|
|||
#include "txMozillaXSLTProcessor.h"
|
||||
#include "nsTreeSanitizer.h"
|
||||
#include "nsCellMap.h"
|
||||
#include "nsTextFrameTextRunCache.h"
|
||||
#include "nsTextFrame.h"
|
||||
#include "nsCCUncollectableMarker.h"
|
||||
#include "nsTextFragment.h"
|
||||
#include "nsCSSRuleProcessor.h"
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsTextFrameUtils.h"
|
||||
#include "nsTextRunTransformations.h"
|
||||
#include "nsTextFrameTextRunCache.h"
|
||||
#include "nsExpirationTracker.h"
|
||||
#include "nsUnicodeProperties.h"
|
||||
|
||||
|
|
|
@ -31,6 +31,12 @@ typedef nsFrame nsTextFrameBase;
|
|||
class nsDisplayTextGeometry;
|
||||
class nsDisplayText;
|
||||
|
||||
class nsTextFrameTextRunCache {
|
||||
public:
|
||||
static void Init();
|
||||
static void Shutdown();
|
||||
};
|
||||
|
||||
class nsTextFrame : public nsTextFrameBase {
|
||||
public:
|
||||
NS_DECL_QUERYFRAME_TARGET(nsTextFrame)
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* -*- 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 http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef NSTEXTFRAMETEXTRUNCACHE_H_
|
||||
#define NSTEXTFRAMETEXTRUNCACHE_H_
|
||||
|
||||
#include "nscore.h"
|
||||
|
||||
/**
|
||||
* This is implemented by both nsTextFrame.cpp and nsTextFrameThebes.cpp. Which
|
||||
* implementation gets used depends on which file gets built.
|
||||
*/
|
||||
class nsTextFrameTextRunCache {
|
||||
public:
|
||||
static void Init();
|
||||
static void Shutdown();
|
||||
};
|
||||
|
||||
#endif
|
Загрузка…
Ссылка в новой задаче