OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |