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

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

Issue 2781723007: Plumb initiator out of Blink. (Closed)
Patch Set: Created 3 years, 8 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 | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.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 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/macros.h" 8 #include "base/macros.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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 // Returns the widget used for the local frame root. 127 // Returns the widget used for the local frame root.
128 RenderWidget* render_widget() { return render_widget_; } 128 RenderWidget* render_widget() { return render_widget_; }
129 129
130 // blink::WebRemoteFrameClient implementation: 130 // blink::WebRemoteFrameClient implementation:
131 void frameDetached(DetachType type) override; 131 void frameDetached(DetachType type) override;
132 void forwardPostMessage(blink::WebLocalFrame* sourceFrame, 132 void forwardPostMessage(blink::WebLocalFrame* sourceFrame,
133 blink::WebRemoteFrame* targetFrame, 133 blink::WebRemoteFrame* targetFrame,
134 blink::WebSecurityOrigin target, 134 blink::WebSecurityOrigin target,
135 blink::WebDOMMessageEvent event) override; 135 blink::WebDOMMessageEvent event) override;
136 void navigate(const blink::WebURLRequest& request, 136 void navigate(blink::WebLocalFrame* initiatorFrame,
137 const blink::WebURLRequest& request,
137 bool should_replace_current_entry) override; 138 bool should_replace_current_entry) override;
138 void frameRectsChanged(const blink::WebRect& frame_rect) override; 139 void frameRectsChanged(const blink::WebRect& frame_rect) override;
139 void updateRemoteViewportIntersection( 140 void updateRemoteViewportIntersection(
140 const blink::WebRect& viewportIntersection) override; 141 const blink::WebRect& viewportIntersection) override;
141 void visibilityChanged(bool visible) override; 142 void visibilityChanged(bool visible) override;
142 void didChangeOpener(blink::WebFrame* opener) override; 143 void didChangeOpener(blink::WebFrame* opener) override;
143 void advanceFocus(blink::WebFocusType type, 144 void advanceFocus(blink::WebFocusType type,
144 blink::WebLocalFrame* source) override; 145 blink::WebLocalFrame* source) override;
145 void frameFocused() override; 146 void frameFocused() override;
146 147
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 RenderViewImpl* render_view_; 196 RenderViewImpl* render_view_;
196 RenderWidget* render_widget_; 197 RenderWidget* render_widget_;
197 198
198 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 199 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
199 }; 200 };
200 201
201 } // namespace 202 } // namespace
202 203
203 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 204 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698