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

Unified Diff: ui/views/selection_controller.h

Issue 2580293003: MacViews: Select word under cursor on right click. (Closed)
Patch Set: Reorder function. 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
« no previous file with comments | « ui/views/controls/textfield/textfield_unittest.cc ('k') | ui/views/selection_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/selection_controller.h
diff --git a/ui/views/selection_controller.h b/ui/views/selection_controller.h
index ed9ffabb7d5a66a17341c70a0ccaafa4cee6ff5e..8a410e9e148aac9aa1f15d4d419a9fb56646bb3f 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 the word at the given |point|.
+ void SelectWord(const gfx::Point& point);
+
// Returns the associated render text instance via the |delegate_|.
gfx::RenderText* GetRenderText();
« no previous file with comments | « ui/views/controls/textfield/textfield_unittest.cc ('k') | ui/views/selection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698