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

Issue 2251213004: Moves ImmersiveFullscreenController::SetupForTest into test class (Closed)

Created:
4 years, 4 months ago by sky
Modified:
4 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul, dcheng, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moves ImmersiveFullscreenController::SetupForTest into test class The only trickiness here is the chrome side, which has the same function on a virtual class. For the time being I added a type to ImmersiveModeController so test code can know whether the real ImmersiveFullscreenController is created. BUG=627146 TEST=covered by tests R=msw@chromium.org Committed: https://crrev.com/aac9c759e87c57e80219e3db3ed01e5fa5a37350 Cr-Commit-Position: refs/heads/master@{#412988}

Patch Set 1 #

Patch Set 2 : explicit #

Total comments: 4

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -54 lines) Patch
M ash/ash.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A ash/test/immersive_fullscreen_controller_test_api.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A ash/test/immersive_fullscreen_controller_test_api.cc View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller.cc View 2 chunks +0 lines, -21 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller.h View 4 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_stub.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc View 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc View 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 17 (9 generated)
sky
4 years, 4 months ago (2016-08-18 22:22:22 UTC) #2
msw
What is the motivation for this change? The existing pattern seems far simpler, and I ...
4 years, 4 months ago (2016-08-18 22:59:34 UTC) #4
sky
Two motivations for this change: 1. Providing a pure virtual function just for testing is ...
4 years, 4 months ago (2016-08-18 23:24:01 UTC) #7
msw
On 2016/08/18 23:24:01, sky wrote: > Two motivations for this change: > 1. Providing a ...
4 years, 4 months ago (2016-08-18 23:40:32 UTC) #10
sky
On 2016/08/18 23:40:32, msw wrote: > On 2016/08/18 23:24:01, sky wrote: > > Two motivations ...
4 years, 4 months ago (2016-08-19 00:14:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2251213004/40001
4 years, 4 months ago (2016-08-19 00:15:11 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-19 00:27:06 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 00:36:26 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aac9c759e87c57e80219e3db3ed01e5fa5a37350
Cr-Commit-Position: refs/heads/master@{#412988}

Powered by Google App Engine
This is Rietveld 408576698