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

Issue 186343002: Create windows for new app window bounds API (Closed)

Created:
6 years, 9 months ago by tmdiep
Modified:
6 years, 9 months ago
Reviewers:
tapted, benwells
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

Create windows for new app window bounds API Added create options "innerBounds" and "outerBounds" for the new app window bounds API. BUG=315471, 349397 TEST=browser_tests (AppWindowAPITest.*) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256125

Patch Set 1 #

Patch Set 2 : Self nit: comment #

Total comments: 43

Patch Set 3 : Rebase and address review comments #

Patch Set 4 : Preserve bounds behavior on Win and ChromeOS. Test deprecated bounds #

Patch Set 5 : Addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1168 lines, -303 lines) Patch
M apps/app_window.h View 1 2 5 chunks +45 lines, -15 lines 0 comments Download
M apps/app_window.cc View 1 2 11 chunks +153 lines, -27 lines 0 comments Download
M apps/size_constraints.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M apps/size_constraints.cc View 1 2 2 chunks +20 lines, -4 lines 0 comments Download
M apps/ui/native_app_window.h View 1 chunk +4 lines, -4 lines 0 comments Download
M apps/ui/views/native_app_window_views.h View 1 chunk +4 lines, -4 lines 0 comments Download
M apps/ui/views/native_app_window_views.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/apps/app_window_browsertest.cc View 1 2 3 1 chunk +42 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc View 1 2 3 5 chunks +20 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/app_window/app_window_api.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/app_window/app_window_api.cc View 1 2 3 4 6 chunks +167 lines, -42 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h View 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm View 1 2 7 chunks +72 lines, -58 lines 0 comments Download
M chrome/browser/ui/gtk/apps/native_app_window_gtk.h View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/apps/native_app_window_gtk.cc View 1 2 4 chunks +25 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views.cc View 1 2 4 chunks +22 lines, -16 lines 0 comments Download
M chrome/common/extensions/api/app_window.idl View 4 chunks +50 lines, -22 lines 0 comments Download
M chrome/renderer/resources/extensions/app_window_custom_bindings.js View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/window_api/test.js View 1 2 3 3 chunks +501 lines, -53 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tmdiep
This patch handles window creation for the new bounds API. It turned out to be ...
6 years, 9 months ago (2014-03-04 03:13:13 UTC) #1
benwells
Looking real nice ... https://codereview.chromium.org/186343002/diff/20001/apps/app_window.cc File apps/app_window.cc (right): https://codereview.chromium.org/186343002/diff/20001/apps/app_window.cc#newcode7 apps/app_window.cc:7: #include <algorithm> Is this needed? ...
6 years, 9 months ago (2014-03-05 02:33:29 UTC) #2
tmdiep
Just answering the questions. Will address the review comments soon. https://codereview.chromium.org/186343002/diff/20001/apps/app_window.cc File apps/app_window.cc (right): https://codereview.chromium.org/186343002/diff/20001/apps/app_window.cc#newcode7 ...
6 years, 9 months ago (2014-03-05 03:06:46 UTC) #3
tapted
oh! ben beat me :p I had a few questions too, but wasn't super thorough ...
6 years, 9 months ago (2014-03-05 03:14:03 UTC) #4
tmdiep
Just responses to tapted's questions. Will address all the review comments now. https://codereview.chromium.org/186343002/diff/20001/apps/app_window.cc File apps/app_window.cc ...
6 years, 9 months ago (2014-03-05 04:29:05 UTC) #5
tmdiep
I've addressed all review comments in patch set 3. I have only replied to the ...
6 years, 9 months ago (2014-03-06 01:06:49 UTC) #6
tapted
nice! lgtm
6 years, 9 months ago (2014-03-06 03:31:53 UTC) #7
benwells
lgtm with a baby nit. https://codereview.chromium.org/186343002/diff/20001/chrome/browser/extensions/api/app_window/app_window_api.cc File chrome/browser/extensions/api/app_window/app_window_api.cc (right): https://codereview.chromium.org/186343002/diff/20001/chrome/browser/extensions/api/app_window/app_window_api.cc#newcode391 chrome/browser/extensions/api/app_window/app_window_api.cc:391: params->content_spec.bounds.set_x(*options.default_left.get()); On 2014/03/06 01:06:49, ...
6 years, 9 months ago (2014-03-06 22:40:16 UTC) #8
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 9 months ago (2014-03-10 22:40:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/186343002/100001
6 years, 9 months ago (2014-03-10 23:05:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/186343002/100001
6 years, 9 months ago (2014-03-10 23:58:24 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 04:12:49 UTC) #12
Message was sent while issue was closed.
Change committed as 256125

Powered by Google App Engine
This is Rietveld 408576698