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

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

Issue 415633002: Simplify access to LegacyRenderWidgetHostHWND. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render_frame_ax_4
Patch Set: Created 6 years, 5 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
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void AccessibilityScrollToPoint( 92 virtual void AccessibilityScrollToPoint(
93 int acc_obj_id, const gfx::Point& point) OVERRIDE; 93 int acc_obj_id, const gfx::Point& point) OVERRIDE;
94 virtual void AccessibilitySetTextSelection( 94 virtual void AccessibilitySetTextSelection(
95 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 95 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
96 virtual bool AccessibilityViewHasFocus() const OVERRIDE; 96 virtual bool AccessibilityViewHasFocus() const OVERRIDE;
97 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE; 97 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE;
98 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 98 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
99 const OVERRIDE; 99 const OVERRIDE;
100 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE; 100 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE;
101 virtual void AccessibilityFatalError() OVERRIDE; 101 virtual void AccessibilityFatalError() OVERRIDE;
102 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE;
103 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible()
104 OVERRIDE;
102 105
103 void Init(); 106 void Init();
104 int routing_id() const { return routing_id_; } 107 int routing_id() const { return routing_id_; }
105 void OnCreateChildFrame(int new_routing_id, 108 void OnCreateChildFrame(int new_routing_id,
106 const std::string& frame_name); 109 const std::string& frame_name);
107 110
108 RenderViewHostImpl* render_view_host() { return render_view_host_; } 111 RenderViewHostImpl* render_view_host() { return render_view_host_; }
109 RenderFrameHostDelegate* delegate() { return delegate_; } 112 RenderFrameHostDelegate* delegate() { return delegate_; }
110 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } 113 FrameTreeNode* frame_tree_node() { return frame_tree_node_; }
111 // TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in 114 // TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 378 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
376 // The most recently received accessibility tree - for testing only. 379 // The most recently received accessibility tree - for testing only.
377 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 380 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
378 381
379 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 382 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
380 }; 383 };
381 384
382 } // namespace content 385 } // namespace content
383 386
384 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 387 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698