| 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 CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <uxtheme.h> | 9 #include <uxtheme.h> |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 void UpdateDWMFrame(); | 58 void UpdateDWMFrame(); |
| 59 | 59 |
| 60 MARGINS GetDWMFrameMargins() const; | 60 MARGINS GetDWMFrameMargins() const; |
| 61 | 61 |
| 62 BrowserView* browser_view_; | 62 BrowserView* browser_view_; |
| 63 BrowserFrame* browser_frame_; | 63 BrowserFrame* browser_frame_; |
| 64 | 64 |
| 65 MinimizeButtonMetrics minimize_button_metrics_; | 65 MinimizeButtonMetrics minimize_button_metrics_; |
| 66 | 66 |
| 67 scoped_ptr<BrowserWindowPropertyManager> browser_window_property_manager_; | 67 std::unique_ptr<BrowserWindowPropertyManager> |
| 68 browser_window_property_manager_; |
| 68 | 69 |
| 69 // The wrapped system menu itself. | 70 // The wrapped system menu itself. |
| 70 scoped_ptr<views::NativeMenuWin> system_menu_; | 71 std::unique_ptr<views::NativeMenuWin> system_menu_; |
| 71 | 72 |
| 72 // Necessary to avoid corruption on NC paint in Aero mode. | 73 // Necessary to avoid corruption on NC paint in Aero mode. |
| 73 bool did_gdi_clear_; | 74 bool did_gdi_clear_; |
| 74 | 75 |
| 75 DISALLOW_COPY_AND_ASSIGN(BrowserDesktopWindowTreeHostWin); | 76 DISALLOW_COPY_AND_ASSIGN(BrowserDesktopWindowTreeHostWin); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 | 79 |
| 79 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 80 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |