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

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

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DevToolsManager -> DevToolsManagerImpl, moved client to public Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_ 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // browsers have closed. This is sent if the user chooses to exit 198 // browsers have closed. This is sent if the user chooses to exit
199 // (via exit menu item or keyboard shortcut) or to restart the process 199 // (via exit menu item or keyboard shortcut) or to restart the process
200 // (such as in flags page), not if Chrome exists by some other means 200 // (such as in flags page), not if Chrome exists by some other means
201 // (such as the user closing the last window). Note that receiving this 201 // (such as the user closing the last window). Note that receiving this
202 // notification does not necessarily mean the process will exit 202 // notification does not necessarily mean the process will exit
203 // because the shutdown process can be cancelled by unload handler. 203 // because the shutdown process can be cancelled by unload handler.
204 // Use APP_TERMINATING for such needs. 204 // Use APP_TERMINATING for such needs.
205 // The source and details are unspecified. 205 // The source and details are unspecified.
206 NOTIFICATION_APP_EXITING, 206 NOTIFICATION_APP_EXITING,
207 207
208 NOTIFICATION_MAIN_MESSAGE_LOOP_EXITING,
209
208 // Indicates that a devtools window is closing. The source is the 210 // Indicates that a devtools window is closing. The source is the
209 // content::BrowserContext* and the details is the inspected RenderViewHost*. 211 // content::BrowserContext* and the details is the inspected RenderViewHost*.
210 NOTIFICATION_DEVTOOLS_WINDOW_CLOSING, 212 NOTIFICATION_DEVTOOLS_WINDOW_CLOSING,
211 213
212 // Tabs -------------------------------------------------------------------- 214 // Tabs --------------------------------------------------------------------
213 215
214 // Sent when a tab is added to a TabContentsDelegate. The source is the 216 // Sent when a tab is added to a TabContentsDelegate. The source is the
215 // TabContentsDelegate and the details is the added TabContents. 217 // TabContentsDelegate and the details is the added TabContents.
216 NOTIFICATION_TAB_ADDED, 218 NOTIFICATION_TAB_ADDED,
217 219
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // of a temporary zoom level change, the details is an empty string. 439 // of a temporary zoom level change, the details is an empty string.
438 NOTIFICATION_ZOOM_LEVEL_CHANGED, 440 NOTIFICATION_ZOOM_LEVEL_CHANGED,
439 441
440 // Custom notifications used by the embedder should start from here. 442 // Custom notifications used by the embedder should start from here.
441 NOTIFICATION_CONTENT_END, 443 NOTIFICATION_CONTENT_END,
442 }; 444 };
443 445
444 } // namespace content 446 } // namespace content
445 447
446 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_ 448 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698