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

Side by Side Diff: content/renderer/render_frame_proxy.h

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: Revert unused changes from previous attempt + more cleanup. Created 5 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_RENDER_FRAME_PROXY_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 virtual void initializeChildFrame( 113 virtual void initializeChildFrame(
114 const blink::WebRect& frame_rect, 114 const blink::WebRect& frame_rect,
115 float scale_factor); 115 float scale_factor);
116 virtual void navigate(const blink::WebURLRequest& request, 116 virtual void navigate(const blink::WebURLRequest& request,
117 bool should_replace_current_entry); 117 bool should_replace_current_entry);
118 virtual void forwardInputEvent(const blink::WebInputEvent* event); 118 virtual void forwardInputEvent(const blink::WebInputEvent* event);
119 119
120 // IPC handlers 120 // IPC handlers
121 void OnDidStartLoading(); 121 void OnDidStartLoading();
122 122
123 void SetWebRemoteFrame(blink::WebRemoteFrame* remote_frame);
124
123 private: 125 private:
124 RenderFrameProxy(int routing_id, int frame_routing_id); 126 RenderFrameProxy(int routing_id, int frame_routing_id);
125 127
126 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); 128 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view);
127 129
128 // Navigating a top-level frame cross-process does not swap the WebLocalFrame 130 // Navigating a top-level frame cross-process does not swap the WebLocalFrame
129 // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame 131 // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame
130 // is not attached to the frame tree and there is no blink::Frame associated 132 // is not attached to the frame tree and there is no blink::Frame associated
131 // with it, so it is not in state where most operations on it will succeed. 133 // with it, so it is not in state where most operations on it will succeed.
132 bool IsMainFrameDetachedFromTree() const; 134 bool IsMainFrameDetachedFromTree() const;
(...skipping 20 matching lines...) Expand all
153 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 155 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
154 156
155 RenderViewImpl* render_view_; 157 RenderViewImpl* render_view_;
156 158
157 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 159 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
158 }; 160 };
159 161
160 } // namespace 162 } // namespace
161 163
162 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 164 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698