Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ATHENA_HOME_MINIMIZED_HOME_H_ | 5 #ifndef ATHENA_HOME_MINIMIZED_HOME_H_ |
| 6 #define ATHENA_HOME_MINIMIZED_HOME_H_ | 6 #define ATHENA_HOME_MINIMIZED_HOME_H_ |
| 7 | 7 |
| 8 namespace views { | 8 #include "base/memory/scoped_ptr.h" |
| 9 class View; | 9 |
| 10 namespace ui { | |
| 11 class LayerOwner; | |
| 10 } | 12 } |
| 11 | 13 |
| 12 namespace athena { | 14 namespace athena { |
| 13 | 15 |
| 14 views::View* CreateMinimizedHome(); | 16 scoped_ptr<ui::LayerOwner> CreateMinimizedHome(); |
|
sadrul
2014/08/26 15:47:26
I think you should just return a Layer here.
Jun Mukai
2014/08/26 17:21:33
I need the LayerDelegate to draw the content of mi
sadrul
2014/08/26 20:11:18
Ah, I see.
| |
| 15 | 17 |
| 16 } // namespace athena | 18 } // namespace athena |
| 17 | 19 |
| 18 #endif // ATHENA_HOME_MINIMIZED_HOME_H_ | 20 #endif // ATHENA_HOME_MINIMIZED_HOME_H_ |
| OLD | NEW |