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

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

Issue 10968064: Move the NOTIFICATION_APP_TERMINATING notification from content to chrome, since it's fired by chro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: cros compile Created 8 years, 2 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
« no previous file with comments | « content/browser/debugger/worker_devtools_manager.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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // The SSL state of the browser has changed in some internal way. For 143 // The SSL state of the browser has changed in some internal way. For
144 // example, the user might have explicitly allowed some broken certificate 144 // example, the user might have explicitly allowed some broken certificate
145 // or a secure origin might have included some insecure content. Listen to 145 // or a secure origin might have included some insecure content. Listen to
146 // this notifiation if you need to keep track of our internal SSL state. 146 // this notifiation if you need to keep track of our internal SSL state.
147 // 147 //
148 // The source will be the browser context. The details will be the navigation 148 // The source will be the browser context. The details will be the navigation
149 // controller associated with the state change. 149 // controller associated with the state change.
150 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED, 150 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
151 151
152 // Application-wide ----------------------------------------------------------
153
154 // This message is sent when the application is terminating (the last
155 // browser window has shutdown as part of an explicit user-initiated exit,
156 // or the user closed the last browser window on Windows/Linux and there are
157 // no BackgroundContents keeping the browser running). No source or details
158 // are passed.
159 NOTIFICATION_APP_TERMINATING,
160
161 // Devtools ------------------------------------------------------------------ 152 // Devtools ------------------------------------------------------------------
162 153
163 // Indicates that a devtools agent has attached to a client. The source is 154 // Indicates that a devtools agent has attached to a client. The source is
164 // the BrowserContext* and the details is the inspected RenderViewHost*. 155 // the BrowserContext* and the details is the inspected RenderViewHost*.
165 NOTIFICATION_DEVTOOLS_AGENT_ATTACHED, 156 NOTIFICATION_DEVTOOLS_AGENT_ATTACHED,
166 157
167 // Indicates that a devtools agent has detached from a client. The source is 158 // Indicates that a devtools agent has detached from a client. The source is
168 // the BrowserContext* and the details is the inspected RenderViewHost*. 159 // the BrowserContext* and the details is the inspected RenderViewHost*.
169 NOTIFICATION_DEVTOOLS_AGENT_DETACHED, 160 NOTIFICATION_DEVTOOLS_AGENT_DETACHED,
170 161
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 // of a temporary zoom level change, the details is an empty string. 366 // of a temporary zoom level change, the details is an empty string.
376 NOTIFICATION_ZOOM_LEVEL_CHANGED, 367 NOTIFICATION_ZOOM_LEVEL_CHANGED,
377 368
378 // Custom notifications used by the embedder should start from here. 369 // Custom notifications used by the embedder should start from here.
379 NOTIFICATION_CONTENT_END, 370 NOTIFICATION_CONTENT_END,
380 }; 371 };
381 372
382 } // namespace content 373 } // namespace content
383 374
384 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 375 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « content/browser/debugger/worker_devtools_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698