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

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: Address feedback Created 6 years, 4 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 98 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
99 virtual bool AccessibilityViewHasFocus() const OVERRIDE; 99 virtual bool AccessibilityViewHasFocus() const OVERRIDE;
100 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE; 100 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE;
101 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 101 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
102 const OVERRIDE; 102 const OVERRIDE;
103 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE; 103 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE;
104 virtual void AccessibilityFatalError() OVERRIDE; 104 virtual void AccessibilityFatalError() OVERRIDE;
105 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE; 105 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE;
106 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() 106 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible()
107 OVERRIDE; 107 OVERRIDE;
108 virtual BrowserAccessibilityManager* AccessibilityGetChildFrame(
109 int64 frame_tree_node_id) OVERRIDE;
110 virtual BrowserAccessibilityManager* AccessibilityGetParentFrame() OVERRIDE;
108 111
109 bool CreateRenderFrame(int parent_routing_id); 112 bool CreateRenderFrame(int parent_routing_id);
110 bool IsRenderFrameLive(); 113 bool IsRenderFrameLive();
111 void Init(); 114 void Init();
112 int routing_id() const { return routing_id_; } 115 int routing_id() const { return routing_id_; }
113 void OnCreateChildFrame(int new_routing_id, 116 void OnCreateChildFrame(int new_routing_id,
114 const std::string& frame_name); 117 const std::string& frame_name);
115 118
116 RenderViewHostImpl* render_view_host() { return render_view_host_; } 119 RenderViewHostImpl* render_view_host() { return render_view_host_; }
117 RenderFrameHostDelegate* delegate() { return delegate_; } 120 RenderFrameHostDelegate* delegate() { return delegate_; }
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 427 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
425 // The most recently received accessibility tree - for testing only. 428 // The most recently received accessibility tree - for testing only.
426 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 429 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
427 430
428 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 431 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
429 }; 432 };
430 433
431 } // namespace content 434 } // namespace content
432 435
433 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 436 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698