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

Unified Diff: ui/views/mus/native_widget_mus.h

Issue 1967543002: Move ShowState-related code from PlatformWindowMus to NativeWidgetMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor show_state checks Created 4 years, 7 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/mus/native_widget_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.h
diff --git a/ui/views/mus/native_widget_mus.h b/ui/views/mus/native_widget_mus.h
index 10f155b82e5c3cbbd423eeb38dc9b949f2bf0218..28f5eefc69811acfa5f887f9011ae717492070ad 100644
--- a/ui/views/mus/native_widget_mus.h
+++ b/ui/views/mus/native_widget_mus.h
@@ -208,6 +208,8 @@ class VIEWS_MUS_EXPORT NativeWidgetMus : public internal::NativeWidgetPrivate,
private:
class MusWindowObserver;
+ void SetShowState(mus::mojom::ShowState show_state);
+
void OnMusWindowVisibilityChanging(mus::Window* window);
void OnMusWindowVisibilityChanged(mus::Window* window);
@@ -216,7 +218,7 @@ class VIEWS_MUS_EXPORT NativeWidgetMus : public internal::NativeWidgetPrivate,
internal::NativeWidgetDelegate* native_widget_delegate_;
const mus::mojom::SurfaceType surface_type_;
- ui::PlatformWindowState show_state_before_fullscreen_;
+ mus::mojom::ShowState show_state_before_fullscreen_;
// See class documentation for Widget in widget.h for a note about ownership.
Widget::InitParams::Ownership ownership_;
« no previous file with comments | « no previous file | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698