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

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

Issue 266053003: Remove page IDs from three WebContentsObserver APIs that don't need it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with Avi's change Created 6 years, 7 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 | Annotate | Revision Log
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/common/javascript_message_type.h" 10 #include "content/public/common/javascript_message_type.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Another page accessed the top-level initial empty document, which means it 82 // Another page accessed the top-level initial empty document, which means it
83 // is no longer safe to display a pending URL without risking a URL spoof. 83 // is no longer safe to display a pending URL without risking a URL spoof.
84 virtual void DidAccessInitialDocument() {} 84 virtual void DidAccessInitialDocument() {}
85 85
86 // The frame set its opener to null, disowning it for the lifetime of the 86 // The frame set its opener to null, disowning it for the lifetime of the
87 // window. Only called for the top-level frame. 87 // window. Only called for the top-level frame.
88 virtual void DidDisownOpener(RenderFrameHost* render_frame_host) {} 88 virtual void DidDisownOpener(RenderFrameHost* render_frame_host) {}
89 89
90 // The onload handler in the frame has completed. Only called for the top- 90 // The onload handler in the frame has completed. Only called for the top-
91 // level frame. 91 // level frame.
92 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host, 92 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {}
93 int32 page_id) {}
94 93
95 // Return this object cast to a WebContents, if it is one. If the object is 94 // Return this object cast to a WebContents, if it is one. If the object is
96 // not a WebContents, returns NULL. 95 // not a WebContents, returns NULL.
97 virtual WebContents* GetAsWebContents(); 96 virtual WebContents* GetAsWebContents();
98 97
99 protected: 98 protected:
100 virtual ~RenderFrameHostDelegate() {} 99 virtual ~RenderFrameHostDelegate() {}
101 }; 100 };
102 101
103 } // namespace content 102 } // namespace content
104 103
105 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 104 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/android/web_contents_observer_android.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