OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_VIEWS_WIDGET_WIDGET_HWND_UTILS_H_ |
| 6 #define UI_VIEWS_WIDGET_WIDGET_HWND_UTILS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <windows.h> |
| 10 |
| 11 // Functions shared by native_widget_win.cc and widget_message_filter.cc: |
| 12 |
| 13 namespace views { |
| 14 |
| 15 // Returns true if the WINDOWPOS data provided indicates the client area of |
| 16 // the window may have changed size. This can be caused by the window being |
| 17 // resized or its frame changing. |
| 18 bool DidClientAreaSizeChange(const WINDOWPOS* window_pos); |
| 19 |
| 20 } // namespace views |
| 21 |
| 22 #endif // UI_VIEWS_WIDGET_WIDGET_HWND_UTILS_H_ |
OLD | NEW |