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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.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/view.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 LRESULT* l_result) override; 186 LRESULT* l_result) override;
187 void HandleMenuLoop(bool in_menu_loop) override; 187 void HandleMenuLoop(bool in_menu_loop) override;
188 bool PreHandleMSG(UINT message, 188 bool PreHandleMSG(UINT message,
189 WPARAM w_param, 189 WPARAM w_param,
190 LPARAM l_param, 190 LPARAM l_param,
191 LRESULT* result) override; 191 LRESULT* result) override;
192 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override; 192 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override;
193 bool HandleScrollEvent(const ui::ScrollEvent& event) override; 193 bool HandleScrollEvent(const ui::ScrollEvent& event) override;
194 void HandleWindowSizeChanging() override; 194 void HandleWindowSizeChanging() override;
195 void HandleWindowSizeChanged() override; 195 void HandleWindowSizeChanged() override;
196 void HandleSoftVisibilityChanged(bool visible) override;
196 197
197 Widget* GetWidget(); 198 Widget* GetWidget();
198 const Widget* GetWidget() const; 199 const Widget* GetWidget() const;
199 HWND GetHWND() const; 200 HWND GetHWND() const;
200 201
201 private: 202 private:
202 void SetWindowTransparency(); 203 void SetWindowTransparency();
203 204
204 // Returns true if a modal window is active in the current root window chain. 205 // Returns true if a modal window is active in the current root window chain.
205 bool IsModalWindowActive() const; 206 bool IsModalWindowActive() const;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // Indicates if current window will receive mouse events when should not 260 // Indicates if current window will receive mouse events when should not
260 // become activated. 261 // become activated.
261 bool wants_mouse_events_when_inactive_ = false; 262 bool wants_mouse_events_when_inactive_ = false;
262 263
263 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 264 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
264 }; 265 };
265 266
266 } // namespace views 267 } // namespace views
267 268
268 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 269 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698