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

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: Removed the Call to WebRemoteFrameImpl::close() and WebViewHelper::reset() in the Destructor of the … Created 4 years, 11 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/common/frame_messages.h ('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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void postMessageEvent(blink::WebLocalFrame* sourceFrame, 125 void postMessageEvent(blink::WebLocalFrame* sourceFrame,
126 blink::WebRemoteFrame* targetFrame, 126 blink::WebRemoteFrame* targetFrame,
127 blink::WebSecurityOrigin target, 127 blink::WebSecurityOrigin target,
128 blink::WebDOMMessageEvent event) override; 128 blink::WebDOMMessageEvent event) override;
129 void initializeChildFrame(const blink::WebRect& frame_rect, 129 void initializeChildFrame(const blink::WebRect& frame_rect,
130 float scale_factor) override; 130 float scale_factor) override;
131 void navigate(const blink::WebURLRequest& request, 131 void navigate(const blink::WebURLRequest& request,
132 bool should_replace_current_entry) override; 132 bool should_replace_current_entry) override;
133 void forwardInputEvent(const blink::WebInputEvent* event) override; 133 void forwardInputEvent(const blink::WebInputEvent* event) override;
134 void frameRectsChanged(const blink::WebRect& frame_rect) override; 134 void frameRectsChanged(const blink::WebRect& frame_rect) override;
135 void visibilityChanged(bool visible) override;
135 void didChangeOpener(blink::WebFrame* opener) override; 136 void didChangeOpener(blink::WebFrame* opener) override;
136 void advanceFocus(blink::WebFocusType type, 137 void advanceFocus(blink::WebFocusType type,
137 blink::WebLocalFrame* source) override; 138 blink::WebLocalFrame* source) override;
138 void frameFocused() override; 139 void frameFocused() override;
139 140
140 // IPC handlers 141 // IPC handlers
141 void OnDidStartLoading(); 142 void OnDidStartLoading();
142 143
143 private: 144 private:
144 RenderFrameProxy(int routing_id, int frame_routing_id); 145 RenderFrameProxy(int routing_id, int frame_routing_id);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 179 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
179 180
180 RenderViewImpl* render_view_; 181 RenderViewImpl* render_view_;
181 182
182 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 183 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
183 }; 184 };
184 185
185 } // namespace 186 } // namespace
186 187
187 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 188 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698