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

Issue 69923006: Introduce TextFinder class. (Closed)

Created:
7 years, 1 month ago by Andrey Kraynov
Modified:
6 years, 11 months ago
Reviewers:
tkent, yosin_UTC9, eseidel
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@upload-review-4
Visibility:
Public.

Description

Introduce TextFinder class for decoupling WebFrameImpl and text finder. It will be lazily initialized when user activates find on page functionality. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164780

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix remarks in InFrameFinder.h #

Patch Set 3 : TextFinder files only #

Total comments: 11

Patch Set 4 : TextFinder and WebFrameImpl files #

Total comments: 2

Patch Set 5 : Rename TextFinder::stopFinding to stopFindingAndClearSelection #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -3044 lines) Patch
M Source/web/TextFinder.h View 1 2 3 4 5 6 7 chunks +53 lines, -309 lines 0 comments Download
M Source/web/TextFinder.cpp View 1 2 3 4 5 6 24 chunks +182 lines, -1919 lines 0 comments Download
M Source/web/WebFrameImpl.h View 1 2 3 4 5 6 4 chunks +9 lines, -169 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 4 5 6 13 chunks +57 lines, -647 lines 0 comments Download
M Source/web/web.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
yosin_UTC9
This patch should be rebased after http://crrev.com/68263009 committed.
7 years, 1 month ago (2013-11-14 01:43:54 UTC) #1
yosin_UTC9
This patch should be simple renaming of code move rather than introducing new code. https://codereview.chromium.org/69923006/diff/1/Source/web/InFrameFinder.cpp ...
7 years, 1 month ago (2013-11-14 02:06:55 UTC) #2
Andrey Kraynov
On 2013/11/14 02:06:55, Yoshi wrote: > This patch should be simple renaming of code move ...
7 years ago (2013-11-26 10:28:53 UTC) #3
yosin_UTC9
On 2013/11/26 10:28:53, iceman wrote: > On 2013/11/14 02:06:55, Yoshi wrote: > > This patch ...
7 years ago (2013-11-27 01:57:52 UTC) #4
Andrey Kraynov
On 2013/11/27 01:57:52, Yoshi wrote: > On 2013/11/26 10:28:53, iceman wrote: > > On 2013/11/14 ...
7 years ago (2013-12-06 14:32:16 UTC) #5
yosin_UTC9
Please update description. It is now |TextFinder| instead of |InFrameFinder|. I think you can have ...
7 years ago (2013-12-09 01:29:12 UTC) #6
Andrey Kraynov
I have uploaded all changes for TextFinder and WebFrameImpl together. https://codereview.chromium.org/69923006/diff/100001/Source/web/TextFinder.cpp File Source/web/TextFinder.cpp (right): https://codereview.chromium.org/69923006/diff/100001/Source/web/TextFinder.cpp#newcode216 ...
7 years ago (2013-12-13 14:03:58 UTC) #7
yosin_UTC9
https://codereview.chromium.org/69923006/diff/100001/Source/web/TextFinder.h File Source/web/TextFinder.h (right): https://codereview.chromium.org/69923006/diff/100001/Source/web/TextFinder.h#newcode196 Source/web/TextFinder.h:196: // Owner frame nit: We don't need to have ...
7 years ago (2013-12-16 03:51:03 UTC) #8
Andrey Kraynov
https://codereview.chromium.org/69923006/diff/100001/Source/web/TextFinder.h File Source/web/TextFinder.h (right): https://codereview.chromium.org/69923006/diff/100001/Source/web/TextFinder.h#newcode196 Source/web/TextFinder.h:196: // Owner frame On 2013/12/16 03:51:04, Yoshi wrote: > ...
7 years ago (2013-12-18 11:00:21 UTC) #9
yosin_UTC9
ACK Thanks! +tkent@ for OWNERS review.
7 years ago (2013-12-19 01:02:27 UTC) #10
tkent
TextFinder.{cpp,h} were removed because they were not used. Would you make a CL to copy ...
7 years ago (2013-12-19 01:07:02 UTC) #11
Andrey Kraynov
On 2013/12/19 01:07:02, tkent wrote: > TextFinder.{cpp,h} were removed because they were not used. > ...
7 years ago (2013-12-19 17:28:55 UTC) #12
tkent
On 2013/12/19 17:28:55, iceman wrote: > eseidel@ recommended me to use a BUG field for ...
7 years ago (2013-12-19 23:42:36 UTC) #13
eseidel
The approach before was fine. It just took too long. There was a whole file ...
7 years ago (2013-12-19 23:50:26 UTC) #14
tkent
lgtm
6 years, 11 months ago (2014-01-06 05:08:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/69923006/160001
6 years, 11 months ago (2014-01-06 05:08:32 UTC) #16
commit-bot: I haz the power
Failed to apply patch for Source/web/TextFinder.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-06 05:08:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/69923006/220001
6 years, 11 months ago (2014-01-09 14:17:27 UTC) #18
commit-bot: I haz the power
Change committed as 164780
6 years, 11 months ago (2014-01-09 15:26:08 UTC) #19
alph
6 years, 11 months ago (2014-01-09 19:52:43 UTC) #20
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/131063003/ by alph@chromium.org.

The reason for reverting is: Probably the cause of FindInPageTest.FocusRestore
interactive_ui_tests failure
http://build.chromium.org/p/chromium.webkit/builders/Win7%20%28dbg%29/builds/...
.

Powered by Google App Engine
This is Rietveld 408576698