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

Issue 259263003: Fix to remove customised String over IPC for SmartClip (Closed)

Created:
6 years, 7 months ago by AviD
Modified:
6 years, 6 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, jamesr
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix to remove customised String over IPC for SmartClip Currently, the data for SmartClip is sent over IPC as a customized string, which contains rect values and string of content within the clip rect. Changes from Blink side to remove custom serialization and send it as a structure of rect and string values. BUG=330872 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173295 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176646

Patch Set 1 #

Total comments: 2

Patch Set 2 : changes done according to review comments #

Total comments: 2

Patch Set 3 : Changed as per review #

Patch Set 4 : check for webviewtest #

Patch Set 5 : Avoid build dependency on chromium checkin #

Patch Set 6 : Added TODO in WebView.h (Avoid build dependency) #

Total comments: 4

Patch Set 7 : changed according to review comments by eseidel #

Total comments: 8

Patch Set 8 : Updated according to review comments #

Total comments: 1

Patch Set 9 : Fixed nits #

Patch Set 10 : rebase to latest #

Patch Set 11 : Build error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -31 lines) Patch
M Source/core/frame/SmartClip.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/frame/SmartClip.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -25 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -2 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -3 lines 0 comments Download
M public/web/WebView.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
AviD
PTAL From the existing code, its not required to send a vector of structure of ...
6 years, 7 months ago (2014-04-30 11:32:05 UTC) #1
AviD
Adding ch.dumez in reviewers list.
6 years, 7 months ago (2014-04-30 16:01:07 UTC) #2
abarth-chromium
https://codereview.chromium.org/259263003/diff/1/public/web/WebViewClient.h File public/web/WebViewClient.h (right): https://codereview.chromium.org/259263003/diff/1/public/web/WebViewClient.h#newcode218 public/web/WebViewClient.h:218: virtual void updateSmartClipDataResult(const WebString& text, const WebRect& rect) { ...
6 years, 7 months ago (2014-04-30 16:59:43 UTC) #3
AviD
Changes made as per review comments. PTAL https://codereview.chromium.org/259263003/diff/1/public/web/WebViewClient.h File public/web/WebViewClient.h (right): https://codereview.chromium.org/259263003/diff/1/public/web/WebViewClient.h#newcode218 public/web/WebViewClient.h:218: virtual void ...
6 years, 7 months ago (2014-05-02 15:03:22 UTC) #4
abarth-chromium
lgtm https://codereview.chromium.org/259263003/diff/20001/public/web/WebView.h File public/web/WebView.h (right): https://codereview.chromium.org/259263003/diff/20001/public/web/WebView.h#newcode421 public/web/WebView.h:421: virtual void getSmartClipData(WebRect) = 0; virtual void getSmartClipData(WebRect, ...
6 years, 7 months ago (2014-05-02 17:12:45 UTC) #5
AviD
Thanks abarth. Not sure how that was missed. PTAL
6 years, 7 months ago (2014-05-05 04:56:28 UTC) #6
abarth-chromium
relgtm
6 years, 7 months ago (2014-05-05 05:14:52 UTC) #7
AviD
The CQ bit was checked by avi.nitk@samsung.com
6 years, 7 months ago (2014-05-05 05:30:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi.nitk@samsung.com/259263003/40001
6 years, 7 months ago (2014-05-05 05:30:33 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-05 06:05:00 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink
6 years, 7 months ago (2014-05-05 06:05:00 UTC) #11
AviD
The CQ bit was checked by avi.nitk@samsung.com
6 years, 7 months ago (2014-05-05 09:58:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi.nitk@samsung.com/259263003/60001
6 years, 7 months ago (2014-05-05 09:59:00 UTC) #13
commit-bot: I haz the power
Change committed as 173295
6 years, 7 months ago (2014-05-05 10:59:57 UTC) #14
loislo
A revert of this CL has been created in https://codereview.chromium.org/266193003/ by loislo@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-05 12:14:27 UTC) #15
AviD
@abarth I have removed the build dependency on https://codereview.chromium.org/260623004/ Could you PTAL?
6 years, 6 months ago (2014-06-02 11:30:42 UTC) #16
Inactive
On 2014/06/02 11:30:42, AviD wrote: > @abarth > I have removed the build dependency on ...
6 years, 6 months ago (2014-06-02 13:28:34 UTC) #17
eseidel
https://codereview.chromium.org/259263003/diff/100001/Source/core/frame/SmartClip.h File Source/core/frame/SmartClip.h (right): https://codereview.chromium.org/259263003/diff/100001/Source/core/frame/SmartClip.h#newcode52 Source/core/frame/SmartClip.h:52: IntRect getRect() const; We don't use "get" for getters. ...
6 years, 6 months ago (2014-06-02 16:37:50 UTC) #18
AviD
@eseidel updated according to review comments. Could you PTAL? https://codereview.chromium.org/259263003/diff/100001/Source/core/frame/SmartClip.h File Source/core/frame/SmartClip.h (right): https://codereview.chromium.org/259263003/diff/100001/Source/core/frame/SmartClip.h#newcode52 Source/core/frame/SmartClip.h:52: ...
6 years, 6 months ago (2014-06-03 05:53:59 UTC) #19
Inactive
https://codereview.chromium.org/259263003/diff/120001/Source/core/frame/SmartClip.cpp File Source/core/frame/SmartClip.cpp (right): https://codereview.chromium.org/259263003/diff/120001/Source/core/frame/SmartClip.cpp#newcode69 Source/core/frame/SmartClip.cpp:69: String SmartClipData::clipData() const Could return a const String&. https://codereview.chromium.org/259263003/diff/120001/Source/web/WebViewImpl.h ...
6 years, 6 months ago (2014-06-09 14:00:51 UTC) #20
Inactive
https://codereview.chromium.org/259263003/diff/120001/Source/web/tests/WebViewTest.cpp File Source/web/tests/WebViewTest.cpp (right): https://codereview.chromium.org/259263003/diff/120001/Source/web/tests/WebViewTest.cpp#newcode1499 Source/web/tests/WebViewTest.cpp:1499: EXPECT_FALSE(clipData.isEmpty());} What's up with this trailing '}'? https://codereview.chromium.org/259263003/diff/120001/public/web/WebView.h File ...
6 years, 6 months ago (2014-06-09 14:47:10 UTC) #21
AviD
@Chris Dumez @abarth: Updated according to review comments. Could you PTAL? https://codereview.chromium.org/259263003/diff/120001/Source/core/frame/SmartClip.cpp File Source/core/frame/SmartClip.cpp (right): ...
6 years, 6 months ago (2014-06-13 11:52:48 UTC) #22
Inactive
On 2014/06/13 11:52:48, AviD wrote: > @Chris Dumez @abarth: Updated according to review comments. > ...
6 years, 6 months ago (2014-06-13 13:37:24 UTC) #23
abarth-chromium
LGTM w/ nit below https://codereview.chromium.org/259263003/diff/140001/Source/web/WebViewImpl.h File Source/web/WebViewImpl.h (right): https://codereview.chromium.org/259263003/diff/140001/Source/web/WebViewImpl.h#newcode252 Source/web/WebViewImpl.h:252: virtual void getSmartClipData(WebRect, WebString*, WebRect*) ...
6 years, 6 months ago (2014-06-13 17:37:43 UTC) #24
AviD
The CQ bit was checked by avi.nitk@samsung.com
6 years, 6 months ago (2014-06-20 16:36:44 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi.nitk@samsung.com/259263003/150001
6 years, 6 months ago (2014-06-20 16:37:13 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 16:37:21 UTC) #27
commit-bot: I haz the power
Failed to apply patch for Source/core/frame/SmartClip.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-20 16:37:22 UTC) #28
AviD
The CQ bit was checked by avi.nitk@samsung.com
6 years, 6 months ago (2014-06-20 16:50:55 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi.nitk@samsung.com/259263003/170001
6 years, 6 months ago (2014-06-20 16:51:15 UTC) #30
AviD
The CQ bit was checked by avi.nitk@samsung.com
6 years, 6 months ago (2014-06-20 17:56:44 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi.nitk@samsung.com/259263003/190001
6 years, 6 months ago (2014-06-20 17:58:03 UTC) #32
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 21:24:41 UTC) #33
Message was sent while issue was closed.
Change committed as 176646

Powered by Google App Engine
This is Rietveld 408576698