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

Issue 23534049: RootWindowController::GetFullscreenWindow() should return the active one. (Closed)

Created:
7 years, 3 months ago by Jun Mukai
Modified:
7 years, 3 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

RootWindowController::GetFullscreenWindow() should return the active one. It returned the fullscreen window (if any) in the active workspace, and a workspace could contain only one fullscreen window at most. However, now there's only one desktop workspace which can contain multiple fullscreen windows. To follow the past state, it would be better to return the active fullscreen window first. TEST=covered by ash_unittests R=oshima@chromium.org, sky@chromium.org BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221602

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : fix #

Patch Set 4 : fullscreen_win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -21 lines) Patch
M ash/root_window_controller.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 1 2 2 chunks +29 lines, -7 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/gestures/shelf_gesture_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/fullscreen_chromeos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/fullscreen_win.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Jun Mukai
7 years, 3 months ago (2013-09-04 22:18:45 UTC) #1
oshima
https://chromiumcodereview.appspot.com/23534049/diff/1/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://chromiumcodereview.appspot.com/23534049/diff/1/ash/root_window_controller.cc#newcode515 ash/root_window_controller.cc:515: return child; Given that multiple fullscreen / immersive windows ...
7 years, 3 months ago (2013-09-04 23:45:55 UTC) #2
Jun Mukai
https://chromiumcodereview.appspot.com/23534049/diff/1/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://chromiumcodereview.appspot.com/23534049/diff/1/ash/root_window_controller.cc#newcode515 ash/root_window_controller.cc:515: return child; On 2013/09/04 23:45:55, oshima wrote: > Given ...
7 years, 3 months ago (2013-09-05 00:04:09 UTC) #3
oshima
lgtm
7 years, 3 months ago (2013-09-05 00:09:18 UTC) #4
Jun Mukai
+sky for the change of chrome/browser/fullscreen_chromeos.cc
7 years, 3 months ago (2013-09-05 04:21:03 UTC) #5
sky
LGTM with the following change https://codereview.chromium.org/23534049/diff/6001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/23534049/diff/6001/ash/root_window_controller.cc#newcode506 ash/root_window_controller.cc:506: for (int i = ...
7 years, 3 months ago (2013-09-05 16:21:59 UTC) #6
Jun Mukai
https://codereview.chromium.org/23534049/diff/6001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/23534049/diff/6001/ash/root_window_controller.cc#newcode506 ash/root_window_controller.cc:506: for (int i = container->children().size() - 1; i >= ...
7 years, 3 months ago (2013-09-05 18:30:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/23534049/14001
7 years, 3 months ago (2013-09-05 18:32:15 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-05 20:36:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/23534049/16001
7 years, 3 months ago (2013-09-05 20:40:59 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 06:22:09 UTC) #11
Message was sent while issue was closed.
Change committed as 221602

Powered by Google App Engine
This is Rietveld 408576698