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

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

Issue 10735010: 3D Compositing in <browser>, first draft. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // a Source<WebContents>. The details is a bool set to true if the new 216 // a Source<WebContents>. The details is a bool set to true if the new
217 // state is visible. 217 // state is visible.
218 NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED, 218 NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED,
219 219
220 // This notification is sent when a WebContents is being destroyed. Any 220 // This notification is sent when a WebContents is being destroyed. Any
221 // object holding a reference to a WebContents can listen to that 221 // object holding a reference to a WebContents can listen to that
222 // notification to properly reset the reference. The source is a 222 // notification to properly reset the reference. The source is a
223 // Source<WebContents>. 223 // Source<WebContents>.
224 NOTIFICATION_WEB_CONTENTS_DESTROYED, 224 NOTIFICATION_WEB_CONTENTS_DESTROYED,
225 225
226 // A RenderView will be created in a RenderViewHost for a WebContents. The
227 // source is the associated WebContents, and the details is the
228 // RenderViewHost pointer.
229 NOTIFICATION_WILL_CREATE_RENDER_VIEW,
230
231 // TODO(scshunt): Rename this notification as, with the addition of the
232 // previous one, this is now really confusing.
226 // A RenderViewHost was created for a WebContents. The source is the 233 // A RenderViewHost was created for a WebContents. The source is the
227 // associated WebContents, and the details is the RenderViewHost 234 // associated WebContents, and the details is the RenderViewHost
228 // pointer. 235 // pointer.
229 NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB, 236 NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB,
230 237
231 // Notification than an interstitial has become associated with a tab. The 238 // Notification than an interstitial has become associated with a tab. The
232 // source is the WebContents, the details not used. 239 // source is the WebContents, the details not used.
233 NOTIFICATION_INTERSTITIAL_ATTACHED, 240 NOTIFICATION_INTERSTITIAL_ATTACHED,
234 241
235 // Notification than an interstitial has become detached from a tab. The 242 // Notification than an interstitial has become detached from a tab. The
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // of a temporary zoom level change, the details is an empty string. 390 // of a temporary zoom level change, the details is an empty string.
384 NOTIFICATION_ZOOM_LEVEL_CHANGED, 391 NOTIFICATION_ZOOM_LEVEL_CHANGED,
385 392
386 // Custom notifications used by the embedder should start from here. 393 // Custom notifications used by the embedder should start from here.
387 NOTIFICATION_CONTENT_END, 394 NOTIFICATION_CONTENT_END,
388 }; 395 };
389 396
390 } // namespace content 397 } // namespace content
391 398
392 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 399 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698