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 namespace gfx { | 10 |
11 class Rect; | |
12 } | |
13 namespace views { | 11 namespace views { |
14 class DesktopNativeWidgetAura; | 12 class DesktopNativeWidgetAura; |
15 class DesktopWindowTreeHost; | 13 class DesktopWindowTreeHost; |
16 namespace internal { | 14 namespace internal { |
17 class NativeWidgetDelegate; | 15 class NativeWidgetDelegate; |
18 } | 16 } |
19 } | 17 } |
20 | 18 |
21 // Interface to a platform specific browser frame implementation. The object | 19 // Interface to a platform specific browser frame implementation. The object |
22 // implementing this interface will also implement views::DesktopWindowTreeHost. | 20 // implementing this interface will also implement views::DesktopWindowTreeHost. |
(...skipping 10 matching lines...) Expand all Loading... |
33 | 31 |
34 virtual int GetMinimizeButtonOffset() const = 0; | 32 virtual int GetMinimizeButtonOffset() const = 0; |
35 | 33 |
36 // Returns true if the OS takes care of showing the system menu. Returning | 34 // Returns true if the OS takes care of showing the system menu. Returning |
37 // false means BrowserFrame handles showing the system menu. | 35 // false means BrowserFrame handles showing the system menu. |
38 virtual bool UsesNativeSystemMenu() const = 0; | 36 virtual bool UsesNativeSystemMenu() const = 0; |
39 }; | 37 }; |
40 | 38 |
41 | 39 |
42 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ | 40 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_WINDOW_TREE_HOST_H_ |
OLD | NEW |