summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/EditingBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/EditingBehavior.h')
-rw-r--r--WebCore/editing/EditingBehavior.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/editing/EditingBehavior.h b/WebCore/editing/EditingBehavior.h
index 842d3f2..a367c52 100644
--- a/WebCore/editing/EditingBehavior.h
+++ b/WebCore/editing/EditingBehavior.h
@@ -57,6 +57,9 @@ public:
// in place and moving the extent. Matches NSTextView.
bool shouldAlwaysGrowSelectionWhenExtendingToBoundary() const { return m_type == EditingMacBehavior; }
+ // On Mac, when processing a contextual click, the object being clicked upon should be selected.
+ bool shouldSelectOnContextualMenuClick() const { return m_type == EditingMacBehavior; }
+
private:
EditingBehaviorType m_type;
};