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

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

Issue 9348109: Add extra data to BrowserContext so that content layer and other embedders can stash data with it t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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) 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 #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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 // Sent before the repost form warning is brought up. 408 // Sent before the repost form warning is brought up.
409 // The source is a NavigationController. 409 // The source is a NavigationController.
410 NOTIFICATION_REPOST_WARNING_SHOWN, 410 NOTIFICATION_REPOST_WARNING_SHOWN,
411 411
412 // Sent when the zoom level changes. The source is the HostZoomMap. The 412 // Sent when the zoom level changes. The source is the HostZoomMap. The
413 // details is a string of the hostname for which the zoom changed. In case 413 // details is a string of the hostname for which the zoom changed. In case
414 // of a temporary zoom level change, the details is an empty string. 414 // of a temporary zoom level change, the details is an empty string.
415 NOTIFICATION_ZOOM_LEVEL_CHANGED, 415 NOTIFICATION_ZOOM_LEVEL_CHANGED,
416 416
417 // Sent when a BrowserContext is being deleted, in case any objects want to do
418 // related cleanup. The source is the BrowserContext.
419 NOTIFICATION_BROWSER_CONTEXT_DESTRUCTION,
420
421 // Custom notifications used by the embedder should start from here. 417 // Custom notifications used by the embedder should start from here.
422 NOTIFICATION_CONTENT_END, 418 NOTIFICATION_CONTENT_END,
423 }; 419 };
424 420
425 } // namespace content 421 } // namespace content
426 422
427 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 423 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698