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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionController.h

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix rebase Created 3 years, 7 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: third_party/WebKit/Source/core/editing/SelectionController.h
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.h b/third_party/WebKit/Source/core/editing/SelectionController.h
index ba1714322527b9c26dfdf1abb866cceff91244a1..a7bf3e05cca3c52efbdbc85d93d3751375a180f8 100644
--- a/third_party/WebKit/Source/core/editing/SelectionController.h
+++ b/third_party/WebKit/Source/core/editing/SelectionController.h
@@ -102,7 +102,8 @@ class CORE_EXPORT SelectionController final
SelectInputEventType);
void SelectClosestMisspellingFromHitTestResult(const HitTestResult&,
AppendTrailingWhitespace);
- void SelectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&);
+ // Returns |true| if a word was selected.
+ bool SelectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&);
void SelectClosestMisspellingFromMouseEvent(
const MouseEventWithHitTestResults&);
void SelectClosestWordOrLinkFromMouseEvent(

Powered by Google App Engine
This is Rietveld 408576698