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

Unified Diff: trunk/src/content/browser/compositor/browser_compositor_view_mac.h

Issue 387863004: Revert 281866 "Mac ÜC: Make resize smooth" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | trunk/src/content/browser/compositor/browser_compositor_view_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/compositor/browser_compositor_view_mac.h
===================================================================
--- trunk/src/content/browser/compositor/browser_compositor_view_mac.h (revision 282673)
+++ trunk/src/content/browser/compositor/browser_compositor_view_mac.h (working copy)
@@ -52,12 +52,6 @@
// Used to install the root ui::Layer into the ui::Compositor.
virtual ui::Layer* BrowserCompositorRootLayer() = 0;
-
- // If this returns true, then frames will be drawn immediately when they are
- // received, instead of waiting for the CAOpenGLLayer's callback. This helps
- // de-jank resize, because said callback can't come through while pumping for
- // resized frames.
- virtual bool BrowserCompositorShouldDrawImmediately() = 0;
};
// The class to hold a ui::Compositor-backed NSView. Because a ui::Compositor
@@ -72,15 +66,9 @@
explicit BrowserCompositorViewMac(BrowserCompositorViewMacClient* client);
~BrowserCompositorViewMac();
- // The NSView set at the sub-view for this view.
- NSView* GetView() const;
-
// The ui::Compositor being used to render the NSView.
ui::Compositor* GetCompositor() const;
- // Check if a frame of the correct size is currently being displayed.
- bool HasFrameWithSizeInDIP(const gfx::Size& desired_size_in_dip) const;
-
// The client (used by the BrowserCompositorViewCocoa to access the client).
BrowserCompositorViewMacClient* GetClient() const { return client_; }
« no previous file with comments | « no previous file | trunk/src/content/browser/compositor/browser_compositor_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698