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

Side by Side Diff: content/public/browser/notification_types.h

Issue 1132163004: Remove NOTIFICATION_RENDER_VIEW_HOST_CHANGED. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 5 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // WebContents --------------------------------------------------------------- 105 // WebContents ---------------------------------------------------------------
106 106
107 // This notification is sent when a render view host has connected to a 107 // This notification is sent when a render view host has connected to a
108 // renderer process. The source is a Source<WebContents> with a pointer to 108 // renderer process. The source is a Source<WebContents> with a pointer to
109 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is 109 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is
110 // guaranteed before the source pointer becomes junk. No details are 110 // guaranteed before the source pointer becomes junk. No details are
111 // expected. 111 // expected.
112 // DEPRECATED: Use WebContentsObserver::RenderViewReady() 112 // DEPRECATED: Use WebContentsObserver::RenderViewReady()
113 NOTIFICATION_WEB_CONTENTS_CONNECTED, 113 NOTIFICATION_WEB_CONTENTS_CONNECTED,
114 114
115 // This notification is sent when a WebContents swaps its render view host
116 // with another one, possibly changing processes. The source is a
117 // Source<WebContents> with a pointer to the WebContents, details is a
118 // std::pair::<old RenderViewHost, new RenderViewHost>.
119 // DEPRECATED: Use WebContentsObserver::RenderViewHostChanged()
120 NOTIFICATION_RENDER_VIEW_HOST_CHANGED,
121
122 // This message is sent after a WebContents is disconnected from the 115 // This message is sent after a WebContents is disconnected from the
123 // renderer process. The source is a Source<WebContents> with a pointer to 116 // renderer process. The source is a Source<WebContents> with a pointer to
124 // the WebContents (the pointer is usable). No details are expected. 117 // the WebContents (the pointer is usable). No details are expected.
125 // DEPRECATED: This is fired in two situations: when the render process 118 // DEPRECATED: This is fired in two situations: when the render process
126 // crashes, in which case use WebContentsObserver::RenderProcessGone, and when 119 // crashes, in which case use WebContentsObserver::RenderProcessGone, and when
127 // the WebContents is being torn down, in which case use 120 // the WebContents is being torn down, in which case use
128 // WebContentsObserver::WebContentsDestroyed() 121 // WebContentsObserver::WebContentsDestroyed()
129 NOTIFICATION_WEB_CONTENTS_DISCONNECTED, 122 NOTIFICATION_WEB_CONTENTS_DISCONNECTED,
130 123
131 // This notification is sent after WebContents' title is updated. The source 124 // This notification is sent after WebContents' title is updated. The source
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // the RenderViewHost, and the details is a DomOperationNotificationDetails. 207 // the RenderViewHost, and the details is a DomOperationNotificationDetails.
215 NOTIFICATION_DOM_OPERATION_RESPONSE, 208 NOTIFICATION_DOM_OPERATION_RESPONSE,
216 209
217 // Custom notifications used by the embedder should start from here. 210 // Custom notifications used by the embedder should start from here.
218 NOTIFICATION_CONTENT_END, 211 NOTIFICATION_CONTENT_END,
219 }; 212 };
220 213
221 } // namespace content 214 } // namespace content
222 215
223 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 216 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698