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

Issue 1907253002: MacViews: Implement move and move*AndModifySelection commands. (Closed)

Created:
4 years, 8 months ago by karandeepb
Modified:
4 years, 7 months ago
Reviewers:
tapted, msw
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Implement move and move*AndModifySelection commands. This CL implements various move and move*AndModifySelection commands. Tests are also added to test expectations against a dummy NSTextView. BUG=586985 Committed: https://crrev.com/8cd49050ee5526cc61b92d189f37882377b4f617 Cr-Commit-Position: refs/heads/master@{#394632}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Add keycodes #

Patch Set 3 : Split tests #

Total comments: 1

Patch Set 4 : Cleanup. #

Total comments: 23

Patch Set 5 : Address review comments. #

Total comments: 4

Patch Set 6 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -33 lines) Patch
M ui/views/cocoa/bridged_content_view.mm View 1 2 3 4 7 chunks +188 lines, -26 lines 0 comments Download
M ui/views/cocoa/bridged_native_widget_unittest.mm View 1 2 3 4 5 10 chunks +144 lines, -6 lines 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 23 (12 generated)
karandeepb
PTAL Trent. I have kept the keycodes for commands as per https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/editing/EditingBehavior.cpp&l=73. I don't really ...
4 years, 7 months ago (2016-05-16 00:11:08 UTC) #9
tapted
https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_content_view.mm File ui/views/cocoa/bridged_content_view.mm (right): https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_content_view.mm#newcode639 ui/views/cocoa/bridged_content_view.mm:639: // to Line. perhaps expand on this with a ...
4 years, 7 months ago (2016-05-16 05:34:41 UTC) #10
karandeepb
PTAL Trent. Thanks. https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_content_view.mm File ui/views/cocoa/bridged_content_view.mm (right): https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_content_view.mm#newcode639 ui/views/cocoa/bridged_content_view.mm:639: // to Line. On 2016/05/16 05:34:40, ...
4 years, 7 months ago (2016-05-16 11:18:07 UTC) #11
tapted
https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_native_widget_unittest.mm File ui/views/cocoa/bridged_native_widget_unittest.mm (right): https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_native_widget_unittest.mm#newcode353 ui/views/cocoa/bridged_native_widget_unittest.mm:353: // NSTextView does not support specifying the selection "direction" ...
4 years, 7 months ago (2016-05-17 04:02:57 UTC) #12
karandeepb
PTAL Trent. Thanks. https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_native_widget_unittest.mm File ui/views/cocoa/bridged_native_widget_unittest.mm (right): https://codereview.chromium.org/1907253002/diff/160001/ui/views/cocoa/bridged_native_widget_unittest.mm#newcode353 ui/views/cocoa/bridged_native_widget_unittest.mm:353: // NSTextView does not support specifying ...
4 years, 7 months ago (2016-05-18 01:33:19 UTC) #13
tapted
sweet! lgtm
4 years, 7 months ago (2016-05-18 01:42:18 UTC) #14
karandeepb
PTAL msw@. Thanks.
4 years, 7 months ago (2016-05-18 01:49:05 UTC) #16
msw
textfield_unittest.cc lgtm
4 years, 7 months ago (2016-05-18 17:44:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907253002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907253002/200001
4 years, 7 months ago (2016-05-18 23:38:08 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 7 months ago (2016-05-19 01:39:38 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 01:40:50 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8cd49050ee5526cc61b92d189f37882377b4f617
Cr-Commit-Position: refs/heads/master@{#394632}

Powered by Google App Engine
This is Rietveld 408576698