X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Finspector%2FInspectorCSSAgent.h;h=d213ba327bafdf60a9ef856c04b3ad4c1f7f2982;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=5fcf5cd137d1fc31729dbf5e4034fe690ca253c5;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h b/src/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h index 5fcf5cd..d213ba3 100644 --- a/src/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h +++ b/src/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h @@ -42,7 +42,6 @@ namespace WebCore { -class ChangeRegionOversetTask; struct CSSParserString; class CSSRule; class CSSRuleList; @@ -59,7 +58,6 @@ class NodeList; class PlatformFontUsage; class RenderText; class StyleResolver; -class UpdateRegionLayoutTask; class InspectorCSSAgent FINAL : public InspectorBaseAgent @@ -115,21 +113,12 @@ public: void reset(); void didCommitLoad(Frame*, DocumentLoader*); void mediaQueryResultChanged(); - void didCreateNamedFlow(Document*, NamedFlow*); - void willRemoveNamedFlow(Document*, NamedFlow*); void willMutateRules(); void didMutateRules(CSSStyleSheet*); void willMutateStyle(); void didMutateStyle(CSSStyleDeclaration*, bool); -private: - void regionLayoutUpdated(NamedFlow*, int documentNodeId); - void regionOversetChanged(NamedFlow*, int documentNodeId); - public: - void didUpdateRegionLayout(Document*, NamedFlow*); - void didChangeRegionOverset(Document*, NamedFlow*); - void activeStyleSheetsUpdated(Document*); void frameDetachedFromParent(Frame*); @@ -137,18 +126,13 @@ public: virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFamilyName, RefPtr >&) OVERRIDE; virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr& inlineStyle, RefPtr& attributes) OVERRIDE; virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* includePseudo, const bool* includeInherited, RefPtr >& matchedCSSRules, RefPtr >&, RefPtr >& inheritedEntries) OVERRIDE; - virtual void getAllStyleSheets(ErrorString*, RefPtr >& styleSheetInfos) OVERRIDE; virtual void getStyleSheet(ErrorString*, const String& styleSheetId, RefPtr& result) OVERRIDE; virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, String* result) OVERRIDE; virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, const String& text) OVERRIDE; - virtual void setStyleText(ErrorString*, const RefPtr& styleId, const String& text, RefPtr& result) OVERRIDE; virtual void setPropertyText(ErrorString*, const RefPtr& styleId, int propertyIndex, const String& text, bool overwrite, RefPtr& result) OVERRIDE; - virtual void toggleProperty(ErrorString*, const RefPtr& styleId, int propertyIndex, bool disable, RefPtr& result) OVERRIDE; virtual void setRuleSelector(ErrorString*, const RefPtr& ruleId, const String& selector, RefPtr& result) OVERRIDE; virtual void addRule(ErrorString*, int contextNodeId, const String& selector, RefPtr& result) OVERRIDE; - virtual void getSupportedCSSProperties(ErrorString*, RefPtr >& result) OVERRIDE; virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr& forcedPseudoClasses) OVERRIDE; - virtual void getNamedFlowCollection(ErrorString*, int documentNodeId, RefPtr >& result) OVERRIDE; PassRefPtr buildMediaObject(const MediaList*, MediaListSource, const String&, CSSStyleSheet*); PassRefPtr > buildMediaListChain(CSSRule*); @@ -156,9 +140,7 @@ public: private: class StyleSheetAction; class SetStyleSheetTextAction; - class SetStyleTextAction; class SetPropertyTextAction; - class TogglePropertyAction; class SetRuleSelectorAction; class AddRuleAction; class EnableResourceClient; @@ -173,7 +155,6 @@ private: void resetNonPersistentData(); InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element); Element* elementForId(ErrorString*, int nodeId); - int documentNodeWithRequestedFlowsId(Document*); void collectAllStyleSheets(Vector&); void collectAllDocumentStyleSheets(Document*, Vector&); void collectStyleSheets(CSSStyleSheet*, Vector&); @@ -194,8 +175,6 @@ private: PassRefPtr > buildArrayForRuleList(CSSRuleList*); PassRefPtr > buildArrayForMatchedRuleList(CSSRuleList*, Element*); PassRefPtr buildObjectForAttributesStyle(Element*); - PassRefPtr > buildArrayForRegions(ErrorString*, PassRefPtr, int documentNodeId); - PassRefPtr buildObjectForNamedFlow(ErrorString*, NamedFlow*, int documentNodeId); // InspectorDOMAgent::DOMListener implementation virtual void didRemoveDocument(Document*) OVERRIDE; @@ -221,9 +200,6 @@ private: NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet; HashMap, RefPtr > m_documentToViaInspectorStyleSheet; // "via inspector" stylesheets NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState; - HashSet m_namedFlowCollectionsRequested; - OwnPtr m_updateRegionLayoutTask; - OwnPtr m_changeRegionOversetTask; RefPtr m_inspectorUserAgentStyleSheet; @@ -233,10 +209,8 @@ private: bool m_creatingViaInspectorStyleSheet; bool m_isSettingStyleSheetText; - friend class ChangeRegionOversetTask; friend class EnableResourceClient; friend class StyleSheetBinder; - friend class UpdateRegionLayoutTask; };