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

Unified Diff: chrome/browser/cocoa/about_window_controller.mm

Issue 201137: Pick up newer GTM... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/about_window_controller.mm
===================================================================
--- chrome/browser/cocoa/about_window_controller.mm (revision 26368)
+++ chrome/browser/cocoa/about_window_controller.mm (working copy)
@@ -240,12 +240,10 @@
rect.origin.y = rect.origin.y - updateShift + legalShift;
[backgroundView_ setFrame:rect];
- NSWindow* window = [self window];
- [[window contentView] setAutoresizesSubviews:NO];
- rect = [window frame];
- rect.size.height = rect.size.height - updateShift + legalShift;
- [window setFrame:rect display:NO];
- [[window contentView] setAutoresizesSubviews:YES];
+ NSSize windowDelta = NSMakeSize(0, (legalShift - updateShift));
+ [GTMUILocalizerAndLayoutTweaker
+ resizeWindowWithoutAutoResizingSubViews:[self window]
+ delta:windowDelta];
}
- (KeystoneGlue*)defaultKeystoneGlue {
« no previous file with comments | « DEPS ('k') | chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698