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

Issue 10446106: Preliminary metro snap plumbing. (Closed)

Created:
8 years, 6 months ago by robertshield
Modified:
8 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, chrome-win8-eng_google.com
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

First pass at making Chrome support metro snap mode. It creates a fullscreen-alike mode that Chrome may enter when in metro snap mode. This mode removes the chrome parts of Chrome as well as disabling the F11 key, while clamping Chrome to the size of the snap view portion of the screen. BUG=130623 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141723

Patch Set 1 #

Patch Set 2 : Moar plumbing #

Patch Set 3 : Exploratory hacking. Never commit this patch. Much debris. #

Patch Set 4 : Some cleanup, still a ways to go. #

Patch Set 5 : Further cleanup, now working. #

Patch Set 6 : Cleanup #

Total comments: 2

Patch Set 7 : Fix test errors, unify fullscreen code in browser view. #

Total comments: 10

Patch Set 8 : Scott's feedback, wire up the disabling of F11 in metro mode. #

Patch Set 9 : Address missed comment. #

Patch Set 10 : Merge conflicts. #

Patch Set 11 : Fix non-Windows compilation proble,. #

Patch Set 12 : Aura compile fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -31 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 8 9 3 chunks +19 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +32 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser_win.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/fullscreen_controller.h View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/fullscreen_controller.cc View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +35 lines, -9 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_win.h View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_win.cc View 1 2 3 4 5 6 7 5 chunks +60 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sky
https://chromiumcodereview.appspot.com/10446106/diff/11001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://chromiumcodereview.appspot.com/10446106/diff/11001/chrome/browser/ui/browser.cc#newcode1520 chrome/browser/ui/browser.cc:1520: void Browser::ToggleMetroSnapMode(bool enable) { This needs to feed into ...
8 years, 6 months ago (2012-06-08 16:50:51 UTC) #1
robertshield
Thanks, PTAL http://codereview.chromium.org/10446106/diff/11001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/10446106/diff/11001/chrome/browser/ui/browser.cc#newcode1520 chrome/browser/ui/browser.cc:1520: void Browser::ToggleMetroSnapMode(bool enable) { On 2012/06/08 16:50:51, ...
8 years, 6 months ago (2012-06-08 19:12:18 UTC) #2
sky
What does f11 do when in this mode? http://codereview.chromium.org/10446106/diff/7002/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/10446106/diff/7002/chrome/browser/ui/browser.cc#newcode1520 chrome/browser/ui/browser.cc:1520: void ...
8 years, 6 months ago (2012-06-11 17:04:31 UTC) #3
robertshield
Thanks, PTAL! Re. the F11 key, it resulted in complete borkage in metro snap mode, ...
8 years, 6 months ago (2012-06-11 21:06:57 UTC) #4
sky
LGTM
8 years, 6 months ago (2012-06-11 21:44:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/10446106/12014
8 years, 6 months ago (2012-06-12 00:42:22 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/browser_win.cc: While running patch -p1 --forward --force; patching file chrome/browser/ui/browser_win.cc ...
8 years, 6 months ago (2012-06-12 00:42:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/10446106/18001
8 years, 6 months ago (2012-06-12 15:04:25 UTC) #8
commit-bot: I haz the power
Try job failure for 10446106-18001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-12 15:28:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/10446106/11006
8 years, 6 months ago (2012-06-12 19:01:31 UTC) #10
commit-bot: I haz the power
8 years, 6 months ago (2012-06-12 20:16:21 UTC) #11
Change committed as 141723

Powered by Google App Engine
This is Rietveld 408576698