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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 13467038: Browser Plugin: Expose frame name changes to the content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expose RenderViewHost::SetName to the content API Created 7 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 virtual void DidChangeLoadProgress(double progress) {} 216 virtual void DidChangeLoadProgress(double progress) {}
217 217
218 // The RenderView set its opener to null, disowning it for the lifetime of 218 // The RenderView set its opener to null, disowning it for the lifetime of
219 // the window. 219 // the window.
220 virtual void DidDisownOpener(RenderViewHost* rvh) {} 220 virtual void DidDisownOpener(RenderViewHost* rvh) {}
221 221
222 // The RenderView has changed its frame hierarchy, so we need to update all 222 // The RenderView has changed its frame hierarchy, so we need to update all
223 // other renderers interested in this event. 223 // other renderers interested in this event.
224 virtual void DidUpdateFrameTree(RenderViewHost* rvh) {} 224 virtual void DidUpdateFrameTree(RenderViewHost* rvh) {}
225 225
226 // The name of a frame in the RenderView has changed.
227 virtual void DidUpdateFrameName(RenderViewHost* rvh,
228 int frame_id,
229 bool is_top_level,
230 const std::string& name) {}
231
226 // The RenderView's main frame document element is ready. This happens when 232 // The RenderView's main frame document element is ready. This happens when
227 // the document has finished parsing. 233 // the document has finished parsing.
228 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} 234 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {}
229 235
230 // The onload handler in the RenderView's main frame has completed. 236 // The onload handler in the RenderView's main frame has completed.
231 virtual void DocumentOnLoadCompletedInMainFrame( 237 virtual void DocumentOnLoadCompletedInMainFrame(
232 RenderViewHost* render_view_host, 238 RenderViewHost* render_view_host,
233 int32 page_id) {} 239 int32 page_id) {}
234 240
235 // The page wants to open a URL with the specified disposition. 241 // The page wants to open a URL with the specified disposition.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 const MediaStreamRequest& request, 422 const MediaStreamRequest& request,
417 const MediaResponseCallback& callback) {} 423 const MediaResponseCallback& callback) {}
418 424
419 protected: 425 protected:
420 virtual ~RenderViewHostDelegate() {} 426 virtual ~RenderViewHostDelegate() {}
421 }; 427 };
422 428
423 } // namespace content 429 } // namespace content
424 430
425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 431 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698