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

Issue 8686012: Make panels not show on top when there is an app running in full screen mode. (Closed)

Created:
9 years ago by prasadt
Modified:
9 years ago
Reviewers:
Dmitry Titov, jianli
CC:
chromium-reviews, jennb, jianli, dcheng
Visibility:
Public.

Description

Make panels not show on top when there is an app running in full screen mode. BUG=102731 TEST=Manual steps in the bug report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112755

Patch Set 1 #

Total comments: 32

Patch Set 2 : Code review feedback. #

Patch Set 3 : Sync/Merge with tree. #

Patch Set 4 : Sync, merge and resolve conflicts #

Patch Set 5 : Code review feedback. #

Total comments: 3

Patch Set 6 : Reverted last upload. #

Patch Set 7 : Bug fix to switch normal vs status levels. #

Total comments: 10

Patch Set 8 : Code review feedback. #

Patch Set 9 : Merge #

Patch Set 10 : Fix ExtensionManagementApiTest.LaunchPanelApp test failure. #

Patch Set 11 : Merge/Resolve. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -2 lines) Patch
M chrome/browser/ui/panels/native_panel.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.h View 1 2 3 4 5 6 7 4 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 4 5 6 7 8 9 5 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_strip.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_strip.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
prasadt
This is not fully implemented/tested yet but wanted to get feedback on shape of the ...
9 years ago (2011-11-30 00:47:16 UTC) #1
jennb
Is there no other way besides polling to tell if fullscreen mode has changed?
9 years ago (2011-11-30 01:03:30 UTC) #2
dcheng
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/native_panel.h#newcode61 chrome/browser/ui/panels/native_panel.h:61: virtual void FullScreenModeChanged(bool is_full_screen_mode_on) = 0; Can we use ...
9 years ago (2011-11-30 01:07:27 UTC) #3
Dmitry Titov
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/native_panel.h#newcode61 chrome/browser/ui/panels/native_panel.h:61: virtual void FullScreenModeChanged(bool is_full_screen_mode_on) = 0; Naming: It is ...
9 years ago (2011-11-30 01:35:52 UTC) #4
prasadt
On 2011/11/30 01:03:30, jennb wrote: > Is there no other way besides polling to tell ...
9 years ago (2011-11-30 01:44:44 UTC) #5
jianli
I think we can at least try to avoid using the timer to know when ...
9 years ago (2011-11-30 01:53:15 UTC) #6
jennb
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc File chrome/browser/ui/panels/panel_manager.cc (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc#newcode157 chrome/browser/ui/panels/panel_manager.cc:157: if (num_panels() == 1) { On 2011/11/30 01:07:28, dcheng ...
9 years ago (2011-11-30 02:06:27 UTC) #7
prasadt
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/native_panel.h#newcode61 chrome/browser/ui/panels/native_panel.h:61: virtual void FullScreenModeChanged(bool is_full_screen_mode_on) = 0; On 2011/11/30 01:07:28, ...
9 years ago (2011-11-30 02:38:47 UTC) #8
Dmitry Titov
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc File chrome/browser/ui/panels/panel_manager.cc (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc#newcode190 chrome/browser/ui/panels/panel_manager.cc:190: panels_[i]->FullScreenModeChanged(is_full_screen_mode_on_); On 2011/11/30 02:38:47, prasadt wrote: > On 2011/11/30 ...
9 years ago (2011-12-01 04:04:26 UTC) #9
prasadt
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc File chrome/browser/ui/panels/panel_manager.cc (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc#newcode190 chrome/browser/ui/panels/panel_manager.cc:190: panels_[i]->FullScreenModeChanged(is_full_screen_mode_on_); On 2011/12/01 04:04:26, Dmitry Titov wrote: > On ...
9 years ago (2011-12-01 04:20:47 UTC) #10
jennb
Drive by http://codereview.chromium.org/8686012/diff/15001/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/15001/chrome/browser/ui/panels/native_panel.h#newcode31 chrome/browser/ui/panels/native_panel.h:31: public: Why not keep protected and have ...
9 years ago (2011-12-01 20:10:33 UTC) #11
Dmitry Titov
http://codereview.chromium.org/8686012/diff/15001/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/15001/chrome/browser/ui/panels/native_panel.h#newcode31 chrome/browser/ui/panels/native_panel.h:31: public: On 2011/12/01 20:10:33, jennb wrote: > Why not ...
9 years ago (2011-12-01 20:14:45 UTC) #12
jennb
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc File chrome/browser/ui/panels/panel_manager.cc (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc#newcode190 chrome/browser/ui/panels/panel_manager.cc:190: panels_[i]->FullScreenModeChanged(is_full_screen_mode_on_); On 2011/12/01 04:04:26, Dmitry Titov wrote: > On ...
9 years ago (2011-12-01 21:22:09 UTC) #13
prasadt
http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc File chrome/browser/ui/panels/panel_manager.cc (right): http://codereview.chromium.org/8686012/diff/1/chrome/browser/ui/panels/panel_manager.cc#newcode190 chrome/browser/ui/panels/panel_manager.cc:190: panels_[i]->FullScreenModeChanged(is_full_screen_mode_on_); On 2011/12/01 21:22:09, jennb wrote: > On 2011/12/01 ...
9 years ago (2011-12-01 21:35:16 UTC) #14
Dmitry Titov
I agree the case when Panel does something platform-independent and then calls NativePanel is a ...
9 years ago (2011-12-01 21:47:06 UTC) #15
prasadt
On 2011/12/01 21:47:06, Dmitry Titov wrote: > I agree the case when Panel does something ...
9 years ago (2011-12-01 22:49:29 UTC) #16
prasadt
On 2011/11/30 01:53:15, jianli wrote: > I think we can at least try to avoid ...
9 years ago (2011-12-01 23:39:20 UTC) #17
prasadt
Uploaded bug fix for where setting panel window to NSNormalWindowLevel vs NSStatusWindowLevel was inverted.
9 years ago (2011-12-01 23:40:39 UTC) #18
Dmitry Titov
lgtm BTW, there is an event for Mac as well. See implementation in fullscreen_mac.mm. It ...
9 years ago (2011-12-01 23:53:08 UTC) #19
prasadt
On 2011/12/01 23:53:08, Dmitry Titov wrote: > lgtm > > BTW, there is an event ...
9 years ago (2011-12-02 00:00:36 UTC) #20
jianli
LGTM w/ several nits. http://codereview.chromium.org/8686012/diff/24001/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/24001/chrome/browser/ui/panels/native_panel.h#newcode61 chrome/browser/ui/panels/native_panel.h:61: virtual void FullScreenModeChanged(bool is_full_screen_mode_on) = ...
9 years ago (2011-12-02 00:04:45 UTC) #21
prasadt
http://codereview.chromium.org/8686012/diff/24001/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8686012/diff/24001/chrome/browser/ui/panels/native_panel.h#newcode61 chrome/browser/ui/panels/native_panel.h:61: virtual void FullScreenModeChanged(bool is_full_screen_mode_on) = 0; On 2011/12/02 00:04:45, ...
9 years ago (2011-12-02 00:29:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/prasadt@chromium.org/8686012/12005
9 years ago (2011-12-02 03:51:45 UTC) #23
commit-bot: I haz the power
9 years ago (2011-12-02 05:36:43 UTC) #24
Try job failure for 8686012-12005 (retry) on mac_rel for step "browser_tests".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698