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

Side by Side Diff: content/common/notification_type.h

Issue 7044095: Hooking MHTML generation to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 9 years, 6 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/renderer_host/database_message_filter.cc ('k') | ipc/ipc.gypi » ('j') | 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) 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_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_
6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ 6 #define CONTENT_COMMON_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 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 AUTOFILL_DID_FILL_FORM_DATA, 1185 AUTOFILL_DID_FILL_FORM_DATA,
1186 1186
1187 // Download Notifications -------------------------------------------------- 1187 // Download Notifications --------------------------------------------------
1188 1188
1189 // Sent when a download is initiated. It is possible that the download will 1189 // Sent when a download is initiated. It is possible that the download will
1190 // not actually begin due to the DownloadRequestLimiter cancelling it 1190 // not actually begin due to the DownloadRequestLimiter cancelling it
1191 // prematurely. 1191 // prematurely.
1192 // The source is the corresponding RenderViewHost. There are no details. 1192 // The source is the corresponding RenderViewHost. There are no details.
1193 DOWNLOAD_INITIATED, 1193 DOWNLOAD_INITIATED,
1194 1194
1195 // Sent when a page generation to MHTML has finished.
1196 // The source is the corresponding RenderViewHost. The details is a
1197 // MHTMLGenerationManager::NotificationDetails.
1198 MHTML_GENERATED,
1199
1195 // Misc -------------------------------------------------------------------- 1200 // Misc --------------------------------------------------------------------
1196 1201
1197 #if defined(OS_CHROMEOS) 1202 #if defined(OS_CHROMEOS)
1198 // Sent when a chromium os user logs in. 1203 // Sent when a chromium os user logs in.
1199 LOGIN_USER_CHANGED, 1204 LOGIN_USER_CHANGED,
1200 1205
1201 // Sent when user image is updated. 1206 // Sent when user image is updated.
1202 LOGIN_USER_IMAGE_CHANGED, 1207 LOGIN_USER_IMAGE_CHANGED,
1203 1208
1204 // Sent when a chromium os user attempts to log in. The source is 1209 // Sent when a chromium os user attempts to log in. The source is
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 }; 1344 };
1340 1345
1341 inline bool operator==(NotificationType::Type a, NotificationType b) { 1346 inline bool operator==(NotificationType::Type a, NotificationType b) {
1342 return a == b.value; 1347 return a == b.value;
1343 } 1348 }
1344 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1349 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1345 return a != b.value; 1350 return a != b.value;
1346 } 1351 }
1347 1352
1348 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1353 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/database_message_filter.cc ('k') | ipc/ipc.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698