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

Issue 181013007: Introduce TextFinder class for decoupling WebFrameImpl and text finder. (Closed)

Created:
6 years, 9 months ago by Andrey Kraynov
Modified:
6 years, 9 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, Yuta Kitamura
Base URL:
https://chromium.googlesource.com/chromium/blink.git@introduce-textfinder-class-new
Visibility:
Public.

Description

Introduce TextFinder class for decoupling WebFrameImpl and text finder. It will be lazily initialized when user activates find on page functionality. First part of this patch that adds TextIterator.{h,cpp} files is here: https://codereview.chromium.org/181003010 BUG=348972 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170329

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix remarks #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Total comments: 6

Patch Set 5 : Fixed Linux build #

Patch Set 6 : Rebase #

Patch Set 7 : Changed invalidateArea() function #

Total comments: 2

Patch Set 8 : Rebase #

Patch Set 9 : Fixed Linux build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -3039 lines) Patch
M Source/web/TextFinder.h View 1 2 3 4 5 6 8 chunks +51 lines, -303 lines 0 comments Download
M Source/web/TextFinder.cpp View 1 2 3 4 5 6 7 23 chunks +164 lines, -1918 lines 0 comments Download
M Source/web/WebFrameImpl.h View 1 2 3 4 5 6 7 8 4 chunks +14 lines, -168 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 4 5 6 7 8 14 chunks +85 lines, -650 lines 0 comments Download
M Source/web/web.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (0 generated)
Andrey Kraynov
Initial patch was reverted in https://codereview.chromium.org/132563003 because it broke Chromium test in interactive_ui_tests. I've fixed ...
6 years, 9 months ago (2014-02-27 16:11:07 UTC) #1
yosin_UTC9
I saw the pattern: ASSERT(m_textFinder); m_textFinder->function(...) Can we change this to getOrCreateTextFinder().function(...) Does this pattern ...
6 years, 9 months ago (2014-02-28 02:04:02 UTC) #2
Andrey Kraynov
I've fixed remarks and added BUG id to link this issue with initial patch. https://codereview.chromium.org/181013007/diff/1/Source/web/WebFrameImpl.cpp ...
6 years, 9 months ago (2014-03-05 16:14:28 UTC) #3
Andrey Kraynov
On 2014/02/28 02:04:02, Yoshi wrote: > I saw the pattern: > ASSERT(m_textFinder); > m_textFinder->function(...) > ...
6 years, 9 months ago (2014-03-05 16:15:28 UTC) #4
yosin_UTC9
+tkent@ for OWNERS review ACK
6 years, 9 months ago (2014-03-10 01:48:19 UTC) #5
tkent
lgtm
6 years, 9 months ago (2014-03-10 03:34:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/10001
6 years, 9 months ago (2014-03-10 03:34:54 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 03:34:56 UTC) #8
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, 9 months ago (2014-03-10 03:34:56 UTC) #9
Andrey Kraynov
On 2014/03/10 03:34:56, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
6 years, 9 months ago (2014-03-10 18:21:32 UTC) #10
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-10 22:59:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/30001
6 years, 9 months ago (2014-03-10 22:59:37 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 22:59:55 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/web/WebFrameImpl.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-10 22:59:56 UTC) #14
Andrey Kraynov
The CQ bit was checked by iceman@yandex-team.ru
6 years, 9 months ago (2014-03-13 16:01:19 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/181013007/50001
6 years, 9 months ago (2014-03-13 16:01:25 UTC) #16
Andrey Kraynov
On 2014/03/10 22:59:56, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
6 years, 9 months ago (2014-03-13 16:14:14 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 16:14:49 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_blink_compile
6 years, 9 months ago (2014-03-13 16:14:50 UTC) #19
Andrey Kraynov
On 2014/03/13 16:14:50, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-13 17:29:27 UTC) #20
tkent
https://codereview.chromium.org/181013007/diff/50001/Source/web/WebFrameImpl.cpp File Source/web/WebFrameImpl.cpp (right): https://codereview.chromium.org/181013007/diff/50001/Source/web/WebFrameImpl.cpp#newcode1886 Source/web/WebFrameImpl.cpp:1886: return m_textFinder ? m_textFinder->activeMatchFrame() : nullptr; I'm not sure ...
6 years, 9 months ago (2014-03-14 00:20:35 UTC) #21
Andrey Kraynov
https://codereview.chromium.org/181013007/diff/50001/Source/web/WebFrameImpl.cpp File Source/web/WebFrameImpl.cpp (right): https://codereview.chromium.org/181013007/diff/50001/Source/web/WebFrameImpl.cpp#newcode1886 Source/web/WebFrameImpl.cpp:1886: return m_textFinder ? m_textFinder->activeMatchFrame() : nullptr; On 2014/03/14 00:20:36, ...
6 years, 9 months ago (2014-03-17 17:56:26 UTC) #22
tkent
lgtm
6 years, 9 months ago (2014-03-17 19:37:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/110001
6 years, 9 months ago (2014-03-17 19:37:06 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-17 19:37:44 UTC) #25
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, 9 months ago (2014-03-17 19:37:46 UTC) #26
Andrey Kraynov
The CQ bit was checked by iceman@yandex-team.ru
6 years, 9 months ago (2014-03-18 17:13:51 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/130001
6 years, 9 months ago (2014-03-18 17:14:11 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 17:14:35 UTC) #29
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, 9 months ago (2014-03-18 17:14:37 UTC) #30
Andrey Kraynov
On 2014/03/18 17:14:37, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
6 years, 9 months ago (2014-03-23 21:00:23 UTC) #31
yosin_UTC9
On 2014/03/23 21:00:23, iceman wrote: > On 2014/03/18 17:14:37, I haz the power (commit-bot) wrote: ...
6 years, 9 months ago (2014-03-24 02:05:24 UTC) #32
Andrey Kraynov
OK, I've divided one function invalidateArea into two distinct functions. https://codereview.chromium.org/181013007/diff/150001/Source/web/WebFrameImpl.cpp File Source/web/WebFrameImpl.cpp (right): https://codereview.chromium.org/181013007/diff/150001/Source/web/WebFrameImpl.cpp#newcode1937 ...
6 years, 9 months ago (2014-03-24 16:34:07 UTC) #33
tkent
lgtm
6 years, 9 months ago (2014-03-25 21:55:20 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/150001
6 years, 9 months ago (2014-03-25 21:55:27 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 21:55:34 UTC) #36
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, 9 months ago (2014-03-25 21:55:35 UTC) #37
Andrey Kraynov
The CQ bit was checked by iceman@yandex-team.ru
6 years, 9 months ago (2014-03-26 17:09:24 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/210001
6 years, 9 months ago (2014-03-26 17:09:33 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 17:22:44 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 17:22:45 UTC) #41
Andrey Kraynov
The CQ bit was checked by iceman@yandex-team.ru
6 years, 9 months ago (2014-03-28 13:17:35 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/230001
6 years, 9 months ago (2014-03-28 13:17:44 UTC) #43
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 13:43:01 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-28 13:43:02 UTC) #45
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-28 13:46:14 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iceman@yandex-team.ru/181013007/230001
6 years, 9 months ago (2014-03-28 13:46:20 UTC) #47
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 14:25:47 UTC) #48
Message was sent while issue was closed.
Change committed as 170329

Powered by Google App Engine
This is Rietveld 408576698