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

Unified Diff: ui/views/widget/native_widget_mac.h

Issue 1172483003: [MacViews] Update AppWindow when the native window changes fullscreen state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views
Patch Set: Created 5 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
Index: ui/views/widget/native_widget_mac.h
diff --git a/ui/views/widget/native_widget_mac.h b/ui/views/widget/native_widget_mac.h
index c09e8e5c1f5ba842190a12a821ee324bdaa20e15..a2e0335d4ceb96a5055f5f66d0dcf7991b304f2d 100644
--- a/ui/views/widget/native_widget_mac.h
+++ b/ui/views/widget/native_widget_mac.h
@@ -35,6 +35,10 @@ class VIEWS_EXPORT NativeWidgetMac : public internal::NativeWidgetPrivate {
// override this method for an early hook into the native window teardown.
virtual void OnWindowWillClose();
+ // Called by BridgedNativeWidget so NativeWidgetMac can be notified of
+ // fullscreen changes.
+ virtual void OnFullscreenTransitionComplete(bool is_fullscreen);
+
// internal::NativeWidgetPrivate:
void InitNativeWidget(const Widget::InitParams& params) override;
NonClientFrameView* CreateNonClientFrameView() override;

Powered by Google App Engine
This is Rietveld 408576698