OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 AURA_DESKTOP_HOST_H_ | 5 #ifndef UI_AURA_DESKTOP_HOST_H_ |
6 #define AURA_DESKTOP_HOST_H_ | 6 #define UI_AURA_DESKTOP_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Rect; | 13 class Rect; |
14 class Size; | 14 class Size; |
15 } | 15 } |
16 | 16 |
(...skipping 20 matching lines...) Expand all Loading... |
37 // Shows the DesktopHost. | 37 // Shows the DesktopHost. |
38 virtual void Show() = 0; | 38 virtual void Show() = 0; |
39 | 39 |
40 // Gets/Sets the size of the DesktopHost. | 40 // Gets/Sets the size of the DesktopHost. |
41 virtual gfx::Size GetSize() = 0; | 41 virtual gfx::Size GetSize() = 0; |
42 virtual void SetSize(const gfx::Size& size) = 0; | 42 virtual void SetSize(const gfx::Size& size) = 0; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace aura | 45 } // namespace aura |
46 | 46 |
47 #endif // AURA_DESKTOP_HOST_H_ | 47 #endif // UI_AURA_DESKTOP_HOST_H_ |
OLD | NEW |