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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 268543008: Cross-process iframe accessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // |cross_process_frame_connector| allows the non-swapped-out 84 // |cross_process_frame_connector| allows the non-swapped-out
85 // RenderFrameHost for a frame to communicate with the parent process 85 // RenderFrameHost for a frame to communicate with the parent process
86 // so that it may composite drawing data. 86 // so that it may composite drawing data.
87 // 87 //
88 // Ownership is not transfered. 88 // Ownership is not transfered.
89 void set_cross_process_frame_connector( 89 void set_cross_process_frame_connector(
90 CrossProcessFrameConnector* cross_process_frame_connector) { 90 CrossProcessFrameConnector* cross_process_frame_connector) {
91 cross_process_frame_connector_ = cross_process_frame_connector; 91 cross_process_frame_connector_ = cross_process_frame_connector;
92 } 92 }
93 93
94 CrossProcessFrameConnector* cross_process_frame_connector() const {
95 return cross_process_frame_connector_;
96 }
97
94 // Returns a bitwise OR of bindings types that have been enabled for this 98 // Returns a bitwise OR of bindings types that have been enabled for this
95 // RenderFrameHostImpl's RenderView. See BindingsPolicy for details. 99 // RenderFrameHostImpl's RenderView. See BindingsPolicy for details.
96 // TODO(creis): Make bindings frame-specific, to support cases like <webview>. 100 // TODO(creis): Make bindings frame-specific, to support cases like <webview>.
97 int GetEnabledBindings(); 101 int GetEnabledBindings();
98 102
99 // Called on the pending RenderFrameHost when the network response is ready to 103 // Called on the pending RenderFrameHost when the network response is ready to
100 // commit. We should ensure that the old RenderFrameHost runs its unload 104 // commit. We should ensure that the old RenderFrameHost runs its unload
101 // handler and determine whether a transfer to a different RenderFrameHost is 105 // handler and determine whether a transfer to a different RenderFrameHost is
102 // needed. 106 // needed.
103 void OnCrossSiteResponse( 107 void OnCrossSiteResponse(
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 base::TimeTicks send_before_unload_start_time_; 280 base::TimeTicks send_before_unload_start_time_;
277 281
278 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 282 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
279 283
280 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 284 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
281 }; 285 };
282 286
283 } // namespace content 287 } // namespace content
284 288
285 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 289 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698