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

Unified Diff: Source/core/events/EventContext.h

Issue 125033002: Rename SharedEventContext to TreeScopeEventContext after r164501. (Closed) 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 | « no previous file | Source/core/events/EventPath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventContext.h
diff --git a/Source/core/events/EventContext.h b/Source/core/events/EventContext.h
index 33e31fd03bcdab37d4bf0bf47c347caba0c17a4a..58cd09eaeb0e54a7241e87643d256d501a344e72 100644
--- a/Source/core/events/EventContext.h
+++ b/Source/core/events/EventContext.h
@@ -97,13 +97,13 @@ public:
Node* node() const { return m_node.get(); }
EventTarget* currentTarget() const { return m_currentTarget.get(); }
- TreeScopeEventContext* sharedEventContext() const { return m_sharedEventContext.get(); }
- void setSharedEventContext(PassRefPtr<TreeScopeEventContext> sharedEventContext) { m_sharedEventContext = sharedEventContext; }
+ TreeScopeEventContext* treeScopeEventContext() const { return m_treeScopeEventContext.get(); }
+ void setTreeScopeEventContext(PassRefPtr<TreeScopeEventContext> prpTreeScopeEventContext) { m_treeScopeEventContext = prpTreeScopeEventContext; }
- EventTarget* target() const { return m_sharedEventContext->target(); }
- EventTarget* relatedTarget() const { return m_sharedEventContext->relatedTarget(); }
- TouchEventContext* touchEventContext() const { return m_sharedEventContext->touchEventContext(); }
- PassRefPtr<NodeList> eventPath() const { return m_sharedEventContext->eventPath(); }
+ EventTarget* target() const { return m_treeScopeEventContext->target(); }
+ EventTarget* relatedTarget() const { return m_treeScopeEventContext->relatedTarget(); }
+ TouchEventContext* touchEventContext() const { return m_treeScopeEventContext->touchEventContext(); }
+ PassRefPtr<NodeList> eventPath() const { return m_treeScopeEventContext->eventPath(); }
bool currentTargetSameAsTarget() const { return m_currentTarget.get() == target(); }
void handleLocalEvents(Event*) const;
@@ -111,7 +111,7 @@ public:
private:
RefPtr<Node> m_node;
RefPtr<EventTarget> m_currentTarget;
- RefPtr<TreeScopeEventContext> m_sharedEventContext;
+ RefPtr<TreeScopeEventContext> m_treeScopeEventContext;
};
#ifndef NDEBUG
« no previous file with comments | « no previous file | Source/core/events/EventPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698