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

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

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void postMessageEvent(blink::WebLocalFrame* sourceFrame, 124 void postMessageEvent(blink::WebLocalFrame* sourceFrame,
125 blink::WebRemoteFrame* targetFrame, 125 blink::WebRemoteFrame* targetFrame,
126 blink::WebSecurityOrigin target, 126 blink::WebSecurityOrigin target,
127 blink::WebDOMMessageEvent event) override; 127 blink::WebDOMMessageEvent event) override;
128 void initializeChildFrame(const blink::WebRect& frame_rect, 128 void initializeChildFrame(const blink::WebRect& frame_rect,
129 float scale_factor) override; 129 float scale_factor) override;
130 void navigate(const blink::WebURLRequest& request, 130 void navigate(const blink::WebURLRequest& request,
131 bool should_replace_current_entry) override; 131 bool should_replace_current_entry) override;
132 void forwardInputEvent(const blink::WebInputEvent* event) override; 132 void forwardInputEvent(const blink::WebInputEvent* event) override;
133 void frameRectsChanged(const blink::WebRect& frame_rect) override; 133 void frameRectsChanged(const blink::WebRect& frame_rect) override;
134 void visibilityChanged(bool visible) override;
134 void didChangeOpener(blink::WebFrame* opener) override; 135 void didChangeOpener(blink::WebFrame* opener) override;
135 136
136 // IPC handlers 137 // IPC handlers
137 void OnDidStartLoading(); 138 void OnDidStartLoading();
138 139
139 private: 140 private:
140 RenderFrameProxy(int routing_id, int frame_routing_id); 141 RenderFrameProxy(int routing_id, int frame_routing_id);
141 142
142 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); 143 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view);
143 144
(...skipping 29 matching lines...) Expand all
173 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 174 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
174 175
175 RenderViewImpl* render_view_; 176 RenderViewImpl* render_view_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 178 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
178 }; 179 };
179 180
180 } // namespace 181 } // namespace
181 182
182 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 183 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698