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

Issue 12430013: Fix panel showing logic when Chrome enters the fullscreen mode (Closed)

Created:
7 years, 9 months ago by jianli
Modified:
7 years, 9 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, sail+watch_chromium.org, jennb, jianli, dcheng
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

When Chrome enters the fullscreen mode: 1) If the panel is created with initial focus, as in the case that the extension icon is clicked, the panel will be shown. 2) If the panel is created without initial focus, as in the case of new incoming message, the panel will not be shown. When Chrome leaves the fullscreen mode, all panels that are delayed for showing will be shown now. This patch also fixed the initial fullscreen detection problem for OSX. If Chrome enters fullscreen mode before any panel is created, we need to find out if chrome is in fullscreen or not. BUG=180795 TEST=Manual test by creating panels when Chrome is in fullscreen mode Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188300

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix mac test #

Total comments: 6

Patch Set 3 : Fix per feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -25 lines) Patch
M chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm View 1 2 6 chunks +27 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/panels/panel_cocoa.mm View 1 2 1 chunk +16 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/display_settings_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/display_settings_provider.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/docked_panel_collection.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/docked_panel_collection.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
jianli
7 years, 9 months ago (2013-03-13 00:46:47 UTC) #1
Dmitry Titov
https://codereview.chromium.org/12430013/diff/1/chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm File chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm (right): https://codereview.chromium.org/12430013/diff/1/chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm#newcode21 chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm:21: FULLSCREEN_UNKNOWN, The naming suggestion: FULLSCREEN_ON FULLSCREEN_OFF FULLSCREEN_UNKNOWN "entered" and ...
7 years, 9 months ago (2013-03-14 01:10:25 UTC) #2
jianli
https://codereview.chromium.org/12430013/diff/1/chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm File chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm (right): https://codereview.chromium.org/12430013/diff/1/chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm#newcode21 chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm:21: FULLSCREEN_UNKNOWN, On 2013/03/14 01:10:25, Dmitry Titov wrote: > The ...
7 years, 9 months ago (2013-03-14 19:11:47 UTC) #3
Dmitry Titov
lgtm
7 years, 9 months ago (2013-03-15 02:19:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/12430013/23001
7 years, 9 months ago (2013-03-15 04:53:21 UTC) #5
commit-bot: I haz the power
7 years, 9 months ago (2013-03-15 08:28:41 UTC) #6
Message was sent while issue was closed.
Change committed as 188300

Powered by Google App Engine
This is Rietveld 408576698