Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1230)

Unified Diff: Source/core/inspector/InspectorCSSAgent.h

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorCSSAgent.h
diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h
index f655d8db77d2ae6b62af5a6e7a33bcf123668fd3..b3c942a2c1ad578d1e1995845e09fe9a16335b21 100644
--- a/Source/core/inspector/InspectorCSSAgent.h
+++ b/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<InspectorCSSAgent>
@@ -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*);
@@ -148,7 +137,6 @@ public:
virtual void addRule(ErrorString*, int contextNodeId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE;
virtual void getSupportedCSSProperties(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo> >& result) OVERRIDE;
virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArray>& forcedPseudoClasses) OVERRIDE;
- virtual void getNamedFlowCollection(ErrorString*, int documentNodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow> >& result) OVERRIDE;
PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&, CSSStyleSheet*);
PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListChain(CSSRule*);
@@ -194,8 +182,6 @@ private:
PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > buildArrayForRuleList(CSSRuleList*);
PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMatchedRuleList(CSSRuleList*, Element*);
PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element*);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region> > buildArrayForRegions(ErrorString*, PassRefPtr<NodeList>, int documentNodeId);
- PassRefPtr<TypeBuilder::CSS::NamedFlow> buildObjectForNamedFlow(ErrorString*, NamedFlow*, int documentNodeId);
// InspectorDOMAgent::DOMListener implementation
virtual void didRemoveDocument(Document*) OVERRIDE;
@@ -221,9 +207,6 @@ private:
NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet;
HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > m_documentToViaInspectorStyleSheet; // "via inspector" stylesheets
NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState;
- HashSet<int> m_namedFlowCollectionsRequested;
- OwnPtr<UpdateRegionLayoutTask> m_updateRegionLayoutTask;
- OwnPtr<ChangeRegionOversetTask> m_changeRegionOversetTask;
RefPtr<CSSStyleSheet> m_inspectorUserAgentStyleSheet;
@@ -233,10 +216,8 @@ private:
bool m_creatingViaInspectorStyleSheet;
bool m_isSettingStyleSheetText;
- friend class ChangeRegionOversetTask;
friend class EnableResourceClient;
friend class StyleSheetBinder;
- friend class UpdateRegionLayoutTask;
};
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698