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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 268543008: Cross-process iframe accessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only run the test on Mac and Linux for now Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 103 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
104 virtual bool AccessibilityViewHasFocus() const OVERRIDE; 104 virtual bool AccessibilityViewHasFocus() const OVERRIDE;
105 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE; 105 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE;
106 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 106 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
107 const OVERRIDE; 107 const OVERRIDE;
108 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE; 108 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE;
109 virtual void AccessibilityFatalError() OVERRIDE; 109 virtual void AccessibilityFatalError() OVERRIDE;
110 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE; 110 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE;
111 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() 111 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible()
112 OVERRIDE; 112 OVERRIDE;
113 virtual BrowserAccessibilityManager* AccessibilityGetChildFrame(
114 int64 frame_tree_node_id) OVERRIDE;
115 virtual BrowserAccessibilityManager* AccessibilityGetParentFrame() OVERRIDE;
113 116
114 bool CreateRenderFrame(int parent_routing_id); 117 bool CreateRenderFrame(int parent_routing_id);
115 bool IsRenderFrameLive(); 118 bool IsRenderFrameLive();
116 void Init(); 119 void Init();
117 int routing_id() const { return routing_id_; } 120 int routing_id() const { return routing_id_; }
118 void OnCreateChildFrame(int new_routing_id, 121 void OnCreateChildFrame(int new_routing_id,
119 const std::string& frame_name); 122 const std::string& frame_name);
120 123
121 RenderViewHostImpl* render_view_host() { return render_view_host_; } 124 RenderViewHostImpl* render_view_host() { return render_view_host_; }
122 RenderFrameHostDelegate* delegate() { return delegate_; } 125 RenderFrameHostDelegate* delegate() { return delegate_; }
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 451 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
449 // The most recently received accessibility tree - for testing only. 452 // The most recently received accessibility tree - for testing only.
450 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 453 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
451 454
452 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 455 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
453 }; 456 };
454 457
455 } // namespace content 458 } // namespace content
456 459
457 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 460 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698