| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ | 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ |
| 6 #define SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ | 6 #define SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void OnWillChangeWindowHierarchy(ServerWindow* window, | 42 virtual void OnWillChangeWindowHierarchy(ServerWindow* window, |
| 43 ServerWindow* new_parent, | 43 ServerWindow* new_parent, |
| 44 ServerWindow* old_parent) {} | 44 ServerWindow* old_parent) {} |
| 45 | 45 |
| 46 virtual void OnWindowHierarchyChanged(ServerWindow* window, | 46 virtual void OnWindowHierarchyChanged(ServerWindow* window, |
| 47 ServerWindow* new_parent, | 47 ServerWindow* new_parent, |
| 48 ServerWindow* old_parent) {} | 48 ServerWindow* old_parent) {} |
| 49 | 49 |
| 50 virtual void OnWindowBoundsChanged(ServerWindow* window, | 50 virtual void OnWindowBoundsChanged(ServerWindow* window, |
| 51 const gfx::Rect& old_bounds, | 51 const gfx::Rect& old_bounds, |
| 52 const gfx::Rect& new_bounds) {} | 52 const gfx::Rect& new_bounds, |
| 53 const cc::LocalFrameId& local_frame_id) {} |
| 53 | 54 |
| 54 virtual void OnWindowClientAreaChanged( | 55 virtual void OnWindowClientAreaChanged( |
| 55 ServerWindow* window, | 56 ServerWindow* window, |
| 56 const gfx::Insets& new_client_area, | 57 const gfx::Insets& new_client_area, |
| 57 const std::vector<gfx::Rect>& new_additional_client_areas) {} | 58 const std::vector<gfx::Rect>& new_additional_client_areas) {} |
| 58 | 59 |
| 59 virtual void OnWindowReordered(ServerWindow* window, | 60 virtual void OnWindowReordered(ServerWindow* window, |
| 60 ServerWindow* relative, | 61 ServerWindow* relative, |
| 61 mojom::OrderDirection direction) {} | 62 mojom::OrderDirection direction) {} |
| 62 | 63 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 92 | 93 |
| 93 protected: | 94 protected: |
| 94 virtual ~ServerWindowObserver() {} | 95 virtual ~ServerWindowObserver() {} |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace ws | 98 } // namespace ws |
| 98 | 99 |
| 99 } // namespace ui | 100 } // namespace ui |
| 100 | 101 |
| 101 #endif // SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ | 102 #endif // SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ |
| OLD | NEW |