OLD | NEW |
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 MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_ |
6 #define MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_ |
7 | 7 |
8 #include "mojo/services/accessibility/public/interfaces/accessibility.mojom.h" | |
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" | 8 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" |
| 9 #include "third_party/mojo_services/src/accessibility/public/interfaces/accessib
ility.mojom.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 class WebAXObject; | 12 class WebAXObject; |
13 class WebView; | 13 class WebView; |
14 } // namespace blink | 14 } // namespace blink |
15 | 15 |
16 namespace html_viewer { | 16 namespace html_viewer { |
17 | 17 |
18 // Caller must ensure that |web_view| outlives AxProviderImpl. | 18 // Caller must ensure that |web_view| outlives AxProviderImpl. |
19 class AxProviderImpl : public mojo::InterfaceImpl<mojo::AxProvider> { | 19 class AxProviderImpl : public mojo::InterfaceImpl<mojo::AxProvider> { |
(...skipping 10 matching lines...) Expand all Loading... |
30 mojo::AxNodePtr ConvertAxNode(const blink::WebAXObject& ax_object, | 30 mojo::AxNodePtr ConvertAxNode(const blink::WebAXObject& ax_object, |
31 int parent_id, | 31 int parent_id, |
32 int next_sibling_id); | 32 int next_sibling_id); |
33 | 33 |
34 blink::WebView* web_view_; | 34 blink::WebView* web_view_; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace html_viewer | 37 } // namespace html_viewer |
38 | 38 |
39 #endif // MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_ | 39 #endif // MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_ |
OLD | NEW |