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

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: Style fixes 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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 }; 1340 };
1336 1341
1337 inline bool operator==(NotificationType::Type a, NotificationType b) { 1342 inline bool operator==(NotificationType::Type a, NotificationType b) {
1338 return a == b.value; 1343 return a == b.value;
1339 } 1344 }
1340 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1345 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1341 return a != b.value; 1346 return a != b.value;
1342 } 1347 }
1343 1348
1344 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1349 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698