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

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

Issue 16336027: Enable high dpi in win/views. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 6 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/widget/tooltip_manager_win.cc ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | 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_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
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
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_
OLDNEW
« no previous file with comments | « ui/views/widget/tooltip_manager_win.cc ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698