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

Issue 62763003: Leave fullscreen mode in an app window when ESC key is pressed. (Closed)

Created:
7 years, 1 month ago by mlamouri (slow - plz ping)
Modified:
7 years ago
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Leave fullscreen mode in an app window when ESC key is pressed. A few things might need to be discussed like the ability for an app to prevent the default behaviour and letting the user know about the ability to leave the fullscreen mode using ESC. BUG=320487 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237393 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237666

Patch Set 1 #

Total comments: 5

Patch Set 2 : review comments applied #

Patch Set 3 : rebased #

Patch Set 4 : with esc key overriding handling #

Total comments: 6

Patch Set 5 : review comments #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : apply nits #

Patch Set 8 : disable tests on Linux Aura #

Patch Set 9 : disable 2 tests on Mac #

Patch Set 10 : disable tests on mac #

Patch Set 11 : disable tests on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -4 lines) Patch
apps/shell_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
apps/shell_window.cc View 1 2 3 4 5 6 7 8 9 1 chunk +30 lines, -0 lines 0 comments Download
chrome/browser/apps/app_interactive_uitest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +186 lines, -0 lines 0 comments Download
chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
chrome/test/data/extensions/platform_apps/leave_fullscreen/main.html View 1 chunk +2 lines, -2 lines 0 comments Download
chrome/test/data/extensions/platform_apps/leave_fullscreen/main.js View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
chrome/test/data/extensions/platform_apps/leave_fullscreen/manifest.json View 1 chunk +12 lines, -0 lines 0 comments Download
chrome/test/data/extensions/platform_apps/prevent_leave_fullscreen/main.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
chrome/test/data/extensions/platform_apps/prevent_leave_fullscreen/main.js View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
chrome/test/data/extensions/platform_apps/prevent_leave_fullscreen/manifest.json View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
extensions/common/permissions/api_permission.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
mlamouri (slow - plz ping)
7 years, 1 month ago (2013-11-19 06:35:21 UTC) #1
koz (OOO until 15th September)
https://codereview.chromium.org/62763003/diff/1/chrome/browser/apps/app_interactive_uitest.cc File chrome/browser/apps/app_interactive_uitest.cc (right): https://codereview.chromium.org/62763003/diff/1/chrome/browser/apps/app_interactive_uitest.cc#newcode18 chrome/browser/apps/app_interactive_uitest.cc:18: , initial_fullscreen_state_(window_->IsFullscreen()) nit: commas go on previous lines and ...
7 years, 1 month ago (2013-11-19 07:29:57 UTC) #2
mlamouri (slow - plz ping)
All comments applied. PTAL.
7 years, 1 month ago (2013-11-20 00:01:15 UTC) #3
koz (OOO until 15th September)
Awesome, thanks for adding the comment. lgtm
7 years, 1 month ago (2013-11-20 00:02:48 UTC) #4
benwells
On 2013/11/20 00:02:48, koz wrote: > Awesome, thanks for adding the comment. > > lgtm ...
7 years, 1 month ago (2013-11-20 04:07:55 UTC) #5
mlamouri (slow - plz ping)
I've updated this to make ESC overridable and have a permission to do that. PTAL.
7 years, 1 month ago (2013-11-21 08:04:12 UTC) #6
koz (OOO until 15th September)
https://codereview.chromium.org/62763003/diff/210001/chrome/browser/apps/app_interactive_uitest.cc File chrome/browser/apps/app_interactive_uitest.cc (right): https://codereview.chromium.org/62763003/diff/210001/chrome/browser/apps/app_interactive_uitest.cc#newcode36 chrome/browser/apps/app_interactive_uitest.cc:36: bool already_changed_; DISALLOW_COPY_AND_ASSIGN(FullscreenChangeHelper); https://codereview.chromium.org/62763003/diff/210001/chrome/browser/apps/app_interactive_uitest.cc#newcode53 chrome/browser/apps/app_interactive_uitest.cc:53: FullscreenChangeHelper fs_changed(GetFirstShellWindow()->GetBaseWindow()); I'd say ...
7 years, 1 month ago (2013-11-21 23:12:41 UTC) #7
mlamouri (slow - plz ping)
On 2013/11/21 23:12:41, koz wrote: > https://codereview.chromium.org/62763003/diff/210001/chrome/browser/apps/app_interactive_uitest.cc#newcode165 > chrome/browser/apps/app_interactive_uitest.cc:165: > EXPECT_TRUE(GetFirstShellWindow()->GetBaseWindow()->IsFullscreen()); > Seeing as we ...
7 years, 1 month ago (2013-11-22 00:27:32 UTC) #8
koz (OOO until 15th September)
lgtm https://codereview.chromium.org/62763003/diff/300001/chrome/browser/apps/app_interactive_uitest.cc File chrome/browser/apps/app_interactive_uitest.cc (right): https://codereview.chromium.org/62763003/diff/300001/chrome/browser/apps/app_interactive_uitest.cc#newcode176 chrome/browser/apps/app_interactive_uitest.cc:176: ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync( nit: consider encapsulating this as well SimulateKeyPress(ui::VKEY_A); ...
7 years, 1 month ago (2013-11-22 00:33:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/450001
7 years ago (2013-11-25 20:00:14 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=100621
7 years ago (2013-11-25 21:11:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/470001
7 years ago (2013-11-26 17:16:30 UTC) #12
commit-bot: I haz the power
Change committed as 237393
7 years ago (2013-11-26 19:49:04 UTC) #13
Roger Tawa OOO till Jul 10th
A revert of this CL has been created in https://codereview.chromium.org/89183002/ by rogerta@chromium.org. The reason for ...
7 years ago (2013-11-26 20:49:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-27 17:57:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-28 01:16:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-28 01:59:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-28 02:18:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-28 02:26:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-28 02:57:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/62763003/520001
7 years ago (2013-11-28 03:27:46 UTC) #21
commit-bot: I haz the power
7 years ago (2013-11-28 03:49:38 UTC) #22
Message was sent while issue was closed.
Change committed as 237666

Powered by Google App Engine
This is Rietveld 408576698