Index: Source/core/rendering/compositing/CompositedSelectionBound.h |
diff --git a/Source/platform/fonts/FontPlatformFeatures.h b/Source/core/rendering/compositing/CompositedSelectionBound.h |
similarity index 81% |
copy from Source/platform/fonts/FontPlatformFeatures.h |
copy to Source/core/rendering/compositing/CompositedSelectionBound.h |
index da59bc740fe7abeef9c2eab257b6ca30632226be..737cdd037c56cc8faa730d7794b97329cf78dc3a 100644 |
--- a/Source/platform/fonts/FontPlatformFeatures.h |
+++ b/Source/core/rendering/compositing/CompositedSelectionBound.h |
@@ -28,22 +28,26 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef FontPlatformFeatures_h |
-#define FontPlatformFeatures_h |
+#ifndef CompositedSelectionBound_h |
+#define CompositedSelectionBound_h |
-#include "platform/PlatformExport.h" |
+#include "platform/geometry/IntRect.h" |
+#include "platform/text/TextDirection.h" |
namespace WebCore { |
-class FontPlatformFeatures { |
-public: |
- static bool canReturnFallbackFontsForComplexText(); |
- static bool canExpandAroundIdeographsInComplexText(); |
+struct CompositedSelectionBound { |
+ CompositedSelectionBound() |
+ : layerId(0) |
+ , textDirection(LTR) |
+ { |
+ } |
-private: |
- FontPlatformFeatures(); |
+ int layerId; |
+ IntRect layerRect; |
+ TextDirection textDirection; |
}; |
-} |
+} // namespace blink |
#endif |