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

Issue 10871087: GTK implementation of remembering platform app window geometry. (Closed)

Created:
8 years, 3 months ago by Marijn Kruisselbrink
Modified:
8 years, 3 months ago
CC:
chromium-reviews, jeremya+watch_chromium.org, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

GTK implementation of remembering platform app window geometry. This adds the necesary code to shell_window_gtk to remember window geometry, and a browser test to test the behavior. BUG=140658 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154537

Patch Set 1 #

Total comments: 1

Patch Set 2 : properly limit the test to just gtk, not all linux #

Total comments: 15

Patch Set 3 : only wait until bounds are properly propagated #

Patch Set 4 : incorporate some of evans comments #

Patch Set 5 : use frameless windows #

Patch Set 6 : change the polling loop and its comment a bit #

Total comments: 4

Patch Set 7 : fix last few comments #

Total comments: 1

Patch Set 8 : use TestTimeouts #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -9 lines) Patch
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +73 lines, -0 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest_util.cc View 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/shell_window_gtk.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/shell_window_gtk.cc View 1 2 3 4 5 6 7 8 5 chunks +48 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_window_util.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_window_util.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/geometry/manifest.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/page1.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/page1.js View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/page2.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/page2.js View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/page3.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/page3.js View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/geometry/test.js View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Marijn Kruisselbrink
Here are the gtk specific bits, as well as a browser test to test it; ...
8 years, 3 months ago (2012-08-27 18:15:16 UTC) #1
asargent_no_longer_on_chrome
+estade tp look at gtk-specific parts https://chromiumcodereview.appspot.com/10871087/diff/1/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/1/chrome/browser/extensions/platform_app_browsertest.cc#newcode382 chrome/browser/extensions/platform_app_browsertest.cc:382: } Instead of ...
8 years, 3 months ago (2012-08-29 00:01:56 UTC) #2
Marijn Kruisselbrink
On 2012/08/29 00:01:56, Antony Sargent wrote: > +estade tp look at gtk-specific parts > > ...
8 years, 3 months ago (2012-08-29 00:08:10 UTC) #3
asargent_no_longer_on_chrome
That sounds reasonable. On Tue, Aug 28, 2012 at 5:08 PM, <mek@chromium.org> wrote: > On ...
8 years, 3 months ago (2012-08-29 18:19:34 UTC) #4
Marijn Kruisselbrink
Okay, implemented that. On 2012/08/29 18:19:34, Antony Sargent wrote: > That sounds reasonable. > > ...
8 years, 3 months ago (2012-08-29 21:43:11 UTC) #5
Evan Stade
https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc#newcode445 chrome/browser/extensions/platform_app_browsertest.cc:445: // where timing still works out badly. polling is ...
8 years, 3 months ago (2012-08-29 21:51:11 UTC) #6
Marijn Kruisselbrink
https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc#newcode445 chrome/browser/extensions/platform_app_browsertest.cc:445: // where timing still works out badly. On 2012/08/29 ...
8 years, 3 months ago (2012-08-30 16:46:12 UTC) #7
Evan Stade
https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc#newcode445 chrome/browser/extensions/platform_app_browsertest.cc:445: // where timing still works out badly. On 2012/08/30 ...
8 years, 3 months ago (2012-08-30 21:59:21 UTC) #8
Marijn Kruisselbrink
https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc#newcode445 chrome/browser/extensions/platform_app_browsertest.cc:445: // where timing still works out badly. On 2012/08/30 ...
8 years, 3 months ago (2012-08-30 23:26:35 UTC) #9
Evan Stade
lgtm https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/11001/chrome/browser/extensions/platform_app_browsertest.cc#newcode445 chrome/browser/extensions/platform_app_browsertest.cc:445: // where timing still works out badly. On ...
8 years, 3 months ago (2012-08-30 23:55:38 UTC) #10
Marijn Kruisselbrink
Antony: any more comments for the chrome/browser/extensions part?
8 years, 3 months ago (2012-08-31 17:20:42 UTC) #11
asargent_no_longer_on_chrome
LGTM https://chromiumcodereview.appspot.com/10871087/diff/19004/chrome/browser/extensions/platform_app_browsertest.cc File chrome/browser/extensions/platform_app_browsertest.cc (right): https://chromiumcodereview.appspot.com/10871087/diff/19004/chrome/browser/extensions/platform_app_browsertest.cc#newcode453 chrome/browser/extensions/platform_app_browsertest.cc:453: const base::TimeDelta kWaitTime = base::TimeDelta::FromSeconds(10); nit: instead of ...
8 years, 3 months ago (2012-08-31 18:14:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mek@chromium.org/10871087/17003
8 years, 3 months ago (2012-08-31 18:31:44 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/gtk/extensions/shell_window_gtk.cc: While running patch -p1 --forward --force; patching file chrome/browser/ui/gtk/extensions/shell_window_gtk.cc ...
8 years, 3 months ago (2012-08-31 18:31:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mek@chromium.org/10871087/21002
8 years, 3 months ago (2012-08-31 18:59:02 UTC) #15
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 23:37:38 UTC) #16
Change committed as 154537

Powered by Google App Engine
This is Rietveld 408576698