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

Unified Diff: ui/views/mus/platform_window_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 | « ui/views/mus/native_widget_mus.cc ('k') | ui/views/mus/platform_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_window_mus.h
diff --git a/ui/views/mus/platform_window_mus.h b/ui/views/mus/platform_window_mus.h
index 95537064adf8911a28654360050b05393e3744b1..77a0739cf9fbb65fbaa6015a961da72962fdc7bb 100644
--- a/ui/views/mus/platform_window_mus.h
+++ b/ui/views/mus/platform_window_mus.h
@@ -66,19 +66,12 @@ class VIEWS_MUS_EXPORT PlatformWindowMus
private:
friend class PlatformWindowMusTest;
- void SetShowState(mus::mojom::ShowState show_state);
-
// mus::WindowObserver:
void OnWindowDestroyed(mus::Window* window) override;
void OnWindowFocusChanged(mus::Window* gained_focus,
mus::Window* lost_focus) override;
void OnWindowPredefinedCursorChanged(mus::Window* window,
mus::mojom::Cursor cursor) override;
- void OnWindowSharedPropertyChanged(
- mus::Window* window,
- const std::string& name,
- const std::vector<uint8_t>* old_data,
- const std::vector<uint8_t>* new_data) override;
void OnRequestClose(mus::Window* window) override;
// mus::InputEventHandler:
@@ -90,7 +83,6 @@ class VIEWS_MUS_EXPORT PlatformWindowMus
ui::PlatformWindowDelegate* delegate_;
mus::Window* mus_window_;
- mus::mojom::ShowState show_state_;
mus::mojom::Cursor last_cursor_;
// True if OnWindowDestroyed() has been received.
« no previous file with comments | « ui/views/mus/native_widget_mus.cc ('k') | ui/views/mus/platform_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698