OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ASH_COMMON_DEVTOOLS_UI_ELEMENT_DELEGATE_H_ | |
6 #define ASH_COMMON_DEVTOOLS_UI_ELEMENT_DELEGATE_H_ | |
sadrul
2017/05/01 16:22:27
Make sure to update these
thanhph
2017/05/03 21:58:10
Done.
| |
7 | |
8 #include <vector> | |
9 | |
10 #include "ash/ash_export.h" | |
11 #include "base/macros.h" | |
12 | |
13 namespace ash { | |
14 namespace devtools { | |
15 | |
16 class UIElement; | |
17 | |
18 class ASH_EXPORT UIElementDelegate { | |
19 public: | |
20 UIElementDelegate(){}; | |
21 ~UIElementDelegate(){}; | |
22 virtual void OnUIElementAdded( | |
23 int node_id, | |
24 UIElement* child_ui_element, | |
25 std::vector<UIElement*>::iterator prev_siblings); | |
sadrul
2017/05/01 16:22:27
This should be:
virtual void OnUIElementAdded(U
thanhph
2017/05/03 21:58:10
Done.
| |
26 virtual void RemoveNodeIdMap(int node_id); | |
27 virtual bool OnUIElementRemoved(int node_id); | |
28 virtual void OnUIElementBoundsChanged(int node_id); | |
sadrul
2017/05/01 16:22:27
Instead of getting node-id, can these callbacks ge
thanhph
2017/05/03 21:58:10
Done.
| |
29 | |
30 DISALLOW_COPY_AND_ASSIGN(UIElementDelegate); | |
31 }; | |
32 | |
33 } // namespace devtools | |
34 } // namespace ash | |
35 | |
36 #endif // ASH_COMMON_DEVTOOLS_UI_ELEMENT_DELEGATE_H_ | |
OLD | NEW |