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

Issue 1807733002: Make MockScreenOrientationClient an internal detail of components/test_runner. (Closed)

Created:
4 years, 9 months ago by Łukasz Anforowicz
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove-app-banner-dep
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make MockScreenOrientationClient an internal detail of components/test_runner. Ownership of MockScreenOrientationClient can be moved to TestRunner (which holds ownership of other things that can be influenced by javascript bindings). Furthermore, TestRunner doesn't need to take a detour via WebTestDelegate (aka BlinkTestRunner) to interact with MockScreenOrientationClient. This means that we can remove three screen-orientation-related methods from WebTestDelegate. This in turn means that components/test_runner/mock_screen_orientation_client.h header no longer needs to be included outside of components/test_runner. BUG=595089 Committed: https://crrev.com/6a113ae1eed99940208bef750221d2f9ff058c9b Cr-Commit-Position: refs/heads/master@{#381814}

Patch Set 1 #

Patch Set 2 : Rebasing... #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -52 lines) Patch
M components/test_runner/test_runner.h View 1 3 chunks +4 lines, -0 lines 1 comment Download
M components/test_runner/test_runner.cc View 1 6 chunks +14 lines, -4 lines 4 comments Download
M components/test_runner/web_test_delegate.h View 1 1 chunk +0 lines, -11 lines 0 comments Download
M components/test_runner/web_test_proxy.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/test_runner/web_test_proxy.cc View 1 1 chunk +5 lines, -9 lines 1 comment Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 3 chunks +0 lines, -22 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (7 generated)
Łukasz Anforowicz
jochen@, can you take a look please? https://codereview.chromium.org/1807733002/diff/20001/components/test_runner/test_runner.cc File components/test_runner/test_runner.cc (right): https://codereview.chromium.org/1807733002/diff/20001/components/test_runner/test_runner.cc#newcode1705 components/test_runner/test_runner.cc:1705: mock_screen_orientation_client_->ResetData(); This ...
4 years, 9 months ago (2016-03-16 00:16:01 UTC) #2
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-17 19:50:13 UTC) #3
commit-bot: I haz the power
This CL has an open dependency (Issue 1807643002 Patch 40001). Please resolve the dependency and ...
4 years, 9 months ago (2016-03-17 20:47:11 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807733002/20001
4 years, 9 months ago (2016-03-17 20:59:09 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-17 22:21:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807733002/20001
4 years, 9 months ago (2016-03-17 22:33:44 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-17 22:41:32 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 22:43:51 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6a113ae1eed99940208bef750221d2f9ff058c9b
Cr-Commit-Position: refs/heads/master@{#381814}

Powered by Google App Engine
This is Rietveld 408576698