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 COMPONENTS_MUS_WS_SERVER_WINDOW_OBSERVER_H_ | 5 #ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_OBSERVER_H_ |
6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_OBSERVER_H_ | 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_OBSERVER_H_ |
7 | 7 |
8 #include "components/mus/public/interfaces/mus_constants.mojom.h" | 8 #include "components/mus/public/interfaces/mus_constants.mojom.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 const gfx::Insets& old_client_area, | 49 const gfx::Insets& old_client_area, |
50 const gfx::Insets& new_client_area) {} | 50 const gfx::Insets& new_client_area) {} |
51 | 51 |
52 virtual void OnWindowReordered(ServerWindow* window, | 52 virtual void OnWindowReordered(ServerWindow* window, |
53 ServerWindow* relative, | 53 ServerWindow* relative, |
54 mojom::OrderDirection direction) {} | 54 mojom::OrderDirection direction) {} |
55 | 55 |
56 virtual void OnWillChangeWindowVisibility(ServerWindow* window) {} | 56 virtual void OnWillChangeWindowVisibility(ServerWindow* window) {} |
57 virtual void OnWindowVisibilityChanged(ServerWindow* window) {} | 57 virtual void OnWindowVisibilityChanged(ServerWindow* window) {} |
58 | 58 |
59 virtual void OnWindowCursorChanged(ServerWindow* window, int32_t cursor_id) {} | |
sky
2015/12/01 21:48:00
Is there a reason you're not using standard here?
| |
60 | |
59 virtual void OnWindowTextInputStateChanged(ServerWindow* window, | 61 virtual void OnWindowTextInputStateChanged(ServerWindow* window, |
60 const ui::TextInputState& state) {} | 62 const ui::TextInputState& state) {} |
61 | 63 |
62 virtual void OnWindowSharedPropertyChanged( | 64 virtual void OnWindowSharedPropertyChanged( |
63 ServerWindow* window, | 65 ServerWindow* window, |
64 const std::string& name, | 66 const std::string& name, |
65 const std::vector<uint8_t>* new_data) {} | 67 const std::vector<uint8_t>* new_data) {} |
66 | 68 |
67 // Called when a transient child is added to |window|. | 69 // Called when a transient child is added to |window|. |
68 virtual void OnTransientWindowAdded(ServerWindow* window, | 70 virtual void OnTransientWindowAdded(ServerWindow* window, |
69 ServerWindow* transient_child) {} | 71 ServerWindow* transient_child) {} |
70 | 72 |
71 // Called when a transient child is removed from |window|. | 73 // Called when a transient child is removed from |window|. |
72 virtual void OnTransientWindowRemoved(ServerWindow* window, | 74 virtual void OnTransientWindowRemoved(ServerWindow* window, |
73 ServerWindow* transient_child) {} | 75 ServerWindow* transient_child) {} |
74 | 76 |
75 protected: | 77 protected: |
76 virtual ~ServerWindowObserver() {} | 78 virtual ~ServerWindowObserver() {} |
77 }; | 79 }; |
78 | 80 |
79 } // namespace ws | 81 } // namespace ws |
80 | 82 |
81 } // namespace mus | 83 } // namespace mus |
82 | 84 |
83 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_OBSERVER_H_ | 85 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_OBSERVER_H_ |
OLD | NEW |