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

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

Issue 2456673002: Update focus when widget changes visibility. (Closed)
Patch Set: Created 4 years, 1 month 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_WIDGET_OBJ_WRAPPER_H_ 5 #ifndef UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_
6 #define UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ 6 #define UI_VIEWS_ACCESSIBILITY_AX_WIDGET_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 14 matching lines...) Expand all
25 25
26 // AXAuraObjWrapper overrides. 26 // AXAuraObjWrapper overrides.
27 AXAuraObjWrapper* GetParent() override; 27 AXAuraObjWrapper* GetParent() override;
28 void GetChildren(std::vector<AXAuraObjWrapper*>* out_children) override; 28 void GetChildren(std::vector<AXAuraObjWrapper*>* out_children) override;
29 void Serialize(ui::AXNodeData* out_node_data) override; 29 void Serialize(ui::AXNodeData* out_node_data) override;
30 int32_t GetID() override; 30 int32_t GetID() override;
31 31
32 // WidgetObserver overrides. 32 // WidgetObserver overrides.
33 void OnWidgetDestroying(Widget* widget) override; 33 void OnWidgetDestroying(Widget* widget) override;
34 void OnWidgetClosing(Widget* widget) override; 34 void OnWidgetClosing(Widget* widget) override;
35 void OnWidgetVisibilityChanged(Widget*, bool) override;
35 36
36 // WidgetRemovalsObserver overrides. 37 // WidgetRemovalsObserver overrides.
37 void OnWillRemoveView(Widget* widget, View* view) override; 38 void OnWillRemoveView(Widget* widget, View* view) override;
38 39
39 private: 40 private:
40 Widget* widget_; 41 Widget* widget_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper); 43 DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper);
43 }; 44 };
44 45
45 } // namespace views 46 } // namespace views
46 47
47 #endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ 48 #endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_
OLDNEW
« no previous file with comments | « ui/views/accessibility/ax_aura_obj_cache.cc ('k') | ui/views/accessibility/ax_widget_obj_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698