| 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 COMPONENTS_MUS_SERVER_VIEW_DELEGATE_H_ | 5 #ifndef COMPONENTS_MUS_VM_SERVER_VIEW_DELEGATE_H_ |
| 6 #define COMPONENTS_MUS_SERVER_VIEW_DELEGATE_H_ | 6 #define COMPONENTS_MUS_VM_SERVER_VIEW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "components/mus/public/interfaces/compositor_frame.mojom.h" | 9 #include "components/mus/public/interfaces/compositor_frame.mojom.h" |
| 10 #include "components/mus/public/interfaces/mus_constants.mojom.h" | 10 #include "components/mus/public/interfaces/mus_constants.mojom.h" |
| 11 | 11 |
| 12 namespace cc { | 12 namespace cc { |
| 13 class CompositorFrame; | 13 class CompositorFrame; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace mus { | 16 namespace mus { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 // Returns the root of the view tree to which this |view| is attached. Returns | 30 // Returns the root of the view tree to which this |view| is attached. Returns |
| 31 // null if this view is not attached up through to a root view. | 31 // null if this view is not attached up through to a root view. |
| 32 virtual const ServerView* GetRootView(const ServerView* view) const = 0; | 32 virtual const ServerView* GetRootView(const ServerView* view) const = 0; |
| 33 | 33 |
| 34 protected: | 34 protected: |
| 35 virtual ~ServerViewDelegate() {} | 35 virtual ~ServerViewDelegate() {} |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace mus | 38 } // namespace mus |
| 39 | 39 |
| 40 #endif // COMPONENTS_MUS_SERVER_VIEW_DELEGATE_H_ | 40 #endif // COMPONENTS_MUS_VM_SERVER_VIEW_DELEGATE_H_ |
| OLD | NEW |