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

Issue 10871086: First part 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, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

First part of remembering platform app window geometry. This adds the infastructure necesary to remember and restore window sizes and positions, but doesn't include the platform-specific bits to actually remember window geometry yet. BUG=140658 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154451

Patch Set 1 #

Total comments: 20

Patch Set 2 : Incorporate comments, and rebase on a newer trunk #

Patch Set 3 : actually make it compile #

Total comments: 1

Patch Set 4 : return error instead of truncating id #

Total comments: 10

Patch Set 5 : fix mihai's comments #

Total comments: 12

Patch Set 6 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+715 lines, -9 lines) Patch
M chrome/browser/extensions/api/app_window/app_window_api.cc View 1 2 3 4 2 chunks +38 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_system.h View 1 5 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_system.cc View 1 4 chunks +14 lines, -0 lines 0 comments Download
A chrome/browser/extensions/shell_window_geometry_cache.h View 1 1 chunk +78 lines, -0 lines 0 comments Download
A chrome/browser/extensions/shell_window_geometry_cache.cc View 1 2 1 chunk +175 lines, -0 lines 0 comments Download
A chrome/browser/extensions/shell_window_geometry_cache_unittest.cc View 1 2 1 chunk +170 lines, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.cc View 1 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.h View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.cc View 1 2 3 4 5 4 chunks +44 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/app_window.idl View 1 2 3 4 5 2 chunks +42 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/apps/app.window.html View 1 2 3 4 5 3 chunks +121 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Marijn Kruisselbrink
The platform neutral parts of restoring window geometry, I'll upload separate CL's for the GTK ...
8 years, 3 months ago (2012-08-27 18:11:22 UTC) #1
asargent_no_longer_on_chrome
+cc jeremya since he's probably interested to see these changes Looks great overall, just a ...
8 years, 3 months ago (2012-08-28 18:49:41 UTC) #2
Marijn Kruisselbrink
Hopefully fixed all your comments. Also I seem to need an OWNER for chrome/ because ...
8 years, 3 months ago (2012-08-28 22:14:57 UTC) #3
asargent_no_longer_on_chrome
LGTM w/ one more nit. For the chrome/ OWNERS reviewer, yeah, it's the change to ...
8 years, 3 months ago (2012-08-29 19:54:18 UTC) #4
Marijn Kruisselbrink
mihai: can you review the chrome/browser/ui/extensions changes? sky: can you review the chrome/chrome_tests.gypi changes?
8 years, 3 months ago (2012-08-29 21:31:49 UTC) #5
Mihai Parparita -not on Chrome
LGTM https://chromiumcodereview.appspot.com/10871086/diff/10007/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10871086/diff/10007/chrome/browser/ui/extensions/shell_window.cc#newcode114 chrome/browser/ui/extensions/shell_window.cc:114: // restore geometry Extraneous comment. https://chromiumcodereview.appspot.com/10871086/diff/10007/chrome/browser/ui/extensions/shell_window.cc#newcode412 chrome/browser/ui/extensions/shell_window.cc:412: if ...
8 years, 3 months ago (2012-08-29 21:39:14 UTC) #6
Marijn Kruisselbrink
https://chromiumcodereview.appspot.com/10871086/diff/10007/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10871086/diff/10007/chrome/browser/ui/extensions/shell_window.cc#newcode114 chrome/browser/ui/extensions/shell_window.cc:114: // restore geometry On 2012/08/29 21:39:14, Mihai Parparita wrote: ...
8 years, 3 months ago (2012-08-29 22:31:33 UTC) #7
sky
LGTM https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/chrome_browser_extensions.gypi File chrome/chrome_browser_extensions.gypi (right): https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/chrome_browser_extensions.gypi#newcode548 chrome/chrome_browser_extensions.gypi:548: 'browser/extensions/shell_window_geometry_cache.cc', sort.
8 years, 3 months ago (2012-08-30 00:03:18 UTC) #8
jeremya
lgtm https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc#newcode119 chrome/browser/ui/extensions/shell_window.cc:119: &cached_bounds)) { nit: indentation https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc#newcode127 chrome/browser/ui/extensions/shell_window.cc:127: native_window_->SetBounds(bounds); Will ...
8 years, 3 months ago (2012-08-30 04:49:33 UTC) #9
Marijn Kruisselbrink
https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc#newcode119 chrome/browser/ui/extensions/shell_window.cc:119: &cached_bounds)) { On 2012/08/30 04:49:33, jeremya wrote: > nit: ...
8 years, 3 months ago (2012-08-30 17:15:05 UTC) #10
jeremya
https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): https://chromiumcodereview.appspot.com/10871086/diff/18001/chrome/browser/ui/extensions/shell_window.cc#newcode127 chrome/browser/ui/extensions/shell_window.cc:127: native_window_->SetBounds(bounds); On 2012/08/30 17:15:05, Marijn Kruisselbrink wrote: > On ...
8 years, 3 months ago (2012-08-31 04:36:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mek@chromium.org/10871086/22001
8 years, 3 months ago (2012-08-31 15:08:21 UTC) #12
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 17:16:58 UTC) #13
Change committed as 154451

Powered by Google App Engine
This is Rietveld 408576698