| OLD | NEW |
| 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_H_ | 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
| 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlapp.h> | 9 #include <atlapp.h> |
| 10 #include <atlmisc.h> | 10 #include <atlmisc.h> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 void Close(); | 69 void Close(); |
| 70 void CloseNow(); | 70 void CloseNow(); |
| 71 | 71 |
| 72 gfx::Rect GetWindowBoundsInScreen() const; | 72 gfx::Rect GetWindowBoundsInScreen() const; |
| 73 gfx::Rect GetClientAreaBoundsInScreen() const; | 73 gfx::Rect GetClientAreaBoundsInScreen() const; |
| 74 gfx::Rect GetRestoredBounds() const; | 74 gfx::Rect GetRestoredBounds() const; |
| 75 void GetWindowPlacement(gfx::Rect* bounds, | 75 void GetWindowPlacement(gfx::Rect* bounds, |
| 76 ui::WindowShowState* show_state) const; | 76 ui::WindowShowState* show_state) const; |
| 77 | 77 |
| 78 void SetBounds(const gfx::Rect& bounds); | 78 void SetBounds(const gfx::Rect& bounds_in_pixels); |
| 79 void SetSize(const gfx::Size& size); | 79 void SetSize(const gfx::Size& size); |
| 80 void CenterWindow(const gfx::Size& size); | 80 void CenterWindow(const gfx::Size& size); |
| 81 | 81 |
| 82 void SetRegion(HRGN rgn); | 82 void SetRegion(HRGN rgn); |
| 83 | 83 |
| 84 void StackAbove(HWND other_hwnd); | 84 void StackAbove(HWND other_hwnd); |
| 85 void StackAtTop(); | 85 void StackAtTop(); |
| 86 | 86 |
| 87 void Show(); | 87 void Show(); |
| 88 void ShowWindowWithState(ui::WindowShowState show_state); | 88 void ShowWindowWithState(ui::WindowShowState show_state); |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 455 |
| 456 // True the first time nccalc is called on a sizable widget | 456 // True the first time nccalc is called on a sizable widget |
| 457 bool is_first_nccalc_; | 457 bool is_first_nccalc_; |
| 458 | 458 |
| 459 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 459 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
| 460 }; | 460 }; |
| 461 | 461 |
| 462 } // namespace views | 462 } // namespace views |
| 463 | 463 |
| 464 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 464 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
| OLD | NEW |