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

Unified Diff: chrome/browser/ui/cocoa/fast_resize_view.h

Issue 469003006: Remove --disable-core-animation flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erikchen_patch
Patch Set: Rebase Created 6 years, 4 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 | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/fast_resize_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/fast_resize_view.h
diff --git a/chrome/browser/ui/cocoa/fast_resize_view.h b/chrome/browser/ui/cocoa/fast_resize_view.h
index 8e089866f952ae3b4d898438d02bdac276fd4562..67fa01ffafa40f5f3ed67770a783d4ab74707cd2 100644
--- a/chrome/browser/ui/cocoa/fast_resize_view.h
+++ b/chrome/browser/ui/cocoa/fast_resize_view.h
@@ -9,16 +9,11 @@
@class CAShapeLayer;
-// A Cocoa view that supports an alternate resizing mode, normally used when
-// animations are in progress. In normal resizing mode, subviews are sized to
-// completely fill this view's bounds. In fast resizing mode, the subviews'
-// size is not changed and the subview is clipped to fit, if necessary. Fast
-// resize mode is useful when animating a view that normally takes a significant
-// amount of time to relayout and redraw when its size is changed.
+// A Cocoa view originally created to support fast re-painting to white on
+// resize. This is done by CoreAnimation now, so this view remains only as the
+// first opaque ancestor of accelerated web contents views.
@interface FastResizeView : NSView {
@private
- BOOL fastResizeMode_;
-
// Whether the bottom corners should be rounded.
BOOL roundedBottomCorners_;
@@ -26,12 +21,6 @@
CAShapeLayer* layerMask_;
}
-// Turns fast resizing mode on or off, which determines how this view resizes
-// its subviews. Turning fast resizing mode off has the effect of immediately
-// resizing subviews to fit; callers do not need to explictly call |setFrame:|
-// to trigger a resize.
-- (void)setFastResizeMode:(BOOL)fastResizeMode;
-
// Changes whether the bottom two corners are rounded.
- (void)setRoundedBottomCorners:(BOOL)roundedBottomCorners;
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/fast_resize_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698