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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.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, 9 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 unified diff | Download patch
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Called when the system's work area has changed. 147 // Called when the system's work area has changed.
148 virtual void HandleWorkAreaChanged() = 0; 148 virtual void HandleWorkAreaChanged() = 0;
149 149
150 // Called when the window's visibility is changing. |visible| holds the new 150 // Called when the window's visibility is changing. |visible| holds the new
151 // state. 151 // state.
152 virtual void HandleVisibilityChanging(bool visible) = 0; 152 virtual void HandleVisibilityChanging(bool visible) = 0;
153 153
154 // Called when the window's visibility changed. |visible| holds the new state. 154 // Called when the window's visibility changed. |visible| holds the new state.
155 virtual void HandleVisibilityChanged(bool visible) = 0; 155 virtual void HandleVisibilityChanged(bool visible) = 0;
156 156
157 // Called when the "calculated" window's visibility changed.
158 // OS doesn't mark windows hidden on screen lock or when other opaque windows
159 // cover them.
160 // |visible| holds the new state.
161 virtual void HandleSoftVisibilityChanged(bool visible) = 0;
162
157 // Called when the window's client size changed. |new_size| holds the new 163 // Called when the window's client size changed. |new_size| holds the new
158 // size. 164 // size.
159 virtual void HandleClientSizeChanged(const gfx::Size& new_size) = 0; 165 virtual void HandleClientSizeChanged(const gfx::Size& new_size) = 0;
160 166
161 // Called when the window's frame has changed. 167 // Called when the window's frame has changed.
162 virtual void HandleFrameChanged() = 0; 168 virtual void HandleFrameChanged() = 0;
163 169
164 // Called when focus shifted to this HWND from |last_focused_window|. 170 // Called when focus shifted to this HWND from |last_focused_window|.
165 virtual void HandleNativeFocus(HWND last_focused_window) = 0; 171 virtual void HandleNativeFocus(HWND last_focused_window) = 0;
166 172
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Called when the window size has finished changing. 234 // Called when the window size has finished changing.
229 virtual void HandleWindowSizeChanged() = 0; 235 virtual void HandleWindowSizeChanged() = 0;
230 236
231 protected: 237 protected:
232 virtual ~HWNDMessageHandlerDelegate() {} 238 virtual ~HWNDMessageHandlerDelegate() {}
233 }; 239 };
234 240
235 } // namespace views 241 } // namespace views
236 242
237 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 243 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698