forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MacViews: Select word under cursor on right click.
This CL modifies SelectionController::OnMousePressed to ensure right clicking outside the current selection, selects the word under the cursor on Mac. A new constant PlatformStyle::kSelectWordOnRightClick is introduced to facilitate this. BUG=657556 TEST= On Mac, enable chrome://flags/#secondary-ui-md. Open Bookmark Bubble. Enter some text in the name textfield. Ensure the word under the cursor is selected on a right click outside the current selection. Review-Url: https://codereview.chromium.org/2580293003 Cr-Commit-Position: refs/heads/master@{#440373}
- Loading branch information
karandeepb
authored and
Commit bot
committed
Dec 22, 2016
1 parent
34ff2f4
commit e9f75ea
Showing
6 changed files
with
67 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters