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

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.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_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // PlzNavigate 426 // PlzNavigate
427 // Clears the speculative members, returning the RenderFrameHost to the caller 427 // Clears the speculative members, returning the RenderFrameHost to the caller
428 // for disposal. 428 // for disposal.
429 scoped_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost(); 429 scoped_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost();
430 430
431 // Notification methods to tell this RenderFrameHostManager that the frame it 431 // Notification methods to tell this RenderFrameHostManager that the frame it
432 // is responsible for has started or stopped loading a document. 432 // is responsible for has started or stopped loading a document.
433 void OnDidStartLoading(); 433 void OnDidStartLoading();
434 void OnDidStopLoading(); 434 void OnDidStopLoading();
435 435
436 // Send updated frame name to all frame proxies when the frame changes its 436 // OnDidUpdateName gets called when a frame changes its name - it gets the new
437 // window.name property. 437 // |name| and the recalculated |unique_name| and replicates them into all
438 void OnDidUpdateName(const std::string& name); 438 // frame proxies.
439 void OnDidUpdateName(const std::string& name, const std::string& unique_name);
439 440
440 // Sends updated enforcement of strict mixed content checking to all 441 // Sends updated enforcement of strict mixed content checking to all
441 // frame proxies when the frame changes its setting. 442 // frame proxies when the frame changes its setting.
442 void OnEnforceStrictMixedContentChecking(bool should_enforce); 443 void OnEnforceStrictMixedContentChecking(bool should_enforce);
443 444
444 // Send updated origin to all frame proxies when the frame navigates to a new 445 // Send updated origin to all frame proxies when the frame navigates to a new
445 // origin. 446 // origin.
446 void OnDidUpdateOrigin(const url::Origin& origin); 447 void OnDidUpdateOrigin(const url::Origin& origin);
447 448
448 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, 449 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host,
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 778 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
778 779
779 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 780 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
780 781
781 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 782 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
782 }; 783 };
783 784
784 } // namespace content 785 } // namespace content
785 786
786 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 787 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698