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

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

Issue 1635873003: Replicating WebFrame::uniqueName across renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dump-render-tree3
Patch Set: Rebasing... Created 4 years, 10 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // Called for renderer-created windows to resume requests from this frame, 224 // Called for renderer-created windows to resume requests from this frame,
225 // after they are blocked in RenderWidgetHelper::CreateNewWindow. 225 // after they are blocked in RenderWidgetHelper::CreateNewWindow.
226 void Init(); 226 void Init();
227 227
228 int routing_id() const { return routing_id_; } 228 int routing_id() const { return routing_id_; }
229 void OnCreateChildFrame( 229 void OnCreateChildFrame(
230 int new_routing_id, 230 int new_routing_id,
231 blink::WebTreeScopeType scope, 231 blink::WebTreeScopeType scope,
232 const std::string& frame_name, 232 const std::string& frame_name,
233 const std::string& frame_unique_name,
233 blink::WebSandboxFlags sandbox_flags, 234 blink::WebSandboxFlags sandbox_flags,
234 const blink::WebFrameOwnerProperties& frame_owner_properties); 235 const blink::WebFrameOwnerProperties& frame_owner_properties);
235 236
236 RenderViewHostImpl* render_view_host() { return render_view_host_; } 237 RenderViewHostImpl* render_view_host() { return render_view_host_; }
237 RenderFrameHostDelegate* delegate() { return delegate_; } 238 RenderFrameHostDelegate* delegate() { return delegate_; }
238 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } 239 FrameTreeNode* frame_tree_node() { return frame_tree_node_; }
239 240
240 // Returns the associated WebUI or null if none applies. 241 // Returns the associated WebUI or null if none applies.
241 WebUIImpl* web_ui() const { return web_ui_.get(); } 242 WebUIImpl* web_ui() const { return web_ui_.get(); }
242 243
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 IPC::Message* reply_msg); 603 IPC::Message* reply_msg);
603 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 604 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
604 const base::string16& message, 605 const base::string16& message,
605 bool is_reload, 606 bool is_reload,
606 IPC::Message* reply_msg); 607 IPC::Message* reply_msg);
607 void OnTextSurroundingSelectionResponse(const base::string16& content, 608 void OnTextSurroundingSelectionResponse(const base::string16& content,
608 uint32_t start_offset, 609 uint32_t start_offset,
609 uint32_t end_offset); 610 uint32_t end_offset);
610 void OnDidAccessInitialDocument(); 611 void OnDidAccessInitialDocument();
611 void OnDidChangeOpener(int32_t opener_routing_id); 612 void OnDidChangeOpener(int32_t opener_routing_id);
612 void OnDidChangeName(const std::string& name); 613 void OnDidChangeName(const std::string& name, const std::string& unique_name);
613 void OnEnforceStrictMixedContentChecking(); 614 void OnEnforceStrictMixedContentChecking();
614 void OnDidAssignPageId(int32_t page_id); 615 void OnDidAssignPageId(int32_t page_id);
615 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 616 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
616 blink::WebSandboxFlags flags); 617 blink::WebSandboxFlags flags);
617 void OnDidChangeFrameOwnerProperties( 618 void OnDidChangeFrameOwnerProperties(
618 int32_t frame_routing_id, 619 int32_t frame_routing_id,
619 const blink::WebFrameOwnerProperties& frame_owner_properties); 620 const blink::WebFrameOwnerProperties& frame_owner_properties);
620 void OnUpdateTitle(const base::string16& title, 621 void OnUpdateTitle(const base::string16& title,
621 blink::WebTextDirection title_direction); 622 blink::WebTextDirection title_direction);
622 void OnUpdateEncoding(const std::string& encoding); 623 void OnUpdateEncoding(const std::string& encoding);
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 907
907 // NOTE: This must be the last member. 908 // NOTE: This must be the last member.
908 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 909 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
909 910
910 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 911 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
911 }; 912 };
912 913
913 } // namespace content 914 } // namespace content
914 915
915 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 916 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698