Index: Source/core/inspector/InspectorDOMAgent.h |
diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h |
index 6cba33dc2fafea27b5f01dde7183226ce19de528..dc900b6b4f39ac4e56a2389effc3ad8bd0e9621e 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.h |
+++ b/Source/core/inspector/InspectorDOMAgent.h |
@@ -44,6 +44,7 @@ |
#include "wtf/RefPtr.h" |
#include "wtf/Vector.h" |
#include "wtf/text/AtomicString.h" |
+#include "wtf/text/StringBuilder.h" |
namespace WebCore { |
@@ -63,6 +64,7 @@ class Node; |
class PlatformGestureEvent; |
class PlatformTouchEvent; |
class RevalidateStyleAttributeTask; |
+class RenderText; |
class ShadowRoot; |
struct HighlightConfig; |
@@ -141,6 +143,7 @@ public: |
virtual void highlightQuad(ErrorString*, const RefPtr<JSONArray>& quad, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor); |
virtual void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlightConfig, const int* nodeId, const String* objectId); |
virtual void highlightFrame(ErrorString*, const String& frameId, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor); |
+ virtual void getPlatformFontsForNode(WebCore::ErrorString*, int, WTF::RefPtr<WebCore::TypeBuilder::Array<WebCore::TypeBuilder::DOM::TextNodePlatformFonts> >&); |
virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* anchorNodeId, int* newNodeId); |
virtual void undo(ErrorString*); |
@@ -235,6 +238,9 @@ private: |
Node* nodeForPath(const String& path); |
+ String familyNameFromSimpleFontData(const SimpleFontData*); |
+ void platformFontsForRenderer(RenderText*, StringBuilder&, RefPtr<TypeBuilder::Array<String> >&); |
+ |
void discardBackendBindings(); |
void discardFrontendBindings(); |