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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.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_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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 WPARAM w_param, 232 WPARAM w_param,
233 LPARAM l_param) = 0; 233 LPARAM l_param) = 0;
234 234
235 // Called when a scroll event is received. Returns true if the event was 235 // Called when a scroll event is received. Returns true if the event was
236 // handled by the delegate. 236 // handled by the delegate.
237 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0; 237 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0;
238 238
239 // Called when the window size is about to change. 239 // Called when the window size is about to change.
240 virtual void HandleWindowSizeChanging() = 0; 240 virtual void HandleWindowSizeChanging() = 0;
241 241
242 // Called when the window size has finished changing. 242 // Called after HandleWindowSizeChanging() when it's determined the window
243 virtual void HandleWindowSizeChanged() = 0; 243 // size didn't actually change.
244 virtual void HandleWindowSizeUnchanged() = 0;
244 245
245 // Called when the window scale factor has changed. 246 // Called when the window scale factor has changed.
246 virtual void HandleWindowScaleFactorChanged(float window_scale_factor) = 0; 247 virtual void HandleWindowScaleFactorChanged(float window_scale_factor) = 0;
247 248
248 protected: 249 protected:
249 virtual ~HWNDMessageHandlerDelegate() {} 250 virtual ~HWNDMessageHandlerDelegate() {}
250 }; 251 };
251 252
252 } // namespace views 253 } // namespace views
253 254
254 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 255 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« ui/views/win/hwnd_message_handler.cc ('K') | « 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