New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 740804 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit 16 days ago
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task

Blocked on:
issue 230267
issue 742093



Sign in to add a comment

Simplify SelectionTemplate

Project Member Reported by yosin@chromium.org, Jul 11 2017

Issue description

We should move following members into another place
- granularity_; being removed, see 230267
- is_directional; FrameSelection and TextFormControlElement
- is_handle_visible_; UX feature for Android, move to FrameSelection



 

Comment 1 by yosin@chromium.org, Jul 11 2017

Blockedon: 230267
Hi yosin, I will take this if no one is working on this.
I have submitted a WIP patch.
https://chromium-review.googlesource.com/c/577497.

Comment 3 by yosin@chromium.org, Jul 27 2017

Blockedon: 742093
Project Member

Comment 4 by bugdroid1@chromium.org, Jul 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cbc6be87b4fb96476af993466819c0051b772253

commit cbc6be87b4fb96476af993466819c0051b772253
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Mon Jul 31 12:05:06 2017

Use FrameSelection::IsDirectional() in TextControlElement

Use FrameSelection::IsDirectional() in TextControlElement
This is done as a preparation of moving member variable is_directional_ of
class SelectionTemplate to class FrameSelection for code health.
BUG= 740804 

Change-Id: I287ed4b01ffe531c38c09a79f4f90dd5a5abc896
Reviewed-on: https://chromium-review.googlesource.com/589092
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490747}
[modify] https://crrev.com/cbc6be87b4fb96476af993466819c0051b772253/third_party/WebKit/Source/core/html/TextControlElement.cpp

Project Member

Comment 5 by bugdroid1@chromium.org, Aug 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9063cb91499ef3cf13e085ae4ad27ae52e09019a

commit 9063cb91499ef3cf13e085ae4ad27ae52e09019a
Author: Yoshifumi Inoue <yosin@chromium.org>
Date: Thu Aug 03 02:26:59 2017

Get rid of redundant call of SetIsDirectional() in SelectionController::SetNonDirectionalSelectionIfNeeded()

This patch gets rid of redundant call of |SetIsDirectional()| in
|SelectionController::SetNonDirectionalSelectionIfNeeded()|, because
 - We want to set non-directional selection as function name suggested
 - In |FrameSelection::SetSelection()|, we always set directional selection if
   |ShouldConsiderSelectionAsDirectional()| is true.

Bug:  740804 
Change-Id: Ia474742aee16d13e124c41f4d7830614c35bd2f2
Reviewed-on: https://chromium-review.googlesource.com/595427
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491618}
[modify] https://crrev.com/9063cb91499ef3cf13e085ae4ad27ae52e09019a/third_party/WebKit/Source/core/editing/SelectionController.cpp

Project Member

Comment 6 by bugdroid1@chromium.org, Aug 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/27b15fd5eedec7b999c7640862f930d939997738

commit 27b15fd5eedec7b999c7640862f930d939997738
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Wed Aug 09 06:24:02 2017

Make ComputeSelectionForInsertion to return SelectionInDOMTree

Currently ComputeSelectionForInsertion() return VisibleSelection,
and also takes directional as a parameter which is not needed.
So we can ignore taking is_directional parameter and
also return SelectionInDOMTree instead of VisibleSelection.

BUG= 740804 

Change-Id: Ia751a2c886336e43c1357327d9b5cd4ad852daac
Reviewed-on: https://chromium-review.googlesource.com/603427
Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#492853}
[modify] https://crrev.com/27b15fd5eedec7b999c7640862f930d939997738/third_party/WebKit/Source/core/editing/commands/InsertIncrementalTextCommand.cpp

Project Member

Comment 7 by bugdroid1@chromium.org, Aug 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4e33faceb080c6ab5c3bed2acd71782da5628497

commit 4e33faceb080c6ab5c3bed2acd71782da5628497
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Wed Aug 16 11:32:11 2017

Use SelectionForUndoStep in CompositeEditCommand::ApplyCommandToComposite

Currently CompositeEditCommand::ApplyCommandToComposite uses
VisibleSelection, to reduce the usage of VisibleSelection
and also prepare for movement of is_directional_ from SelectionController
to FrameSelection we will use SelectionForUndoStep instead of VisibleSelection

BUG= 740804 ,  657256 

Change-Id: I17bb7d0790bd1dfd023d14a0ff8610cdee028e33
Reviewed-on: https://chromium-review.googlesource.com/605416
Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494748}
[modify] https://crrev.com/4e33faceb080c6ab5c3bed2acd71782da5628497/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
[modify] https://crrev.com/4e33faceb080c6ab5c3bed2acd71782da5628497/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
[modify] https://crrev.com/4e33faceb080c6ab5c3bed2acd71782da5628497/third_party/WebKit/Source/core/editing/commands/SelectionForUndoStep.cpp
[modify] https://crrev.com/4e33faceb080c6ab5c3bed2acd71782da5628497/third_party/WebKit/Source/core/editing/commands/SelectionForUndoStep.h
[modify] https://crrev.com/4e33faceb080c6ab5c3bed2acd71782da5628497/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp

