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

Issue 197883011: Enable maximize mode when keyboard is open past 180 degrees. (Closed)

Created:
6 years, 9 months ago by flackr
Modified:
6 years, 8 months ago
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org
Visibility:
Public.

Description

Enable maximize mode when keyboard is open past 180 degrees. BUG=342911 TEST=MaximizeModeControllerTest.* TEST=Open keyboard past 180 degrees, device should auto-enter maximize mode. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261645

Patch Set 1 #

Patch Set 2 : Auto enter maximize mode when keyboard is open past 180 degrees. #

Patch Set 3 : Add tests, constants, and stickiness to entering / exiting. #

Total comments: 12

Patch Set 4 : Make angle helper functions, statically instantiate vector in update, and remove internal namespace. #

Patch Set 5 : Merge with master. #

Patch Set 6 : Merge with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -0 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
A ash/wm/maximize_mode/maximize_mode_controller.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A ash/wm/maximize_mode/maximize_mode_controller.cc View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download
A ash/wm/maximize_mode/maximize_mode_controller_unittest.cc View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
flackr
I will refactor this later to own the maximize mode controller, however, I'd like to ...
6 years, 8 months ago (2014-04-01 20:54:00 UTC) #1
Mr4D (OOO till 08-26)
lgtm. Please have a look at my comments though. https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc File ash/wm/maximize_mode/maximize_mode_controller.cc (right): https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc#newcode43 ash/wm/maximize_mode/maximize_mode_controller.cc:43: ...
6 years, 8 months ago (2014-04-01 22:05:49 UTC) #2
oshima
https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc File ash/wm/maximize_mode/maximize_mode_controller.cc (right): https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc#newcode37 ash/wm/maximize_mode/maximize_mode_controller.cc:37: const gfx::Vector3dF kHingeVector(0.0f, 1.0f, 0.0f); won't this create static ...
6 years, 8 months ago (2014-04-01 22:29:08 UTC) #3
flackr
https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc File ash/wm/maximize_mode/maximize_mode_controller.cc (right): https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc#newcode43 ash/wm/maximize_mode/maximize_mode_controller.cc:43: Shell::GetInstance()->accelerometer_controller()->AddObserver(this); On 2014/04/01 22:05:50, Mr4D wrote: > This was ...
6 years, 8 months ago (2014-04-02 21:24:30 UTC) #4
oshima
lgtm https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc File ash/wm/maximize_mode/maximize_mode_controller.cc (right): https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc#newcode57 ash/wm/maximize_mode/maximize_mode_controller.cc:57: gfx::DotProduct(base, kHingeVector) / base.Length()) * kRadiansToDegrees; On 2014/04/02 ...
6 years, 8 months ago (2014-04-02 22:11:29 UTC) #5
flackr
https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc File ash/wm/maximize_mode/maximize_mode_controller.cc (right): https://codereview.chromium.org/197883011/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.cc#newcode57 ash/wm/maximize_mode/maximize_mode_controller.cc:57: gfx::DotProduct(base, kHingeVector) / base.Length()) * kRadiansToDegrees; On 2014/04/02 22:11:30, ...
6 years, 8 months ago (2014-04-03 02:52:14 UTC) #6
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 8 months ago (2014-04-03 15:01:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/197883011/120001
6 years, 8 months ago (2014-04-03 15:03:59 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 15:40:18 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-03 15:40:18 UTC) #10
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 8 months ago (2014-04-03 17:48:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/197883011/120001
6 years, 8 months ago (2014-04-03 17:49:43 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 20:23:40 UTC) #13
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 20:23:40 UTC) #14
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 8 months ago (2014-04-03 21:01:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/197883011/120001
6 years, 8 months ago (2014-04-03 21:03:09 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 21:03:19 UTC) #17
commit-bot: I haz the power
Failed to apply patch for ash/shell.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-03 21:03:20 UTC) #18
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 8 months ago (2014-04-03 21:54:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/197883011/140001
6 years, 8 months ago (2014-04-03 21:55:35 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 03:28:07 UTC) #21
Message was sent while issue was closed.
Change committed as 261645

Powered by Google App Engine
This is Rietveld 408576698