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

Unified Diff: ui/views/mus/window_tree_host_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/platform_window_mus.cc ('k') | ui/views/mus/window_tree_host_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_tree_host_mus.h
diff --git a/ui/views/mus/window_tree_host_mus.h b/ui/views/mus/window_tree_host_mus.h
index bc678752ef238f14f67c5122ad7b811cf31fb4fd..30da7ed2d3fb0b6b0d99855d1ba1fb6128d281c9 100644
--- a/ui/views/mus/window_tree_host_mus.h
+++ b/ui/views/mus/window_tree_host_mus.h
@@ -33,19 +33,16 @@ class VIEWS_MUS_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
~WindowTreeHostMus() override;
PlatformWindowMus* platform_window();
- ui::PlatformWindowState show_state() const { return show_state_; }
private:
// aura::WindowTreeHostPlatform:
void DispatchEvent(ui::Event* event) override;
void OnClosed() override;
- void OnWindowStateChanged(ui::PlatformWindowState new_state) override;
void OnActivationChanged(bool active) override;
void OnCloseRequest() override;
NativeWidgetMus* native_widget_;
std::unique_ptr<InputMethodMUS> input_method_;
- ui::PlatformWindowState show_state_;
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
};
« no previous file with comments | « ui/views/mus/platform_window_mus.cc ('k') | ui/views/mus/window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698