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

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

Issue 574403002: If a RemoteFrame asks to navigate, send an OpenURL IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable new test on android/chrome, like others in the same file Created 6 years, 2 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/browser/site_per_process_browsertest.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/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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // blink::WebRemoteFrameClient implementation: 96 // blink::WebRemoteFrameClient implementation:
97 virtual void postMessageEvent( 97 virtual void postMessageEvent(
98 blink::WebLocalFrame* sourceFrame, 98 blink::WebLocalFrame* sourceFrame,
99 blink::WebRemoteFrame* targetFrame, 99 blink::WebRemoteFrame* targetFrame,
100 blink::WebSecurityOrigin target, 100 blink::WebSecurityOrigin target,
101 blink::WebDOMMessageEvent event); 101 blink::WebDOMMessageEvent event);
102 virtual void initializeChildFrame( 102 virtual void initializeChildFrame(
103 const blink::WebRect& frame_rect, 103 const blink::WebRect& frame_rect,
104 float scale_factor); 104 float scale_factor);
105 virtual void navigate(const blink::WebURLRequest& request,
106 bool should_replace_current_entry);
105 107
106 private: 108 private:
107 RenderFrameProxy(int routing_id, int frame_routing_id); 109 RenderFrameProxy(int routing_id, int frame_routing_id);
108 110
109 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); 111 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view);
110 112
111 // IPC::Listener 113 // IPC::Listener
112 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 114 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
113 115
114 // IPC handlers 116 // IPC handlers
(...skipping 14 matching lines...) Expand all
129 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 131 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
130 132
131 RenderViewImpl* render_view_; 133 RenderViewImpl* render_view_;
132 134
133 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 135 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
134 }; 136 };
135 137
136 } // namespace 138 } // namespace
137 139
138 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 140 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698