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

Issue 10051020: Move full-screen detection logic from PanelManager to DisplaySettingsProvider. (Closed)

Created:
8 years, 8 months ago by jianli
Modified:
8 years, 8 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, Dmitry Lomov (no reviews), jennb, Dmitry Titov, jianli, dcheng, Andrei, oshima
Visibility:
Public.

Description

Move full-screen detection logic from PanelManager to DisplaySettingsProvider. Also fixed a bug that pnels remain visible with full screen apps on Snow Leopard. The fix is to also call orderBack/orderFront when full-screen is detected. This is because the full-sreen window is still in normal level and our panel windows stay in the top of z-order when its level is changed to normal. BUG=123058 TEST=Manual test by launching panels and make an app full-screen Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132144 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132487

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix per feedback #

Total comments: 1

Patch Set 3 : Fix mac bot #

Patch Set 4 : Patch to land #

Patch Set 5 : Sync #

Patch Set 6 : Fix linux asan #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -62 lines) Patch
M chrome/browser/ui/panels/base_panel_browser_test.cc View 1 2 3 4 1 chunk +16 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/display_settings_provider.h View 1 5 chunks +40 lines, -13 lines 0 comments Download
M chrome/browser/ui/panels/display_settings_provider.cc View 1 3 chunks +63 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/display_settings_provider_win.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/docked_panel_strip.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/overflow_panel_strip.cc View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_manager.h View 1 2 3 4 5 chunks +4 lines, -11 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 4 5 6 chunks +16 lines, -19 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 3 4 5 3 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jianli
8 years, 8 months ago (2012-04-11 22:49:30 UTC) #1
Dmitry Titov
There are relevant compile errors on bots as well... http://codereview.chromium.org/10051020/diff/1/chrome/browser/ui/panels/display_settings_provider.h File chrome/browser/ui/panels/display_settings_provider.h (right): http://codereview.chromium.org/10051020/diff/1/chrome/browser/ui/panels/display_settings_provider.h#newcode19 chrome/browser/ui/panels/display_settings_provider.h:19: ...
8 years, 8 months ago (2012-04-12 00:08:51 UTC) #2
dcheng
http://codereview.chromium.org/10051020/diff/1/chrome/browser/ui/panels/display_settings_provider.h File chrome/browser/ui/panels/display_settings_provider.h (right): http://codereview.chromium.org/10051020/diff/1/chrome/browser/ui/panels/display_settings_provider.h#newcode152 chrome/browser/ui/panels/display_settings_provider.h:152: base::RepeatingTimer<DisplaySettingsProvider> full_screen_mode_timer_; Minor nit: DISALLOW_COPY_AND_ASSIGN should be used for ...
8 years, 8 months ago (2012-04-12 00:18:28 UTC) #3
jianli
http://codereview.chromium.org/10051020/diff/1/chrome/browser/ui/panels/display_settings_provider.h File chrome/browser/ui/panels/display_settings_provider.h (right): http://codereview.chromium.org/10051020/diff/1/chrome/browser/ui/panels/display_settings_provider.h#newcode19 chrome/browser/ui/panels/display_settings_provider.h:19: enum ObserverType { On 2012/04/12 00:08:51, Dmitry Titov wrote: ...
8 years, 8 months ago (2012-04-12 00:45:17 UTC) #4
Dmitry Titov
LGTM with one comment: http://codereview.chromium.org/10051020/diff/2002/chrome/browser/ui/panels/base_panel_browser_test.cc File chrome/browser/ui/panels/base_panel_browser_test.cc (right): http://codereview.chromium.org/10051020/diff/2002/chrome/browser/ui/panels/base_panel_browser_test.cc#newcode96 chrome/browser/ui/panels/base_panel_browser_test.cc:96: Does it make sense to ...
8 years, 8 months ago (2012-04-12 01:18:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10051020/13001
8 years, 8 months ago (2012-04-12 22:49:25 UTC) #6
commit-bot: I haz the power
Can't apply patch for file chrome/browser/ui/panels/panel_manager.cc. While running patch -p1 --forward --force; patching file chrome/browser/ui/panels/panel_manager.cc ...
8 years, 8 months ago (2012-04-12 22:49:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10051020/14012
8 years, 8 months ago (2012-04-12 23:07:14 UTC) #8
commit-bot: I haz the power
Try job failure for 10051020-14012 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-13 02:14:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10051020/14012
8 years, 8 months ago (2012-04-13 03:23:40 UTC) #10
commit-bot: I haz the power
Change committed as 132144
8 years, 8 months ago (2012-04-13 04:50:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10051020/21001
8 years, 8 months ago (2012-04-16 21:50:12 UTC) #12
commit-bot: I haz the power
8 years, 8 months ago (2012-04-16 23:31:19 UTC) #13
Change committed as 132487

Powered by Google App Engine
This is Rietveld 408576698