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

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: Rebase and fix style issue 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void AccessibilityScrollToPoint( 93 virtual void AccessibilityScrollToPoint(
94 int acc_obj_id, const gfx::Point& point) OVERRIDE; 94 int acc_obj_id, const gfx::Point& point) OVERRIDE;
95 virtual void AccessibilitySetTextSelection( 95 virtual void AccessibilitySetTextSelection(
96 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 96 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
97 virtual bool AccessibilityViewHasFocus() const OVERRIDE; 97 virtual bool AccessibilityViewHasFocus() const OVERRIDE;
98 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE; 98 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE;
99 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 99 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
100 const OVERRIDE; 100 const OVERRIDE;
101 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE; 101 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE;
102 virtual void AccessibilityFatalError() OVERRIDE; 102 virtual void AccessibilityFatalError() OVERRIDE;
103 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE;
104 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible()
105 OVERRIDE;
103 106
104 void Init(); 107 void Init();
105 int routing_id() const { return routing_id_; } 108 int routing_id() const { return routing_id_; }
106 void OnCreateChildFrame(int new_routing_id, 109 void OnCreateChildFrame(int new_routing_id,
107 const std::string& frame_name); 110 const std::string& frame_name);
108 111
109 RenderViewHostImpl* render_view_host() { return render_view_host_; } 112 RenderViewHostImpl* render_view_host() { return render_view_host_; }
110 RenderFrameHostDelegate* delegate() { return delegate_; } 113 RenderFrameHostDelegate* delegate() { return delegate_; }
111 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } 114 FrameTreeNode* frame_tree_node() { return frame_tree_node_; }
112 // TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in 115 // TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 382 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
380 // The most recently received accessibility tree - for testing only. 383 // The most recently received accessibility tree - for testing only.
381 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 384 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
382 385
383 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 386 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
384 }; 387 };
385 388
386 } // namespace content 389 } // namespace content
387 390
388 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 391 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698