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

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

Issue 17848002: Web Inspector: Integrate new regionOversetChange event into inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 6 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
Index: Source/core/inspector/InspectorCSSAgent.h
diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h
index 8e3b009213250382b2de294e6243bd71aa1780cc..8382c1a569776a49e2b6d797c82a1388dae6196f 100644
--- a/Source/core/inspector/InspectorCSSAgent.h
+++ b/Source/core/inspector/InspectorCSSAgent.h
@@ -41,6 +41,7 @@
namespace WebCore {
+class ChangeRegionOversetTask;
struct CSSParserString;
class CSSRule;
class CSSRuleList;
@@ -117,8 +118,15 @@ public:
void mediaQueryResultChanged();
void didCreateNamedFlow(Document*, NamedFlow*);
void willRemoveNamedFlow(Document*, NamedFlow*);
- void didUpdateRegionLayout(Document*, NamedFlow*);
+
+private:
void regionLayoutUpdated(NamedFlow*, int documentNodeId);
+ void regionOversetChanged(NamedFlow*, int documentNodeId);
+
+public:
+ void didUpdateRegionLayout(Document*, NamedFlow*);
+ void didChangeRegionOverset(Document*, NamedFlow*);
+
void activeStyleSheetsUpdated(Document*, const Vector<RefPtr<StyleSheet> >& newSheets);
void frameDetachedFromParent(Frame*);
@@ -206,13 +214,16 @@ private:
NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState;
HashSet<int> m_namedFlowCollectionsRequested;
OwnPtr<UpdateRegionLayoutTask> m_updateRegionLayoutTask;
+ OwnPtr<ChangeRegionOversetTask> m_changeRegionOversetTask;
int m_lastStyleSheetId;
bool m_creatingViaInspectorStyleSheet;
OwnPtr<SelectorProfile> m_currentSelectorProfile;
+ friend class ChangeRegionOversetTask;
friend class StyleSheetBinder;
+ friend class UpdateRegionLayoutTask;
};
« no previous file with comments | « LayoutTests/inspector/styles/protocol-css-regions-commands-expected.txt ('k') | Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698