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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 2093993003: Add Plumbing for WM_DPICHANGED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screenprepare
Patch Set: Adjust Non-Square Scaling Factor Check Created 4 years, 5 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 when the window size has finished changing.
243 virtual void HandleWindowSizeChanged() = 0; 243 virtual void HandleWindowSizeChanged() = 0;
244 244
245 // Called when the window scale factor has changed.
246 virtual void HandleWindowScaleFactorChanged(float window_scale_factor) = 0;
247
245 protected: 248 protected:
246 virtual ~HWNDMessageHandlerDelegate() {} 249 virtual ~HWNDMessageHandlerDelegate() {}
247 }; 250 };
248 251
249 } // namespace views 252 } // namespace views
250 253
251 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 254 #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