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

Unified Diff: ui/views/cocoa/bridged_native_widget.h

Issue 1352743002: MacViews: Synchronize resize operations with the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150907-MacViews-ResizeHelperContent
Patch Set: rebase Created 5 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 | « no previous file | ui/views/cocoa/bridged_native_widget.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/cocoa/bridged_native_widget.h
diff --git a/ui/views/cocoa/bridged_native_widget.h b/ui/views/cocoa/bridged_native_widget.h
index a3421923cb2e489c4ed35c9f4bf1073a7dd24334..256c6a70cac32f4f1491f87dbf549fba8e8c375d 100644
--- a/ui/views/cocoa/bridged_native_widget.h
+++ b/ui/views/cocoa/bridged_native_widget.h
@@ -201,6 +201,11 @@ class VIEWS_EXPORT BridgedNativeWidget
// scale factor.
void UpdateLayerProperties();
+ // Immediately return if there is a composited frame matching |size_in_dip|.
+ // Otherwise, asks ui::WindowResizeHelperMac to run tasks until a matching
+ // frame is ready, or a timeout occurs.
+ void MaybeWaitForFrame(const gfx::Size& size_in_dip);
+
// Sets mouseDownCanMoveWindow on |bridged_view_| and triggers the NSWindow to
// update its draggable region.
void SetDraggable(bool draggable);
« no previous file with comments | « no previous file | ui/views/cocoa/bridged_native_widget.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698