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

Unified Diff: ui/views/selection_controller.h

Issue 2580293003: MacViews: Select word under cursor on right click. (Closed)
Patch Set: -- Created 4 years 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: ui/views/selection_controller.h
diff --git a/ui/views/selection_controller.h b/ui/views/selection_controller.h
index ed9ffabb7d5a66a17341c70a0ccaafa4cee6ff5e..017876321434ddec0dbf4236ad5e7585b61e83c9 100644
--- a/ui/views/selection_controller.h
+++ b/ui/views/selection_controller.h
@@ -53,6 +53,9 @@ class VIEWS_EXPORT SelectionController {
// Tracks the mouse clicks for single/double/triple clicks.
void TrackMouseClicks(const ui::MouseEvent& event);
+ // Selects word at the given |point|.
tapted 2016/12/19 06:49:16 nit: word -> the word
karandeepb 2016/12/19 07:05:43 Done.
+ void SelectWord(const gfx::Point& point);
+
// Returns the associated render text instance via the |delegate_|.
gfx::RenderText* GetRenderText();

Powered by Google App Engine
This is Rietveld 408576698