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

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

Issue 2858028: [Mac] Base implementation of extension infobars on the mac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « no previous file | chrome/browser/cocoa/extensions/extension_infobar_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/extension_view_mac.mm
===================================================================
--- chrome/browser/cocoa/extension_view_mac.mm (revision 50982)
+++ chrome/browser/cocoa/extension_view_mac.mm (working copy)
@@ -63,7 +63,7 @@
// On first display of some extensions, this function is called with zero
// width after the correct size has been set. Bail if zero is seen, assuming
- // that an extension popup view doesn't want any dimensions to ever be zero.
+ // that an extension's view doesn't want any dimensions to ever be zero.
// TODO(andybons): Verify this assumption and look into WebCore's
// |contentesPreferredWidth| to see why this is occurring.
if (NSIsEmptyRect(frame))
@@ -74,7 +74,7 @@
// RenderWidgetHostViewCocoa overrides setFrame but not setFrameSize.
// We need to defer the update back to the RenderWidgetHost so we don't
- // get the flickering effect on 10.5 of http://crbug.com/31970.
+ // get the flickering effect on 10.5 of http://crbug.com/31970
[hostView setFrameWithDeferredUpdate:frame];
[hostView setNeedsDisplay:YES];
}
« no previous file with comments | « no previous file | chrome/browser/cocoa/extensions/extension_infobar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698