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 27 matching lines...) Expand all Loading... |
38 // being used in fullscreen mode, so root_window bounds = window bounds. | 38 // being used in fullscreen mode, so root_window bounds = window bounds. |
39 virtual bool ConfineCursorToRootWindow() = 0; | 39 virtual bool ConfineCursorToRootWindow() = 0; |
40 virtual void UnConfineCursor() = 0; | 40 virtual void UnConfineCursor() = 0; |
41 | 41 |
42 virtual void SetRootWindowTransformer( | 42 virtual void SetRootWindowTransformer( |
43 scoped_ptr<RootWindowTransformer> transformer) = 0; | 43 scoped_ptr<RootWindowTransformer> transformer) = 0; |
44 | 44 |
45 virtual gfx::Insets GetHostInsets() const = 0; | 45 virtual gfx::Insets GetHostInsets() const = 0; |
46 | 46 |
47 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; | 47 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; |
| 48 |
| 49 // Updates the display IDs associated with this root window. |
| 50 // A root window can be associated with up to 2 display IDs (e.g. in mirror |
| 51 // mode dual monitors case). If the root window is only associated with one |
| 52 // display id, then the other id should be set to |
| 53 // gfx::Display::kInvalidDisplayID. |
| 54 virtual void UpdateDisplayID(int64 id1, int64 id2) {}; |
48 }; | 55 }; |
49 | 56 |
50 } // namespace ash | 57 } // namespace ash |
51 | 58 |
52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ | 59 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ |
OLD | NEW |