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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 1811913007: Fix window drawing after snap on Windows 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix signedness Created 4 years, 4 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
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 NMHDR* l_param, 189 NMHDR* l_param,
190 LRESULT* l_result) override; 190 LRESULT* l_result) override;
191 void HandleMenuLoop(bool in_menu_loop) override; 191 void HandleMenuLoop(bool in_menu_loop) override;
192 bool PreHandleMSG(UINT message, 192 bool PreHandleMSG(UINT message,
193 WPARAM w_param, 193 WPARAM w_param,
194 LPARAM l_param, 194 LPARAM l_param,
195 LRESULT* result) override; 195 LRESULT* result) override;
196 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override; 196 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override;
197 bool HandleScrollEvent(const ui::ScrollEvent& event) override; 197 bool HandleScrollEvent(const ui::ScrollEvent& event) override;
198 void HandleWindowSizeChanging() override; 198 void HandleWindowSizeChanging() override;
199 void HandleWindowSizeChanged() override; 199 void HandleWindowSizeUnchanged() override;
200 void HandleWindowScaleFactorChanged(float window_scale_factor) override; 200 void HandleWindowScaleFactorChanged(float window_scale_factor) override;
201 201
202 Widget* GetWidget(); 202 Widget* GetWidget();
203 const Widget* GetWidget() const; 203 const Widget* GetWidget() const;
204 HWND GetHWND() const; 204 HWND GetHWND() const;
205 205
206 private: 206 private:
207 void SetWindowTransparency(); 207 void SetWindowTransparency();
208 208
209 // Returns true if a modal window is active in the current root window chain. 209 // Returns true if a modal window is active in the current root window chain.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // Indicates if current window will receive mouse events when should not 267 // Indicates if current window will receive mouse events when should not
268 // become activated. 268 // become activated.
269 bool wants_mouse_events_when_inactive_ = false; 269 bool wants_mouse_events_when_inactive_ = false;
270 270
271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
272 }; 272 };
273 273
274 } // namespace views 274 } // namespace views
275 275
276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | ui/views/win/hwnd_message_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698