Chromium Code Reviews| Index: components/pdf/renderer/pdf_accessibility_tree.h |
| diff --git a/components/pdf/renderer/pdf_accessibility_tree.h b/components/pdf/renderer/pdf_accessibility_tree.h |
| index c0673dcaf3accf602e22366cc7ff2f267f9ae2c8..dbfd48909992fbad5d9f78939d61a5aaa81ff78c 100644 |
| --- a/components/pdf/renderer/pdf_accessibility_tree.h |
| +++ b/components/pdf/renderer/pdf_accessibility_tree.h |
| @@ -18,7 +18,8 @@ |
| namespace content { |
| class RenderAccessibility; |
| -class RenderView; |
| +class RenderFrame; |
| +class RendererPpapiHost; |
| } |
| namespace pdf { |
| @@ -28,7 +29,8 @@ class PdfAccessibilityTree |
| ui::AXNodeData, |
| ui::AXTreeData> { |
| public: |
| - explicit PdfAccessibilityTree(content::RenderView* render_view); |
| + explicit PdfAccessibilityTree(content::RendererPpapiHost* host, |
|
Lei Zhang
2016/07/15 19:26:21
explicit no longer needed.
dmazzoni
2016/07/18 04:28:32
Done
|
| + PP_Instance instance); |
| ~PdfAccessibilityTree() override; |
| void SetAccessibilityViewportInfo( |
| @@ -73,10 +75,11 @@ class PdfAccessibilityTree |
| gfx::RectF ToRectF(const PP_Rect& r); |
| ui::AXNodeData* CreateNode(ui::AXRole role); |
| float GetDeviceScaleFactor() const; |
| + content::RenderAccessibility* GetRenderAccessibility(); |
| ui::AXTree tree_; |
| - content::RenderView* render_view_; |
| - content::RenderAccessibility* render_accessibility_; |
| + content::RendererPpapiHost* host_; |
| + PP_Instance instance_; |
| double zoom_; |
| gfx::Vector2dF scroll_; |
| gfx::Vector2dF offset_; |