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

Unified Diff: ui/views/view.h

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/controls/native/native_view_host.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 86bed2a0de6f0ba2b990ef53340adcaeb227e48b..195fe51aa8958dcc63147295651f7ad25b62e536 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1082,6 +1082,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// FocusManager manages this view.
virtual void NativeViewHierarchyChanged();
+ virtual void OnSoftVisibilityChanged(bool visible) {}
+
// Painting ------------------------------------------------------------------
// Responsible for calling Paint() on child Views. Override to control the
@@ -1289,6 +1291,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// VisibilityChanged().
void VisibilityChangedImpl(View* starting_from, bool is_visible);
+ void PropagateSoftVisibilityChanged(bool visible);
+
// Responsible for propagating bounds change notifications to relevant
// views.
void BoundsChanged(const gfx::Rect& previous_bounds);
« no previous file with comments | « ui/views/controls/native/native_view_host.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698