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

Issue 2260613002: Adds ImmersiveContext and ImmersiveHandlerFactory (Closed)

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

Description

Adds ImmersiveContext and ImmersiveHandlerFactory The immersive code needs to support running in ash, mash, chrome in ash and chrome in mash, all of which have slightly different requirements. ImmersiveContext and ImmersiveHandlerFactory provide the basis for this. ImmersiveContext provides the interactions with the shell/window types and ImmersiveHandlerFactory the factory for creating the event watchers. My plan is to move ImmersiveFullscreenController into ash/shared shortly (along with a couple of other classes). BUG=627146 TEST=covered by tests R=jamescook@chromium.org Committed: https://crrev.com/b7b5409a74efc0a764a4ddd2010d0db4309713b0 Cr-Commit-Position: refs/heads/master@{#413155}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : fix compile #

Total comments: 8

Patch Set 4 : merge 2 trunk #

Patch Set 5 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -39 lines) Patch
M ash/ash.gyp View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
A ash/shared/DEPS View 1 1 chunk +9 lines, -0 lines 0 comments Download
A ash/shared/README.md View 1 1 chunk +4 lines, -0 lines 0 comments Download
A ash/shared/immersive_context.h View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
A ash/shared/immersive_context.cc View 1 chunk +24 lines, -0 lines 0 comments Download
M ash/shell.h View 3 chunks +5 lines, -1 line 0 comments Download
M ash/shell.cc View 2 chunks +5 lines, -0 lines 0 comments Download
A ash/wm/immersive_context_ash.h View 1 chunk +36 lines, -0 lines 0 comments Download
A ash/wm/immersive_context_ash.cc View 1 chunk +69 lines, -0 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller.cc View 1 2 3 15 chunks +26 lines, -38 lines 0 comments Download
A ash/wm/immersive_handler_factory.h View 1 chunk +39 lines, -0 lines 0 comments Download
A ash/wm/immersive_handler_factory.cc View 1 chunk +24 lines, -0 lines 0 comments Download
A ash/wm/immersive_handler_factory_ash.h View 1 chunk +30 lines, -0 lines 0 comments Download
A ash/wm/immersive_handler_factory_ash.cc View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
sky
4 years, 4 months ago (2016-08-18 18:20:12 UTC) #1
James Cook
https://codereview.chromium.org/2260613002/diff/40001/ash/shared/immersive_context.h File ash/shared/immersive_context.h (right): https://codereview.chromium.org/2260613002/diff/40001/ash/shared/immersive_context.h#newcode29 ash/shared/immersive_context.h:29: // ImmersiveContext is a singleton. nice docs https://codereview.chromium.org/2260613002/diff/40001/ash/shared/immersive_context.h#newcode46 ash/shared/immersive_context.h:46: ...
4 years, 4 months ago (2016-08-19 00:37:14 UTC) #10
sky
https://codereview.chromium.org/2260613002/diff/40001/ash/shared/immersive_context.h File ash/shared/immersive_context.h (right): https://codereview.chromium.org/2260613002/diff/40001/ash/shared/immersive_context.h#newcode46 ash/shared/immersive_context.h:46: // Returns the bounds of the display the widget ...
4 years, 4 months ago (2016-08-19 03:30:47 UTC) #11
James Cook
LGTM https://codereview.chromium.org/2260613002/diff/40001/ash/wm/immersive_fullscreen_controller.cc File ash/wm/immersive_fullscreen_controller.cc (right): https://codereview.chromium.org/2260613002/diff/40001/ash/wm/immersive_fullscreen_controller.cc#newcode125 ash/wm/immersive_fullscreen_controller.cc:125: if (immersive_focus_watcher_) On 2016/08/19 03:30:47, sky wrote: > ...
4 years, 4 months ago (2016-08-19 15:49:59 UTC) #16
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/2260613002/80001
4 years, 4 months ago (2016-08-19 15:56:38 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-19 16:00:33 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 16:03:38 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7b5409a74efc0a764a4ddd2010d0db4309713b0
Cr-Commit-Position: refs/heads/master@{#413155}

Powered by Google App Engine
This is Rietveld 408576698