OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // source code is governed by a BSD-style license that can be found in the | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_WINDOW_WINDOW_H_ | 5 #ifndef VIEWS_WINDOW_WINDOW_H_ |
6 #define VIEWS_WINDOW_WINDOW_H_ | 6 #define VIEWS_WINDOW_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/native_widget_types.h" | 9 #include "gfx/native_widget_types.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 class Font; | 12 class Font; |
13 class Rect; | 13 class Rect; |
14 class Size; | 14 class Size; |
15 } | 15 } // namespace gfx |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 | 18 |
19 class ClientView; | 19 class ClientView; |
20 class NonClientFrameView; | 20 class NonClientFrameView; |
21 class NonClientView; | 21 class NonClientView; |
22 class Widget; | 22 class Widget; |
23 class WindowDelegate; | 23 class WindowDelegate; |
24 | 24 |
25 // An interface implemented by an object that provides a top level window. | 25 // An interface implemented by an object that provides a top level window. |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // Whether we should be using a native frame. | 164 // Whether we should be using a native frame. |
165 virtual bool ShouldUseNativeFrame() const = 0; | 165 virtual bool ShouldUseNativeFrame() const = 0; |
166 | 166 |
167 // Tell the window that something caused the frame type to change. | 167 // Tell the window that something caused the frame type to change. |
168 virtual void FrameTypeChanged() = 0; | 168 virtual void FrameTypeChanged() = 0; |
169 }; | 169 }; |
170 | 170 |
171 } // namespace views | 171 } // namespace views |
172 | 172 |
173 #endif // #ifndef VIEWS_WINDOW_WINDOW_H_ | 173 #endif // #ifndef VIEWS_WINDOW_WINDOW_H_ |
OLD | NEW |