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

Issue 280953002: Content side of languagechange event fired on accept languages changes. (Closed)

Created:
6 years, 7 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 6 months ago
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
Visibility:
Public.

Description

Content side of languagechange event fired on accept languages changes. This call the WebView API to notify the pages that the accept languages has changed and setup the test runner to allow Blink to change the accept languages for test purposes. Depends on https://codereview.chromium.org/284793003/ BUG=365123 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273076 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273230

Patch Set 1 #

Patch Set 2 : review comments #

Total comments: 1

Patch Set 3 : reset #

Total comments: 2

Patch Set 4 : typo #

Patch Set 5 : change accept languages default to empty string for tests #

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

Messages

Total messages: 49 (0 generated)
mlamouri (slow - plz ping)
6 years, 7 months ago (2014-05-13 22:54:25 UTC) #1
mlamouri (slow - plz ping)
6 years, 7 months ago (2014-05-13 22:55:06 UTC) #2
jochen (gone - plz use gerrit)
I think it's better to just override WebTestProxy::acceptLanguages - it should forward to WebTestProxyBase, and ...
6 years, 7 months ago (2014-05-14 08:11:07 UTC) #3
mlamouri (slow - plz ping)
On 2014/05/14 08:11:07, jochen wrote: > I think it's better to just override WebTestProxy::acceptLanguages - ...
6 years, 7 months ago (2014-05-15 07:31:47 UTC) #4
jochen (gone - plz use gerrit)
On 2014/05/15 07:31:47, Mounir Lamouri wrote: > On 2014/05/14 08:11:07, jochen wrote: > > I ...
6 years, 7 months ago (2014-05-15 10:03:25 UTC) #5
mlamouri (slow - plz ping)
I am now using WebTestProxy, PTAL. I'm a bit concerned by the hard coded "en-US" ...
6 years, 7 months ago (2014-05-23 12:49:36 UTC) #6
jochen (gone - plz use gerrit)
how will you reset the languages between tests? https://codereview.chromium.org/280953002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.h File content/shell/renderer/test_runner/web_test_proxy.h (right): https://codereview.chromium.org/280953002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.h#newcode348 content/shell/renderer/test_runner/web_test_proxy.h:348: return ...
6 years, 7 months ago (2014-05-23 12:54:17 UTC) #7
mlamouri (slow - plz ping)
On 2014/05/23 12:54:17, jochen wrote: > how will you reset the languages between tests? We ...
6 years, 7 months ago (2014-05-23 13:00:34 UTC) #8
jochen (gone - plz use gerrit)
On 2014/05/23 13:00:34, Mounir Lamouri wrote: > On 2014/05/23 12:54:17, jochen wrote: > > how ...
6 years, 7 months ago (2014-05-23 13:03:53 UTC) #9
mlamouri (slow - plz ping)
On 2014/05/23 13:03:53, jochen wrote: > On 2014/05/23 13:00:34, Mounir Lamouri wrote: > > On ...
6 years, 7 months ago (2014-05-23 13:09:35 UTC) #10
jochen (gone - plz use gerrit)
lgtm maybe you want to send a CL that adds the public API as dummy ...
6 years, 7 months ago (2014-05-23 13:12:08 UTC) #11
mlamouri (slow - plz ping)
https://codereview.chromium.org/280953002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/280953002/diff/40001/content/renderer/render_view_impl.cc#newcode2957 content/renderer/render_view_impl.cc:2957: webview()->acceptLanguagesChanged(); On 2014/05/23 13:12:09, jochen wrote: > this API ...
6 years, 7 months ago (2014-05-23 13:15:17 UTC) #12
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 7 months ago (2014-05-25 13:06:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/40001
6 years, 7 months ago (2014-05-25 13:06:29 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-25 14:58:41 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-25 15:03:45 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/77497)
6 years, 7 months ago (2014-05-25 15:03:45 UTC) #17
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 7 months ago (2014-05-26 19:36:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/40001
6 years, 7 months ago (2014-05-26 19:37:15 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 23:12:49 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 23:48:19 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/22977)
6 years, 7 months ago (2014-05-26 23:48:20 UTC) #22
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 7 months ago (2014-05-27 08:28:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/40001
6 years, 7 months ago (2014-05-27 08:29:27 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 10:11:22 UTC) #25
mlamouri (slow - plz ping)
The CQ bit was unchecked by mlamouri@chromium.org
6 years, 7 months ago (2014-05-27 10:35:29 UTC) #26
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 7 months ago (2014-05-27 20:12:25 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/60001
6 years, 7 months ago (2014-05-27 20:12:44 UTC) #28
commit-bot: I haz the power
Change committed as 273076
6 years, 7 months ago (2014-05-27 23:59:20 UTC) #29
tkent
On 2014/05/27 23:59:20, I haz the power (commit-bot) wrote: > Change committed as 273076 It ...
6 years, 7 months ago (2014-05-28 01:45:19 UTC) #30
tkent
A revert of this CL has been created in https://codereview.chromium.org/305633005/ by tkent@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-28 03:08:51 UTC) #31
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 6 months ago (2014-05-28 11:33:41 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/80001
6 years, 6 months ago (2014-05-28 11:34:16 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 13:28:41 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 13:40:24 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/8042)
6 years, 6 months ago (2014-05-28 13:40:25 UTC) #36
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 6 months ago (2014-05-28 13:46:01 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/80001
6 years, 6 months ago (2014-05-28 13:46:56 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 13:54:29 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 14:04:00 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/8051)
6 years, 6 months ago (2014-05-28 14:04:01 UTC) #41
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 6 months ago (2014-05-28 14:06:09 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/80001
6 years, 6 months ago (2014-05-28 14:06:28 UTC) #43
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 14:11:38 UTC) #44
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 14:16:27 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/8067)
6 years, 6 months ago (2014-05-28 14:16:27 UTC) #46
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 6 months ago (2014-05-28 14:44:00 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/280953002/80001
6 years, 6 months ago (2014-05-28 14:44:35 UTC) #48
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 14:51:22 UTC) #49
Message was sent while issue was closed.
Change committed as 273230

Powered by Google App Engine
This is Rietveld 408576698