Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Side by Side Diff: ui/views/accessibility/ax_window_obj_wrapper.h

Issue 2295183003: Update desktop tree when Aura windows are removed. (Closed)
Patch Set: Fix test. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_ 5 #ifndef UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
6 #define UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_ 6 #define UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 20 matching lines...) Expand all
31 void set_is_alert(bool is_alert) { is_alert_ = is_alert; } 31 void set_is_alert(bool is_alert) { is_alert_ = is_alert; }
32 32
33 // AXAuraObjWrapper overrides. 33 // AXAuraObjWrapper overrides.
34 AXAuraObjWrapper* GetParent() override; 34 AXAuraObjWrapper* GetParent() override;
35 void GetChildren(std::vector<AXAuraObjWrapper*>* out_children) override; 35 void GetChildren(std::vector<AXAuraObjWrapper*>* out_children) override;
36 void Serialize(ui::AXNodeData* out_node_data) override; 36 void Serialize(ui::AXNodeData* out_node_data) override;
37 int32_t GetID() override; 37 int32_t GetID() override;
38 38
39 // WindowObserver overrides. 39 // WindowObserver overrides.
40 void OnWindowDestroyed(aura::Window* window) override; 40 void OnWindowDestroyed(aura::Window* window) override;
41 void OnWindowDestroying(aura::Window* window) override;
42 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override;
41 43
42 private: 44 private:
43 aura::Window* window_; 45 aura::Window* window_;
44 46
45 bool is_alert_; 47 bool is_alert_;
46 48
47 DISALLOW_COPY_AND_ASSIGN(AXWindowObjWrapper); 49 DISALLOW_COPY_AND_ASSIGN(AXWindowObjWrapper);
48 }; 50 };
49 51
50 } // namespace views 52 } // namespace views
51 53
52 #endif // UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_ 54 #endif // UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
OLDNEW
« no previous file with comments | « ui/views/accessibility/ax_widget_obj_wrapper.cc ('k') | ui/views/accessibility/ax_window_obj_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698