| 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 <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "components/mus/public/cpp/window.h" | 12 #include "components/mus/public/cpp/window.h" |
| 11 | 13 |
| 12 namespace mus { | 14 namespace mus { |
| 13 | 15 |
| 14 class Window; | 16 class Window; |
| 15 | 17 |
| 16 // A note on -ing and -ed suffixes: | 18 // A note on -ing and -ed suffixes: |
| 17 // | 19 // |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // allows the close it should destroy the window as appropriate. | 102 // allows the close it should destroy the window as appropriate. |
| 101 virtual void OnRequestClose(Window* window) {} | 103 virtual void OnRequestClose(Window* window) {} |
| 102 | 104 |
| 103 protected: | 105 protected: |
| 104 virtual ~WindowObserver() {} | 106 virtual ~WindowObserver() {} |
| 105 }; | 107 }; |
| 106 | 108 |
| 107 } // namespace mus | 109 } // namespace mus |
| 108 | 110 |
| 109 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ | 111 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ |
| OLD | NEW |