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

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

Issue 974723002: OOPIF: Replicate dynamic window.name updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Nasko's nits 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_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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 virtual void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, 98 virtual void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host,
99 const base::string16& message, 99 const base::string16& message,
100 bool is_reload, 100 bool is_reload,
101 IPC::Message* reply_msg) {} 101 IPC::Message* reply_msg) {}
102 102
103 // Another page accessed the top-level initial empty document, which means it 103 // Another page accessed the top-level initial empty document, which means it
104 // is no longer safe to display a pending URL without risking a URL spoof. 104 // is no longer safe to display a pending URL without risking a URL spoof.
105 virtual void DidAccessInitialDocument() {} 105 virtual void DidAccessInitialDocument() {}
106 106
107 // The frame changed its window.name property.
108 virtual void DidChangeName(RenderFrameHost* render_frame_host,
109 const std::string& name) {}
110
107 // The frame set its opener to null, disowning it for the lifetime of the 111 // The frame set its opener to null, disowning it for the lifetime of the
108 // window. Only called for the top-level frame. 112 // window. Only called for the top-level frame.
109 virtual void DidDisownOpener(RenderFrameHost* render_frame_host) {} 113 virtual void DidDisownOpener(RenderFrameHost* render_frame_host) {}
110 114
111 // The onload handler in the frame has completed. Only called for the top- 115 // The onload handler in the frame has completed. Only called for the top-
112 // level frame. 116 // level frame.
113 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {} 117 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {}
114 118
115 // The page's title was changed and should be updated. Only called for the 119 // The page's title was changed and should be updated. Only called for the
116 // top-level frame. 120 // top-level frame.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 173 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
170 #endif 174 #endif
171 175
172 protected: 176 protected:
173 virtual ~RenderFrameHostDelegate() {} 177 virtual ~RenderFrameHostDelegate() {}
174 }; 178 };
175 179
176 } // namespace content 180 } // namespace content
177 181
178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 182 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_tree_node.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698