| 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 UI_AURA_SHELL_SHELL_FACTORY_H_ | 5 #ifndef UI_AURA_SHELL_SHELL_FACTORY_H_ |
| 6 #define UI_AURA_SHELL_SHELL_FACTORY_H_ | 6 #define UI_AURA_SHELL_SHELL_FACTORY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 10 | 10 |
| 11 namespace gfx { | |
| 12 class Point; | |
| 13 } | |
| 14 | |
| 15 namespace views { | 11 namespace views { |
| 16 class Widget; | 12 class View; |
| 17 } | 13 } |
| 18 | 14 |
| 19 namespace aura_shell { | 15 namespace aura_shell { |
| 20 namespace examples { | 16 namespace examples { |
| 21 | 17 |
| 22 void CreatePointyBubble(views::Widget* parent, const gfx::Point& origin); | 18 void CreatePointyBubble(views::View* anchor_view); |
| 23 | 19 |
| 24 void CreateLock(); | 20 void CreateLock(); |
| 25 | 21 |
| 26 // Creates a window showing samples of commonly used widgets. | 22 // Creates a window showing samples of commonly used widgets. |
| 27 void CreateWidgetsWindow(); | 23 void CreateWidgetsWindow(); |
| 28 | 24 |
| 29 } // namespace examples | 25 } // namespace examples |
| 30 } // namespace aura_shell | 26 } // namespace aura_shell |
| 31 | 27 |
| 32 | |
| 33 #endif // UI_AURA_SHELL_SHELL_FACTORY_H_ | 28 #endif // UI_AURA_SHELL_SHELL_FACTORY_H_ |
| OLD | NEW |