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

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

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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/tab_contents/tab_contents.cc ('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_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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // are provided. 102 // are provided.
103 NOTIFICATION_LOAD_FROM_MEMORY_CACHE, 103 NOTIFICATION_LOAD_FROM_MEMORY_CACHE,
104 104
105 // A provisional content load has failed with an error. The source will be 105 // A provisional content load has failed with an error. The source will be
106 // a Source<NavigationController> corresponding to the tab in which the 106 // a Source<NavigationController> corresponding to the tab in which the
107 // load occurred. Details in the form of a ProvisionalLoadDetails object 107 // load occurred. Details in the form of a ProvisionalLoadDetails object
108 // are provided. 108 // are provided.
109 NOTIFICATION_FAIL_PROVISIONAL_LOAD_WITH_ERROR, 109 NOTIFICATION_FAIL_PROVISIONAL_LOAD_WITH_ERROR,
110 110
111 // A response has been received for a resource request. The source will be 111 // A response has been received for a resource request. The source will be
112 // a Source<RenderViewHostDelegate> corresponding to the tab in which the 112 // a Source<WebContents> corresponding to the tab in which the request was
113 // request was issued. Details in the form of a ResourceRequestDetails 113 // issued. Details in the form of a ResourceRequestDetails object are
114 // object are provided. 114 // provided.
115 NOTIFICATION_RESOURCE_RESPONSE_STARTED, 115 NOTIFICATION_RESOURCE_RESPONSE_STARTED,
116 116
117 // A redirect was received while requesting a resource. The source will be 117 // A redirect was received while requesting a resource. The source will be
118 // a Source<RenderViewHostDelegate> corresponding to the tab in which the 118 // a Source<WebContents> corresponding to the tab in which the request was
119 // request was issued. Details in the form of a ResourceRedirectDetails 119 // issued. Details in the form of a ResourceRedirectDetails are provided.
120 // are provided.
121 NOTIFICATION_RESOURCE_RECEIVED_REDIRECT, 120 NOTIFICATION_RESOURCE_RECEIVED_REDIRECT,
122 121
123 // A new window was requested but was not created. The source will be a 122 // A new window was requested but was not created. The source will be a
124 // Source<TabContents> corresponding to the tab the request originated from. 123 // Source<TabContents> corresponding to the tab the request originated from.
125 // Details are the ViewHostMsg_CreateWindow_Params object that were used in 124 // Details are the ViewHostMsg_CreateWindow_Params object that were used in
126 // the request. 125 // the request.
127 NOTIFICATION_CREATING_NEW_WINDOW_CANCELLED, 126 NOTIFICATION_CREATING_NEW_WINDOW_CANCELLED,
128 127
129 // SSL --------------------------------------------------------------------- 128 // SSL ---------------------------------------------------------------------
130 129
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // of a temporary zoom level change, the details is an empty string. 423 // of a temporary zoom level change, the details is an empty string.
425 NOTIFICATION_ZOOM_LEVEL_CHANGED, 424 NOTIFICATION_ZOOM_LEVEL_CHANGED,
426 425
427 // Custom notifications used by the embedder should start from here. 426 // Custom notifications used by the embedder should start from here.
428 NOTIFICATION_CONTENT_END, 427 NOTIFICATION_CONTENT_END,
429 }; 428 };
430 429
431 } // namespace content 430 } // namespace content
432 431
433 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 432 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698