| 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 COMPONENTS_PDF_RENDERER_PDF_ACCESSIBILITY_TREE_H_ | 5 #ifndef COMPONENTS_PDF_RENDERER_PDF_ACCESSIBILITY_TREE_H_ |
| 6 #define COMPONENTS_PDF_RENDERER_PDF_ACCESSIBILITY_TREE_H_ | 6 #define COMPONENTS_PDF_RENDERER_PDF_ACCESSIBILITY_TREE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
| 12 #include "ppapi/c/private/ppb_pdf.h" | 12 #include "ppapi/c/private/ppb_pdf.h" |
| 13 #include "ui/accessibility/ax_node.h" | 13 #include "ui/accessibility/ax_node.h" |
| 14 #include "ui/accessibility/ax_tree.h" | 14 #include "ui/accessibility/ax_tree.h" |
| 15 #include "ui/accessibility/ax_tree_source.h" | 15 #include "ui/accessibility/ax_tree_source.h" |
| 16 #include "ui/gfx/geometry/rect_f.h" | 16 #include "ui/gfx/geometry/rect_f.h" |
| 17 #include "ui/gfx/geometry/vector2d_f.h" | 17 #include "ui/gfx/geometry/vector2d_f.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class RenderAccessibility; | 20 class RenderAccessibility; |
| 21 class RenderFrame; | |
| 22 class RendererPpapiHost; | 21 class RendererPpapiHost; |
| 23 } | 22 } |
| 24 | 23 |
| 25 namespace gfx { | 24 namespace gfx { |
| 26 class Transform; | 25 class Transform; |
| 27 }; | 26 }; |
| 28 | 27 |
| 29 namespace pdf { | 28 namespace pdf { |
| 30 | 29 |
| 31 class PdfAccessibilityTree | 30 class PdfAccessibilityTree |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 gfx::Vector2dF scroll_; | 88 gfx::Vector2dF scroll_; |
| 90 gfx::Vector2dF offset_; | 89 gfx::Vector2dF offset_; |
| 91 PP_PrivateAccessibilityDocInfo doc_info_; | 90 PP_PrivateAccessibilityDocInfo doc_info_; |
| 92 ui::AXNodeData* doc_node_; | 91 ui::AXNodeData* doc_node_; |
| 93 std::vector<std::unique_ptr<ui::AXNodeData>> nodes_; | 92 std::vector<std::unique_ptr<ui::AXNodeData>> nodes_; |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace pdf; | 95 } // namespace pdf; |
| 97 | 96 |
| 98 #endif // COMPONENTS_PDF_RENDERER_PDF_ACCESSIBILITY_TREE_H_ | 97 #endif // COMPONENTS_PDF_RENDERER_PDF_ACCESSIBILITY_TREE_H_ |
| OLD | NEW |