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

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

Issue 10837296: Fix a bug where the inspector would not keep event pages alive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yurys Created 8 years, 4 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 // This message is sent when the application is terminating (the last 157 // This message is sent when the application is terminating (the last
158 // browser window has shutdown as part of an explicit user-initiated exit, 158 // browser window has shutdown as part of an explicit user-initiated exit,
159 // or the user closed the last browser window on Windows/Linux and there are 159 // or the user closed the last browser window on Windows/Linux and there are
160 // no BackgroundContents keeping the browser running). No source or details 160 // no BackgroundContents keeping the browser running). No source or details
161 // are passed. 161 // are passed.
162 NOTIFICATION_APP_TERMINATING, 162 NOTIFICATION_APP_TERMINATING,
163 163
164 // Devtools ------------------------------------------------------------------ 164 // Devtools ------------------------------------------------------------------
165 165
166 // Indicates that a devtools window is opening. The source is the 166 // Indicates that a devtools agent has attached to a client. The source is
167 // BrowserContext* and the details is the inspected RenderViewHost*. 167 // the BrowserContext* and the details is the inspected RenderViewHost*.
168 NOTIFICATION_DEVTOOLS_WINDOW_OPENING, 168 NOTIFICATION_DEVTOOLS_AGENT_ATTACHED,
169 169
170 // Indicates that a devtools window is closing. The source is the 170 // Indicates that a devtools agent has detached from a client. The source is
171 // BrowserContext* and the details is the inspected RenderViewHost*. 171 // the BrowserContext* and the details is the inspected RenderViewHost*.
172 NOTIFICATION_DEVTOOLS_WINDOW_CLOSING, 172 NOTIFICATION_DEVTOOLS_AGENT_DETACHED,
173 173
174 // WebContents --------------------------------------------------------------- 174 // WebContents ---------------------------------------------------------------
175 175
176 // This notification is sent when a render view host has connected to a 176 // This notification is sent when a render view host has connected to a
177 // renderer process. The source is a Source<WebContents> with a pointer to 177 // renderer process. The source is a Source<WebContents> with a pointer to
178 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is 178 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is
179 // guaranteed before the source pointer becomes junk. No details are 179 // guaranteed before the source pointer becomes junk. No details are
180 // expected. 180 // expected.
181 NOTIFICATION_WEB_CONTENTS_CONNECTED, 181 NOTIFICATION_WEB_CONTENTS_CONNECTED,
182 182
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // of a temporary zoom level change, the details is an empty string. 368 // of a temporary zoom level change, the details is an empty string.
369 NOTIFICATION_ZOOM_LEVEL_CHANGED, 369 NOTIFICATION_ZOOM_LEVEL_CHANGED,
370 370
371 // Custom notifications used by the embedder should start from here. 371 // Custom notifications used by the embedder should start from here.
372 NOTIFICATION_CONTENT_END, 372 NOTIFICATION_CONTENT_END,
373 }; 373 };
374 374
375 } // namespace content 375 } // namespace content
376 376
377 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 377 #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