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

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

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 NOTIFICATION_APP_EXITING, 179 NOTIFICATION_APP_EXITING,
180 180
181 // Indicates that a devtools window is opening. The source is the 181 // Indicates that a devtools window is opening. The source is the
182 // BrowserContext* and the details is the inspected RenderViewHost*. 182 // BrowserContext* and the details is the inspected RenderViewHost*.
183 NOTIFICATION_DEVTOOLS_WINDOW_OPENING, 183 NOTIFICATION_DEVTOOLS_WINDOW_OPENING,
184 184
185 // Indicates that a devtools window is closing. The source is the 185 // Indicates that a devtools window is closing. The source is the
186 // BrowserContext* and the details is the inspected RenderViewHost*. 186 // BrowserContext* and the details is the inspected RenderViewHost*.
187 NOTIFICATION_DEVTOOLS_WINDOW_CLOSING, 187 NOTIFICATION_DEVTOOLS_WINDOW_CLOSING,
188 188
189 // Tabs -------------------------------------------------------------------- 189 // WebContents ---------------------------------------------------------------
190
191 // Sent when a tab is added to a WebContentsDelegate. The source is the
192 // WebContentsDelegate and the details is the added WebContents.
193 NOTIFICATION_TAB_ADDED,
194
195 // This notification is sent after a tab has been appended to the tab_strip.
196 // The source is a Source<TabContentsWrapper> of the tab being added. There
197 // are no details.
198 NOTIFICATION_TAB_PARENTED,
199
200 // This message is sent before a tab has been closed. The source is a
201 // Source<NavigationController> with a pointer to the controller for the
202 // closed tab. No details are expected.
203 //
204 // See also TAB_CLOSED.
205 NOTIFICATION_TAB_CLOSING,
206
207 // Notification that a tab has been closed. The source is the
208 // NavigationController with no details.
209 NOTIFICATION_TAB_CLOSED,
210 190
211 // This notification is sent when a render view host has connected to a 191 // This notification is sent when a render view host has connected to a
212 // renderer process. The source is a Source<WebContents> with a pointer to 192 // renderer process. The source is a Source<WebContents> with a pointer to
213 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is 193 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is
214 // guaranteed before the source pointer becomes junk. No details are 194 // guaranteed before the source pointer becomes junk. No details are
215 // expected. 195 // expected.
216 NOTIFICATION_WEB_CONTENTS_CONNECTED, 196 NOTIFICATION_WEB_CONTENTS_CONNECTED,
217 197
218 // This notification is sent when a TabContents swaps its render view host 198 // This notification is sent when a TabContents swaps its render view host
219 // with another one, possibly changing processes. The source is a 199 // with another one, possibly changing processes. The source is a
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // of a temporary zoom level change, the details is an empty string. 382 // of a temporary zoom level change, the details is an empty string.
403 NOTIFICATION_ZOOM_LEVEL_CHANGED, 383 NOTIFICATION_ZOOM_LEVEL_CHANGED,
404 384
405 // Custom notifications used by the embedder should start from here. 385 // Custom notifications used by the embedder should start from here.
406 NOTIFICATION_CONTENT_END, 386 NOTIFICATION_CONTENT_END,
407 }; 387 };
408 388
409 } // namespace content 389 } // namespace content
410 390
411 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 391 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698