| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual void SetRootWindowTransformer( | 48 virtual void SetRootWindowTransformer( |
| 49 scoped_ptr<RootWindowTransformer> transformer) = 0; | 49 scoped_ptr<RootWindowTransformer> transformer) = 0; |
| 50 | 50 |
| 51 virtual gfx::Insets GetHostInsets() const = 0; | 51 virtual gfx::Insets GetHostInsets() const = 0; |
| 52 | 52 |
| 53 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; | 53 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; |
| 54 | 54 |
| 55 // Stop listening for events in preparation for shutdown. | 55 // Stop listening for events in preparation for shutdown. |
| 56 virtual void PrepareForShutdown() {} | 56 virtual void PrepareForShutdown() {} |
| 57 | 57 |
| 58 virtual void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) {} |
| 59 |
| 58 protected: | 60 protected: |
| 59 // Translates the native mouse location into screen coordinates. | 61 // Translates the native mouse location into screen coordinates. |
| 60 void TranslateLocatedEvent(ui::LocatedEvent* event); | 62 void TranslateLocatedEvent(ui::LocatedEvent* event); |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 } // namespace ash | 65 } // namespace ash |
| 64 | 66 |
| 65 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ | 67 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ |
| OLD | NEW |