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

Issue 2690563005: cros: Disable the auto management logic for v1app browser window (Closed)

Created:
3 years, 10 months ago by Qiang(Joe) Xu
Modified:
3 years, 10 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Disable the auto management logic for v1app browser window Changes: (1) For "open as window" browser window (v1app window), we disable auto management logic. So that they can restore the saved window bounds, not interrupted by auto placement such as centering window in work area. (2) Simplify BrowserRemembersDockedState to test only state not bounds for reasons (a) bounds logic for app or tabbed browser window is tested in added test coverage, (b) this test will soon be removed in M-58 because of deprecation of docked window on Chrome OS. BUG=687385 TEST=emulator tests show that v1app bounds restoring works just like v2 apps; also test coverage is added. Review-Url: https://codereview.chromium.org/2690563005 Cr-Commit-Position: refs/heads/master@{#450216} Committed: https://chromium.googlesource.com/chromium/src/+/2fc42ea7b1264dc128a1e454d92eebc25e1076c5

Patch Set 1 #

Patch Set 2 : fix test failure and add test coverage #

Patch Set 3 : scope tests to OS_CHROMEOS #

Total comments: 6

Patch Set 4 : based on ps3's comments #

Total comments: 2

Patch Set 5 : browser_frame_ash_browsertest #

Total comments: 6

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -46 lines) Patch
M chrome/browser/ui/views/frame/browser_frame_ash.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc View 1 2 3 3 chunks +2 lines, -41 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
Qiang(Joe) Xu
Hi all, ptal, thanks!
3 years, 10 months ago (2017-02-11 06:48:03 UTC) #10
sky
https://codereview.chromium.org/2690563005/diff/40001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc File chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc (right): https://codereview.chromium.org/2690563005/diff/40001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc#newcode66 chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc:66: IN_PROC_BROWSER_TEST_P(BrowserViewTestParam, Why does this need to be in interactive ...
3 years, 10 months ago (2017-02-13 17:43:03 UTC) #17
Qiang(Joe) Xu
Hi all, ptal, thanks! https://codereview.chromium.org/2690563005/diff/40001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc File chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc (right): https://codereview.chromium.org/2690563005/diff/40001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc#newcode66 chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc:66: IN_PROC_BROWSER_TEST_P(BrowserViewTestParam, On 2017/02/13 17:43:03, sky ...
3 years, 10 months ago (2017-02-13 22:39:35 UTC) #18
sky
https://codereview.chromium.org/2690563005/diff/60001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/2690563005/diff/60001/chrome/browser/ui/browser_browsertest.cc#newcode2963 chrome/browser/ui/browser_browsertest.cc:2963: // Test that in Chrome OS, for app browser ...
3 years, 10 months ago (2017-02-13 23:35:52 UTC) #21
Qiang(Joe) Xu
Hi all, ptal, thanks! https://codereview.chromium.org/2690563005/diff/60001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/2690563005/diff/60001/chrome/browser/ui/browser_browsertest.cc#newcode2963 chrome/browser/ui/browser_browsertest.cc:2963: // Test that in Chrome ...
3 years, 10 months ago (2017-02-14 00:00:21 UTC) #23
sky
LGTM - but wait for Oshima. https://codereview.chromium.org/2690563005/diff/80001/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc File chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc (right): https://codereview.chromium.org/2690563005/diff/80001/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc#newcode20 chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc:20: }; private: DISALLOW...
3 years, 10 months ago (2017-02-14 00:38:27 UTC) #25
oshima
lgtm with nits https://codereview.chromium.org/2690563005/diff/80001/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc File chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc (right): https://codereview.chromium.org/2690563005/diff/80001/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc#newcode19 chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc:19: bool TestApp() { return GetParam(); } ...
3 years, 10 months ago (2017-02-14 01:09:51 UTC) #26
Qiang(Joe) Xu
done, thanks for review https://codereview.chromium.org/2690563005/diff/80001/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc File chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc (right): https://codereview.chromium.org/2690563005/diff/80001/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc#newcode19 chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc:19: bool TestApp() { return GetParam(); ...
3 years, 10 months ago (2017-02-14 01:19:52 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690563005/100001
3 years, 10 months ago (2017-02-14 01:21:05 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 03:10:06 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/2fc42ea7b1264dc128a1e454d92e...

Powered by Google App Engine
This is Rietveld 408576698