refactor: make NativeWindow::pending_transitions_ private

refactor: make NativeWindow::fullscreen_transition_type_ private
This commit is contained in:
Charles Kerr
2025-05-30 12:59:41 -05:00
parent dc5efca0f6
commit 0e043cd3cb

View File

@@ -473,11 +473,6 @@ class NativeWindow : public base::SupportsUserData,
// on HiDPI displays on some environments.
std::optional<extensions::SizeConstraints> content_size_constraints_;
base::queue<bool> pending_transitions_;
FullScreenTransitionType fullscreen_transition_type_ =
FullScreenTransitionType::kNone;
std::list<NativeWindow*> child_windows_;
private:
@@ -546,6 +541,11 @@ class NativeWindow : public base::SupportsUserData,
gfx::Rect overlay_rect_;
base::queue<bool> pending_transitions_;
FullScreenTransitionType fullscreen_transition_type_ =
FullScreenTransitionType::kNone;
base::WeakPtrFactory<NativeWindow> weak_factory_{this};
};