OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 UI_AURA_WINDOW_PORT_LOCAL_H_ | 5 #ifndef UI_AURA_WINDOW_PORT_LOCAL_H_ |
6 #define UI_AURA_WINDOW_PORT_LOCAL_H_ | 6 #define UI_AURA_WINDOW_PORT_LOCAL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/aura/window_port.h" | 9 #include "ui/aura/window_port.h" |
10 #include "ui/base/property_data.h" | 10 #include "ui/base/property_data.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 void OnDeviceScaleFactorChanged(float device_scale_factor) override; | 24 void OnDeviceScaleFactorChanged(float device_scale_factor) override; |
25 void OnWillAddChild(Window* child) override; | 25 void OnWillAddChild(Window* child) override; |
26 void OnWillRemoveChild(Window* child) override; | 26 void OnWillRemoveChild(Window* child) override; |
27 void OnWillMoveChild(size_t current_index, size_t dest_index) override; | 27 void OnWillMoveChild(size_t current_index, size_t dest_index) override; |
28 void OnVisibilityChanged(bool visible) override; | 28 void OnVisibilityChanged(bool visible) override; |
29 void OnDidChangeBounds(const gfx::Rect& old_bounds, | 29 void OnDidChangeBounds(const gfx::Rect& old_bounds, |
30 const gfx::Rect& new_bounds) override; | 30 const gfx::Rect& new_bounds) override; |
31 std::unique_ptr<ui::PropertyData> OnWillChangeProperty( | 31 std::unique_ptr<ui::PropertyData> OnWillChangeProperty( |
32 const void* key) override; | 32 const void* key) override; |
33 void OnPropertyChanged(const void* key, | 33 void OnPropertyChanged(const void* key, |
| 34 int64_t old_value, |
34 std::unique_ptr<ui::PropertyData> data) override; | 35 std::unique_ptr<ui::PropertyData> data) override; |
35 | 36 |
36 private: | 37 private: |
37 Window* window_; | 38 Window* window_; |
38 | 39 |
39 DISALLOW_COPY_AND_ASSIGN(WindowPortLocal); | 40 DISALLOW_COPY_AND_ASSIGN(WindowPortLocal); |
40 }; | 41 }; |
41 | 42 |
42 } // namespace aura | 43 } // namespace aura |
43 | 44 |
44 #endif // UI_AURA_WINDOW_PORT_LOCAL_H_ | 45 #endif // UI_AURA_WINDOW_PORT_LOCAL_H_ |
OLD | NEW |