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

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

Issue 577793002: Replace missing call to RenderFrameHostImpl::Init(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 113 virtual BrowserAccessibilityManager* AccessibilityGetChildFrame(
114 int accessibility_node_id) OVERRIDE; 114 int accessibility_node_id) OVERRIDE;
115 virtual BrowserAccessibility* AccessibilityGetParentFrame() OVERRIDE; 115 virtual BrowserAccessibility* AccessibilityGetParentFrame() OVERRIDE;
116 116
117 bool CreateRenderFrame(int parent_routing_id); 117 bool CreateRenderFrame(int parent_routing_id);
118 bool IsRenderFrameLive(); 118 bool IsRenderFrameLive();
119
120 // Called for renderer-created windows to resume requests from this frame,
121 // after they are blocked in RenderWidgetHelper::CreateNewWindow.
119 void Init(); 122 void Init();
123
120 int routing_id() const { return routing_id_; } 124 int routing_id() const { return routing_id_; }
121 void OnCreateChildFrame(int new_routing_id, 125 void OnCreateChildFrame(int new_routing_id,
122 const std::string& frame_name); 126 const std::string& frame_name);
123 127
124 RenderViewHostImpl* render_view_host() { return render_view_host_; } 128 RenderViewHostImpl* render_view_host() { return render_view_host_; }
125 RenderFrameHostDelegate* delegate() { return delegate_; } 129 RenderFrameHostDelegate* delegate() { return delegate_; }
126 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } 130 FrameTreeNode* frame_tree_node() { return frame_tree_node_; }
127 // TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in 131 // TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in
128 // the future, so update this accessor to return the right pointer. 132 // the future, so update this accessor to return the right pointer.
129 RenderWidgetHostImpl* GetRenderWidgetHost(); 133 RenderWidgetHostImpl* GetRenderWidgetHost();
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 468 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
465 // The most recently received accessibility tree - for testing only. 469 // The most recently received accessibility tree - for testing only.
466 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 470 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
467 471
468 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 472 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
469 }; 473 };
470 474
471 } // namespace content 475 } // namespace content
472 476
473 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 477 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698