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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 IPC::Message* reply_msg) {} | 83 IPC::Message* reply_msg) {} |
84 | 84 |
85 // Another page accessed the top-level initial empty document, which means it | 85 // Another page accessed the top-level initial empty document, which means it |
86 // is no longer safe to display a pending URL without risking a URL spoof. | 86 // is no longer safe to display a pending URL without risking a URL spoof. |
87 virtual void DidAccessInitialDocument() {} | 87 virtual void DidAccessInitialDocument() {} |
88 | 88 |
89 // The frame changed its window.name property. | 89 // The frame changed its window.name property. |
90 virtual void DidChangeName(RenderFrameHost* render_frame_host, | 90 virtual void DidChangeName(RenderFrameHost* render_frame_host, |
91 const std::string& name) {} | 91 const std::string& name) {} |
92 | 92 |
93 // The frame set its opener to null, disowning it for the lifetime of the | |
94 // window. Only called for the top-level frame. | |
95 virtual void DidDisownOpener(RenderFrameHost* render_frame_host) {} | |
96 | |
97 // The onload handler in the frame has completed. Only called for the top- | 93 // The onload handler in the frame has completed. Only called for the top- |
98 // level frame. | 94 // level frame. |
99 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {} | 95 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {} |
100 | 96 |
101 // The page's title was changed and should be updated. Only called for the | 97 // The page's title was changed and should be updated. Only called for the |
102 // top-level frame. | 98 // top-level frame. |
103 virtual void UpdateTitle(RenderFrameHost* render_frame_host, | 99 virtual void UpdateTitle(RenderFrameHost* render_frame_host, |
104 int32 page_id, | 100 int32 page_id, |
105 const base::string16& title, | 101 const base::string16& title, |
106 base::i18n::TextDirection title_direction) {} | 102 base::i18n::TextDirection title_direction) {} |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 171 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
176 #endif | 172 #endif |
177 | 173 |
178 protected: | 174 protected: |
179 virtual ~RenderFrameHostDelegate() {} | 175 virtual ~RenderFrameHostDelegate() {} |
180 }; | 176 }; |
181 | 177 |
182 } // namespace content | 178 } // namespace content |
183 | 179 |
184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |