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

Unified Diff: ui/views/view.cc

Issue 1746013002: Hide/show widget on Windows screen lock/unlock Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 4 years, 10 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/view.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 6f5122faae7caacc663d07dbb8ed4355005aa0c8..867f943d6a889c80a17e3b2b4e1e0a4f2871cb54 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -1906,6 +1906,12 @@ void View::PropagateNativeThemeChanged(const ui::NativeTheme* theme) {
OnNativeThemeChanged(theme);
}
+void View::PropagateSoftVisibilityChanged(bool visible) {
+ for (int i = 0, count = child_count(); i < count; ++i)
+ child_at(i)->PropagateSoftVisibilityChanged(visible);
+ OnSoftVisibilityChanged(visible);
+}
+
// Size and disposition --------------------------------------------------------
void View::PropagateVisibilityNotifications(View* start, bool is_visible) {
« no previous file with comments | « ui/views/view.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698