| 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_PUBLIC_CPP_WINDOW_OBSERVER_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "components/mus/public/cpp/window.h" | 10 #include "components/mus/public/cpp/window.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 intptr_t old) {} | 90 intptr_t old) {} |
| 91 | 91 |
| 92 virtual void OnWindowEmbeddedAppDisconnected(Window* window) {} | 92 virtual void OnWindowEmbeddedAppDisconnected(Window* window) {} |
| 93 | 93 |
| 94 // Sent when the drawn state changes. This is only sent for the root nodes | 94 // Sent when the drawn state changes. This is only sent for the root nodes |
| 95 // when embedded. | 95 // when embedded. |
| 96 virtual void OnWindowDrawnChanging(Window* window) {} | 96 virtual void OnWindowDrawnChanging(Window* window) {} |
| 97 virtual void OnWindowDrawnChanged(Window* window) {} | 97 virtual void OnWindowDrawnChanged(Window* window) {} |
| 98 | 98 |
| 99 protected: | 99 protected: |
| 100 WindowObserver() = default; |
| 100 virtual ~WindowObserver() {} | 101 virtual ~WindowObserver() {} |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 } // namespace mus | 104 } // namespace mus |
| 104 | 105 |
| 105 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ | 106 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ |
| OLD | NEW |