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

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

Issue 2448243003: MacViews: Reattach children of native windows when they are exposed. (Closed)
Patch Set: respond to comments Created 4 years, 2 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 | « ui/views/cocoa/bridged_native_widget.h ('k') | ui/views/cocoa/widget_owner_nswindow_adapter.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/cocoa/widget_owner_nswindow_adapter.h
diff --git a/ui/views/cocoa/widget_owner_nswindow_adapter.h b/ui/views/cocoa/widget_owner_nswindow_adapter.h
index 986da1c2f0d6f2cb56e1ecc73a087beb0b393999..8240bead7934ef6d6380475031f154b467444719 100644
--- a/ui/views/cocoa/widget_owner_nswindow_adapter.h
+++ b/ui/views/cocoa/widget_owner_nswindow_adapter.h
@@ -27,6 +27,9 @@ class WidgetOwnerNSWindowAdapter : public BridgedNativeWidgetOwner {
// Called when the owning window is closing.
void OnWindowWillClose();
+ // Called when the owning window is hidden or shown.
+ void OnWindowDidChangeOcclusionState();
+
// Overridden from BridgedNativeWidgetOwner:
NSWindow* GetNSWindow() override;
gfx::Vector2d GetChildWindowOffset() const override;
« no previous file with comments | « ui/views/cocoa/bridged_native_widget.h ('k') | ui/views/cocoa/widget_owner_nswindow_adapter.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698