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

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

Issue 7067005: Remove Profile code from HostZoomMap. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/render_view_host.h ('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) 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 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 // Sent before the repost form warning is brought up. 1252 // Sent before the repost form warning is brought up.
1253 // The source is a NavigationController. 1253 // The source is a NavigationController.
1254 REPOST_WARNING_SHOWN, 1254 REPOST_WARNING_SHOWN,
1255 1255
1256 #if defined(TOOLKIT_VIEWS) 1256 #if defined(TOOLKIT_VIEWS)
1257 // Sent when a bookmark's context menu is shown. Used to notify 1257 // Sent when a bookmark's context menu is shown. Used to notify
1258 // tests that the context menu has been created and shown. 1258 // tests that the context menu has been created and shown.
1259 BOOKMARK_CONTEXT_MENU_SHOWN, 1259 BOOKMARK_CONTEXT_MENU_SHOWN,
1260 #endif 1260 #endif
1261 1261
1262 // Sent when the zoom level changes. The source is the profile. 1262 // Sent when the zoom level changes. The source is the HostZoomMap. The
1263 // details is a string of the hostname for which the zoom changed. In case
1264 // of a temporary zoom level change, the details is an empty string.
1263 ZOOM_LEVEL_CHANGED, 1265 ZOOM_LEVEL_CHANGED,
1264 1266
1265 // Sent when the tab's closeable state has changed due to increase/decrease 1267 // Sent when the tab's closeable state has changed due to increase/decrease
1266 // in number of tabs in browser or increase/decrease in number of browsers. 1268 // in number of tabs in browser or increase/decrease in number of browsers.
1267 // Details<bool> contain the closeable flag while source is AllSources. 1269 // Details<bool> contain the closeable flag while source is AllSources.
1268 // This is only sent from ChromeOS's TabCloseableStateWatcher. 1270 // This is only sent from ChromeOS's TabCloseableStateWatcher.
1269 TAB_CLOSEABLE_STATE_CHANGED, 1271 TAB_CLOSEABLE_STATE_CHANGED,
1270 1272
1271 // Sent each time the InstantController is updated. 1273 // Sent each time the InstantController is updated.
1272 INSTANT_CONTROLLER_UPDATED, 1274 INSTANT_CONTROLLER_UPDATED,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 }; 1320 };
1319 1321
1320 inline bool operator==(NotificationType::Type a, NotificationType b) { 1322 inline bool operator==(NotificationType::Type a, NotificationType b) {
1321 return a == b.value; 1323 return a == b.value;
1322 } 1324 }
1323 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1325 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1324 return a != b.value; 1326 return a != b.value;
1325 } 1327 }
1326 1328
1327 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1329 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698