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 ASH_HOST_ASH_WINDOW_TREE_HOST_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_H_ |
| 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 | 46 |
| 47 virtual gfx::Insets GetHostInsets() const = 0; | 47 virtual gfx::Insets GetHostInsets() const = 0; |
| 48 | 48 |
| 49 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; | 49 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; |
| 50 | 50 |
| 51 // Updates the display IDs associated with this root window. | 51 // Updates the display IDs associated with this root window. |
| 52 // A root window can be associated with up to 2 display IDs (e.g. in mirror | 52 // A root window can be associated with up to 2 display IDs (e.g. in mirror |
| 53 // mode dual monitors case). If the root window is only associated with one | 53 // mode dual monitors case). If the root window is only associated with one |
| 54 // display id, then the other id should be set to | 54 // display id, then the other id should be set to |
| 55 // gfx::Display::kInvalidDisplayID. | 55 // gfx::Display::kInvalidDisplayID. |
| 56 virtual void UpdateDisplayID(int64 id1, int64 id2) {}; | 56 virtual void UpdateDisplayID(int64 id1, int64 id2) {} |
| 57 | |
| 58 // Stop listening for events in preparatino for shutdown. | |
|
sadrul
2014/05/22 17:07:57
*preparation
oshima
2014/05/22 17:15:33
Done.
| |
| 59 virtual void PrepareForShutdown() {} | |
| 57 }; | 60 }; |
| 58 | 61 |
| 59 } // namespace ash | 62 } // namespace ash |
| 60 | 63 |
| 61 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ | 64 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ |
| OLD | NEW |