| 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_VIEW_OBSERVER_H_ | 5 #ifndef COMPONENTS_MUS_WS_SERVER_VIEW_OBSERVER_H_ |
| 6 #define COMPONENTS_MUS_WS_SERVER_VIEW_OBSERVER_H_ | 6 #define COMPONENTS_MUS_WS_SERVER_VIEW_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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 virtual void OnViewBoundsChanged(ServerView* view, | 45 virtual void OnViewBoundsChanged(ServerView* view, |
| 46 const gfx::Rect& old_bounds, | 46 const gfx::Rect& old_bounds, |
| 47 const gfx::Rect& new_bounds) {} | 47 const gfx::Rect& new_bounds) {} |
| 48 | 48 |
| 49 virtual void OnWindowClientAreaChanged(ServerView* window, | 49 virtual void OnWindowClientAreaChanged(ServerView* window, |
| 50 const gfx::Rect& old_client_area, | 50 const gfx::Rect& old_client_area, |
| 51 const gfx::Rect& new_client_area) {} | 51 const gfx::Rect& new_client_area) {} |
| 52 | 52 |
| 53 virtual void OnViewReordered(ServerView* view, | 53 virtual void OnViewReordered(ServerView* view, |
| 54 ServerView* relative, | 54 ServerView* relative, |
| 55 mojo::OrderDirection direction) {} | 55 mojom::OrderDirection direction) {} |
| 56 | 56 |
| 57 virtual void OnWillChangeViewVisibility(ServerView* view) {} | 57 virtual void OnWillChangeViewVisibility(ServerView* view) {} |
| 58 virtual void OnViewVisibilityChanged(ServerView* view) {} | 58 virtual void OnViewVisibilityChanged(ServerView* view) {} |
| 59 | 59 |
| 60 virtual void OnViewTextInputStateChanged(ServerView* view, | 60 virtual void OnViewTextInputStateChanged(ServerView* view, |
| 61 const ui::TextInputState& state) {} | 61 const ui::TextInputState& state) {} |
| 62 | 62 |
| 63 virtual void OnViewSharedPropertyChanged( | 63 virtual void OnViewSharedPropertyChanged( |
| 64 ServerView* view, | 64 ServerView* view, |
| 65 const std::string& name, | 65 const std::string& name, |
| 66 const std::vector<uint8_t>* new_data) {} | 66 const std::vector<uint8_t>* new_data) {} |
| 67 | 67 |
| 68 protected: | 68 protected: |
| 69 virtual ~ServerViewObserver() {} | 69 virtual ~ServerViewObserver() {} |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace mus | 72 } // namespace mus |
| 73 | 73 |
| 74 #endif // COMPONENTS_MUS_WS_SERVER_VIEW_OBSERVER_H_ | 74 #endif // COMPONENTS_MUS_WS_SERVER_VIEW_OBSERVER_H_ |
| OLD | NEW |