Owner: tanvir.r...@samsung.com
Status: Assigned (was: Available)
I did some study into is_directional_:

https://docs.google.com/document/d/1f0jR_Z0cQAAD1c5DoMLnrqa7efF6S3WdWxeIsV1bUpc/edit?usp=sharing

Hope it helps, though it seems overlapping with yosin@'s comment at https://chromium-review.googlesource.com/c/chromium/src/+/602087#message-66183ae26b07e6c560dfbabe70de9b26ae081b68
Labels: -Type-Bug Type-Task
Project Member

Comment 10 by bugdroid1@chromium.org, Nov 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1a0407f621ae7080cf91c0d410ee8a1ca91a40b9

commit 1a0407f621ae7080cf91c0d410ee8a1ca91a40b9
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Tue Nov 14 17:00:03 2017

Use default value of is_directional_ in WebLocalFrameImpl

WebLocalFrameImpl sets is_directional_ value to false
explicitly for building SelectionTemplate.
By default the is_directional_ value is false in
SelectionTemplate so we don't need to explicitly set.

Bug:  740804 
Change-Id: I8f332d441b0265a230240fec30e892c4d55d4776
Reviewed-on: https://chromium-review.googlesource.com/765751
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
Cr-Commit-Position: refs/heads/master@{#516329}
[modify] https://crrev.com/1a0407f621ae7080cf91c0d410ee8a1ca91a40b9/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.cpp

Project Member

Comment 11 by bugdroid1@chromium.org, Nov 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/786ec7d5352b74b41895bec90df8a5ad1e681464

commit 786ec7d5352b74b41895bec90df8a5ad1e681464
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Thu Nov 16 10:25:24 2017

Use FrameSelection for SetMark in Editor class

SetMark caches the VisibleSelection and is always set by
FrameSelection::ComputeVisibleSelectionInDOMTreeDeprecated.
So instead of passing VisibleSelection, this CL passes
FrameSelection, and then compute the visible selection
at call site. With this, it also prepares for the movement
of is_directional_ to FrameSelection.

Bug:  740804 
Change-Id: I0e7a27af4d926ae0c68f15fbba612cb7d9a5f268
Reviewed-on: https://chromium-review.googlesource.com/766027
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
Cr-Commit-Position: refs/heads/master@{#517048}
[modify] https://crrev.com/786ec7d5352b74b41895bec90df8a5ad1e681464/third_party/WebKit/Source/core/editing/Editor.cpp
[modify] https://crrev.com/786ec7d5352b74b41895bec90df8a5ad1e681464/third_party/WebKit/Source/core/editing/Editor.h
[modify] https://crrev.com/786ec7d5352b74b41895bec90df8a5ad1e681464/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp

Project Member

Comment 12 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/217d5aa0eba9d6e74f54712b1c1c5197442d5738

commit 217d5aa0eba9d6e74f54712b1c1c5197442d5738
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Tue Nov 21 03:30:55 2017

Revert "Get rid of redundant call of SetIsDirectional() in SelectionController::SetNonDirectionalSelectionIfNeeded()"

This is a manual revert of commit 9063cb91499ef3cf13e085ae4ad27ae52e09019a.

Reason of revert: causing  crbug.com/785147 . The |SetIsDirectional()| call
removed in the reverted CL turns out to be not redundant: it affects the
|IsDirectional()| value of |selection_in_flat_tree|, which is taken into
the decision of whether to abort the current operation or not.

Bug:  785147 ,  740804 
Change-Id: I7f92ae1fe5223557346360a4509a3e448b0165fc
Reviewed-on: https://chromium-review.googlesource.com/779967
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518086}
[add] https://crrev.com/217d5aa0eba9d6e74f54712b1c1c5197442d5738/third_party/WebKit/LayoutTests/editing/selection/mouse/click_back_does_not_clear_editing_style.html
[modify] https://crrev.com/217d5aa0eba9d6e74f54712b1c1c5197442d5738/third_party/WebKit/Source/core/editing/SelectionController.cpp

Project Member

Comment 13 by bugdroid1@chromium.org, Nov 22 2017

Labels: merge-merged-3239
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b3e1ef2c9caecf8fec563eaa34b0e58282995282

commit b3e1ef2c9caecf8fec563eaa34b0e58282995282
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Wed Nov 22 20:42:34 2017

Revert "Get rid of redundant call of SetIsDirectional() in SelectionController::SetNonDirectionalSelectionIfNeeded()"

This is a manual revert of commit 9063cb91499ef3cf13e085ae4ad27ae52e09019a.

Reason of revert: causing  crbug.com/785147 . The |SetIsDirectional()| call
removed in the reverted CL turns out to be not redundant: it affects the
|IsDirectional()| value of |selection_in_flat_tree|, which is taken into
the decision of whether to abort the current operation or not.

Bug:  785147 ,  740804 
Change-Id: I7f92ae1fe5223557346360a4509a3e448b0165fc
Reviewed-on: https://chromium-review.googlesource.com/779967
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#518086}(cherry picked from commit 217d5aa0eba9d6e74f54712b1c1c5197442d5738)
Reviewed-on: https://chromium-review.googlesource.com/786352
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/branch-heads/3239@{#562}
Cr-Branched-From: adb61db19020ed8ecee5e91b1a0ea4c924ae2988-refs/heads/master@{#508578}
[add] https://crrev.com/b3e1ef2c9caecf8fec563eaa34b0e58282995282/third_party/WebKit/LayoutTests/editing/selection/mouse/click_back_does_not_clear_editing_style.html
[modify] https://crrev.com/b3e1ef2c9caecf8fec563eaa34b0e58282995282/third_party/WebKit/Source/core/editing/SelectionController.cpp

Project Member

Comment 14 by bugdroid1@chromium.org, Nov 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8bb1cbaee778761d1716d455e51e033e32687022

commit 8bb1cbaee778761d1716d455e51e033e32687022
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Wed Nov 29 05:30:04 2017

Simplify TextControlElement::ComputeSelectionStart/End

We used to need such handling for different selection granularities
in the above mentioned functions because when granularity is not
character, we used to have a mismatch between:
- FrameSelection::SelectionInDOMTree::ComputeStart/EndPosition()
- FrameSelection::ComputeVisibleSelectionInDOMTree::Start/End()

Now that granularity is completely moved to FrameSelection, there is
no longer such mismatch. So we can use the same logic for all
granularities. As a side effect, this also allows us to remove some
call sites of ComputeVisibleSelectionInDOMTreeDeprecated().

Note that this patch changes the calculation of IndexForPosition from
using the canonicalized position to the un-canonicalized position.
This doesn't change the result, because there is only plain text in
text control elements, while canonicalization doesn't skip any plain
text (unless there is bug in canonicalization).

Behavior covered by layout tests:
- fast/forms/onselect-textfield.html
- fast/forms/textarea/onselect-textarea.html

Bug: 698633, 740804 
Change-Id: Id19d694284a5b439dd4585b88c0e40ad99f33f75
Reviewed-on: https://chromium-review.googlesource.com/786397
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520020}
[modify] https://crrev.com/8bb1cbaee778761d1716d455e51e033e32687022/third_party/WebKit/Source/core/html/forms/TextControlElement.cpp

Project Member

Comment 15 by bugdroid1@chromium.org, Jan 17 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c0053379f990eaa5390b88b0549ad82626767b2b

commit c0053379f990eaa5390b88b0549ad82626767b2b
Author: Yoshifumi Inoue <yosin@chromium.org>
Date: Wed Jan 17 09:04:56 2018

Make SelectionController::SetNonDirectionalSelectionIfNeeded() to take SetSelectionOptions

This patch changes |SelectionController::SetNonDirectionalSelectionIfNeeded()|
to take |SetSelectionOptions| by passing |TextGranularity| and
|HandleVisibility| in |SetSelectionOptions| for a preparation of adding
|IsDirecional()| to |SetSelectionOptions|.

The patch[1] introduces |SetSelectionOptions::IsDirecional()|.

[1] http://crrev.com/c/602087: Move SelectionTemplate:is_directional to
FrameSelection

Bug:  740804 
Change-Id: I93adc2412aba17685822d5eca803d05b452091f5
Reviewed-on: https://chromium-review.googlesource.com/869640
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#529679}
[modify] https://crrev.com/c0053379f990eaa5390b88b0549ad82626767b2b/third_party/WebKit/Source/core/editing/SelectionController.cpp
[modify] https://crrev.com/c0053379f990eaa5390b88b0549ad82626767b2b/third_party/WebKit/Source/core/editing/SelectionController.h
[modify] https://crrev.com/c0053379f990eaa5390b88b0549ad82626767b2b/third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp

Project Member

Comment 16 by bugdroid1@chromium.org, Jan 17 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5962b7699dda1ec2b091eb977369e8f209746f2a

commit 5962b7699dda1ec2b091eb977369e8f209746f2a
Author: Yoshifumi Inoue <yosin@chromium.org>
Date: Wed Jan 17 10:56:05 2018

Make SelectionController::UpdateSelectionForMouseDownDispatchingSelectStart() to take SetSelectionOptions

This patch changes |UpdateSelectionForMouseDownDispatchingSelectStart()| in
|SelectionController| to take |SetSelectionOptions| by passing |TextGranularity|
and |HandleVisibility| in |SetSelectionOptions| for a preparation of adding
|IsDirecional()| to |SetSelectionOptions|.

The patch[1] introduces |SetSelectionOptions::IsDirecional()|.

This patch is similar to the patch[2] which change
|SetNonDirectionalSelectionIfNeeded()| to take |SetSelectionOptions|.

Following patch will get rid of |HandleVisibility| enum.

[1] http://crrev.com/c/602087: Move SelectionTemplate:is_directional to
FrameSelection
[2] http://crrev.com/c/869640: Make SelectionController::
SetNonDirectionalSelectionIfNeeded() to take SetSelectionOptions

Bug:  740804 
Change-Id: Ic53d01da5c9bb4e9f9354244cc9284c474d12ec2
Reviewed-on: https://chromium-review.googlesource.com/869695
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#529699}
[modify] https://crrev.com/5962b7699dda1ec2b091eb977369e8f209746f2a/third_party/WebKit/Source/core/editing/SelectionController.cpp
[modify] https://crrev.com/5962b7699dda1ec2b091eb977369e8f209746f2a/third_party/WebKit/Source/core/editing/SelectionController.h

Project Member

Comment 17 by bugdroid1@chromium.org, Jan 18 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/085503e9a0057f67d8557367b9ecfe4cc21778fd

commit 085503e9a0057f67d8557367b9ecfe4cc21778fd
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Thu Jan 18 01:33:50 2018

Move SelectionTemplate:is_directional to FrameSelection

This CL adds is_directional_ to FrameSelection.
Previously all call-sites used is_directional_ value stored in
SelectionTemplate.
After this CL the call-sites will use is_directional_ from
FrameSelection.
A follow up patch will be submitted to remove the
deprecated is_directional_ from SelectionTemplate and VisibleSelection.


BUG= 740804 

Change-Id: I29970ef81eb634b3b82bb7ac2daee06e17d95368
Reviewed-on: https://chromium-review.googlesource.com/602087
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530000}
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/DOMSelection.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/DOMSelection.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/Editor.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/Editor.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/FrameSelection.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/FrameSelection.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/SelectionModifier.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/SetSelectionOptions.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/SetSelectionOptions.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/commands/EditCommand.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/editing/commands/UndoStep.h
[modify] https://crrev.com/085503e9a0057f67d8557367b9ecfe4cc21778fd/third_party/WebKit/Source/core/html/forms/TextControlElement.cpp

Project Member

Comment 18 by bugdroid1@chromium.org, Jan 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7176fc85011c8da650f296b509bc0acf8b7bb89e

commit 7176fc85011c8da650f296b509bc0acf8b7bb89e
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Tue Jan 30 01:47:06 2018

Use selection directional for commands from EditCommands.

This CL uses selection directional value for commands
from EditCommand SelectionIsDirectional().
This is done because we will remove directional
from SelectionTemplate.

Bug:  740804 
Change-Id: Icb6cb608d92c6688139df713a056a7fc972d2441
Reviewed-on: https://chromium-review.googlesource.com/891200
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532724}
[modify] https://crrev.com/7176fc85011c8da650f296b509bc0acf8b7bb89e/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp

Project Member

Comment 19 by bugdroid1@chromium.org, Feb 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3

commit 7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3
Author: tanvir.rizvi <tanvir.rizvi@samsung.com>
Date: Thu Feb 01 14:35:34 2018

Directional code cleanup in editing module

https://chromium-review.googlesource.com/c/chromium/src/+/602087
moves directional to FrameSelection.
All the call sites should use FS directional.
This CL cleans up the rest of the directional code.

Bug:  740804 
Change-Id: I1f5864f00012662fcf3362376b72a5b3ac738e37
Reviewed-on: https://chromium-review.googlesource.com/895026
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
Cr-Commit-Position: refs/heads/master@{#533654}
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/DOMSelection.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/FrameSelection.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/SelectionController.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/SelectionTemplate.h
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/VisibleSelection.h
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/SelectionForUndoStep.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/SelectionForUndoStep.h
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
[modify] https://crrev.com/7ee0cb4bd0396c0ed26bbf9611cf310fcc096bb3/third_party/WebKit/Source/core/html/forms/TextControlElement.cpp

Status: Fixed (was: Assigned)

Sign in to add a comment