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

Issue 391923006: Extra parameter to pass sub-message direction for validation message (Closed)

Created:
6 years, 5 months ago by Habib Virji
Modified:
6 years, 3 months ago
Reviewers:
tkent, jamesr, jam, pfeldman
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, jochen+watch_chromium.org, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Extra parameter to pass sub-message direction for validation message Main message and sub message direction of the validation message can differ. Pass direction of the subMsg to allow text display accordingly. BUG=91638 R=jam, jamesr Committed: https://crrev.com/597255e67d2d627ad17d8d313c8aa47d5dc7bd6c Cr-Commit-Position: refs/heads/master@{#293819}

Patch Set 1 #

Patch Set 2 : Unit test updated to reflect direction changes #

Total comments: 4

Patch Set 3 : Updated to correct coding style #

Total comments: 10

Patch Set 4 : "Corrected Indentation" #

Patch Set 5 : Fixed compilation issue #

Patch Set 6 : Compilation fix for Windows #

Total comments: 1

Patch Set 7 : Added new function setValidationMessageDirection, to avoid replicate code in web_test_proxy #

Total comments: 6

Patch Set 8 : Coding style update and pass by pointer instead of reference #

Patch Set 9 : Removed unused header file #

Patch Set 10 : Updated to latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -29 lines) Patch
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +29 lines, -15 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -7 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
Habib Virji
Part of the changes in blink. Blink CL: https://codereview.chromium.org/389343002/
6 years, 5 months ago (2014-07-15 16:51:12 UTC) #1
jam
see http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml https://codereview.chromium.org/391923006/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/391923006/diff/20001/content/renderer/render_view_impl.cc#newcode1902 content/renderer/render_view_impl.cc:1902: if (main_text_hint == blink::WebTextDirectionLeftToRight) nit: don't remove ...
6 years, 4 months ago (2014-08-18 17:55:51 UTC) #2
Habib Virji
@jam thanks updated to correct coding style. Can you please take a look. https://codereview.chromium.org/391923006/diff/20001/content/renderer/render_view_impl.cc File ...
6 years, 4 months ago (2014-08-20 09:15:55 UTC) #3
jam
https://codereview.chromium.org/391923006/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/391923006/diff/40001/content/renderer/render_view_impl.cc#newcode1900 content/renderer/render_view_impl.cc:1900: && !base::i18n::IsRTL()) { nit: indent 4 more here. also ...
6 years, 4 months ago (2014-08-21 17:32:52 UTC) #4
Habib Virji
Thanks, updated. Only thing not clear was how many spaces, should it be in "if ...
6 years, 3 months ago (2014-08-26 08:55:45 UTC) #5
Habib Virji
habib.virji@samsung.com changed reviewers: + jamesr@chromium.org - jochen@chromium.org, kalman@chromium.org, kenrb@chromium.org
6 years, 3 months ago (2014-08-29 08:59:31 UTC) #6
Habib Virji
@jam/jamesr: Blink side code has landed (https://codereview.chromium.org/389343002/), can you please review the corresponding chromium side ...
6 years, 3 months ago (2014-08-29 10:05:51 UTC) #7
jamesr
lgtm https://codereview.chromium.org/391923006/diff/100001/content/shell/renderer/test_runner/web_test_proxy.cc File content/shell/renderer/test_runner/web_test_proxy.cc (right): https://codereview.chromium.org/391923006/diff/100001/content/shell/renderer/test_runner/web_test_proxy.cc#newcode391 content/shell/renderer/test_runner/web_test_proxy.cc:391: if (message_dir == blink::WebTextDirectionLeftToRight) { this looks very ...
6 years, 3 months ago (2014-08-29 17:21:50 UTC) #8
Habib Virji
On 2014/08/29 17:21:50, jamesr wrote: > lgtm > > https://codereview.chromium.org/391923006/diff/100001/content/shell/renderer/test_runner/web_test_proxy.cc > File content/shell/renderer/test_runner/web_test_proxy.cc (right): > ...
6 years, 3 months ago (2014-09-01 11:09:31 UTC) #9
jamesr
almost! https://codereview.chromium.org/391923006/diff/120001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/391923006/diff/120001/content/renderer/render_view_impl.h#newcode386 content/renderer/render_view_impl.h:386: void setValidationMessageDirection(base::string16& main_text, this is a chromium-style function ...
6 years, 3 months ago (2014-09-02 19:14:56 UTC) #11
Habib Virji
Thanks updated, using pointer as need to update values. https://codereview.chromium.org/391923006/diff/120001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/391923006/diff/120001/content/renderer/render_view_impl.h#newcode386 content/renderer/render_view_impl.h:386: ...
6 years, 3 months ago (2014-09-03 10:16:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/391923006/160001
6 years, 3 months ago (2014-09-05 08:32:21 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/63071) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/56900) android_aosp ...
6 years, 3 months ago (2014-09-05 08:41:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/391923006/180001
6 years, 3 months ago (2014-09-06 04:47:06 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/9169)
6 years, 3 months ago (2014-09-06 05:00:32 UTC) #20
Habib Virji
@tkent/pfeldman: render_view_impl changes was okayed by James, but web_test_proxy changes needs your approval too.
6 years, 3 months ago (2014-09-08 09:26:20 UTC) #22
tkent
lgtm
6 years, 3 months ago (2014-09-08 23:20:43 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/391923006/180001
6 years, 3 months ago (2014-09-08 23:29:52 UTC) #25
commit-bot: I haz the power
Committed patchset #10 (id:180001) as 7d5db93341b8ee2ff07aefbf6e16c444fea872c6
6 years, 3 months ago (2014-09-09 00:32:05 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:49:11 UTC) #27
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/597255e67d2d627ad17d8d313c8aa47d5dc7bd6c
Cr-Commit-Position: refs/heads/master@{#293819}

Powered by Google App Engine
This is Rietveld 408576698