| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ |
| 7 | 7 |
| 8 class BrowserFrame; | 8 class BrowserFrame; |
| 9 class BrowserView; | 9 class BrowserView; |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // BDRWH is owned by the RootWindow. | 23 // BDRWH is owned by the RootWindow. |
| 24 static BrowserDesktopWindowTreeHost* CreateBrowserDesktopWindowTreeHost( | 24 static BrowserDesktopWindowTreeHost* CreateBrowserDesktopWindowTreeHost( |
| 25 views::internal::NativeWidgetDelegate* native_widget_delegate, | 25 views::internal::NativeWidgetDelegate* native_widget_delegate, |
| 26 views::DesktopNativeWidgetAura* desktop_native_widget_aura, | 26 views::DesktopNativeWidgetAura* desktop_native_widget_aura, |
| 27 BrowserView* browser_view, | 27 BrowserView* browser_view, |
| 28 BrowserFrame* browser_frame); | 28 BrowserFrame* browser_frame); |
| 29 | 29 |
| 30 virtual views::DesktopWindowTreeHost* AsDesktopWindowTreeHost() = 0; | 30 virtual views::DesktopWindowTreeHost* AsDesktopWindowTreeHost() = 0; |
| 31 | 31 |
| 32 virtual int GetMinimizeButtonOffset() const = 0; | 32 virtual int GetMinimizeButtonOffset() const = 0; |
| 33 virtual int GetMinimizeButtonHeight() const = 0; |
| 33 | 34 |
| 34 // Returns true if the OS takes care of showing the system menu. Returning | 35 // Returns true if the OS takes care of showing the system menu. Returning |
| 35 // false means BrowserFrame handles showing the system menu. | 36 // false means BrowserFrame handles showing the system menu. |
| 36 virtual bool UsesNativeSystemMenu() const = 0; | 37 virtual bool UsesNativeSystemMenu() const = 0; |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 | 40 |
| 40 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ | 41 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ |
| OLD | NEW |