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

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

Issue 974723002: OOPIF: Replicate dynamic window.name updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // PlzNavigate 402 // PlzNavigate
403 // Clears the speculative members, returning the RenderFrameHost to the caller 403 // Clears the speculative members, returning the RenderFrameHost to the caller
404 // for disposal. 404 // for disposal.
405 scoped_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost(); 405 scoped_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost();
406 406
407 // Notification methods to tell this RenderFrameHostManager that the frame it 407 // Notification methods to tell this RenderFrameHostManager that the frame it
408 // is responsible for has started or stopped loading a document. 408 // is responsible for has started or stopped loading a document.
409 void OnDidStartLoading(); 409 void OnDidStartLoading();
410 void OnDidStopLoading(); 410 void OnDidStopLoading();
411 411
412 // Send updated frame name to all frame proxies when the frame changes its
413 // window.name property.
414 void OnDidUpdateName(const std::string& name);
415
412 void EnsureRenderViewInitialized(FrameTreeNode* source, 416 void EnsureRenderViewInitialized(FrameTreeNode* source,
413 RenderViewHostImpl* render_view_host, 417 RenderViewHostImpl* render_view_host,
414 SiteInstance* instance); 418 SiteInstance* instance);
415 419
416 private: 420 private:
417 friend class NavigatorTestWithBrowserSideNavigation; 421 friend class NavigatorTestWithBrowserSideNavigation;
418 friend class RenderFrameHostManagerTest; 422 friend class RenderFrameHostManagerTest;
419 friend class TestWebContents; 423 friend class TestWebContents;
420 424
421 FRIEND_TEST_ALL_PREFIXES(CrossProcessFrameTreeBrowserTest, 425 FRIEND_TEST_ALL_PREFIXES(CrossProcessFrameTreeBrowserTest,
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 bool should_reuse_web_ui_; 697 bool should_reuse_web_ui_;
694 698
695 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 699 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
696 700
697 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 701 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
698 }; 702 };
699 703
700 } // namespace content 704 } // namespace content
701 705
702 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 706 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698