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

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

Issue 12210082: content: convert accessibility notifications to observer usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 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 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // The focused element inside a page has changed. The source is the 243 // The focused element inside a page has changed. The source is the
244 // RenderViewHost. The details is a Details<const bool> that indicates whether 244 // RenderViewHost. The details is a Details<const bool> that indicates whether
245 // or not an editable node was focused. 245 // or not an editable node was focused.
246 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, 246 NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
247 247
248 // Notification from WebContents that we have received a response from the 248 // Notification from WebContents that we have received a response from the
249 // renderer in response to a dom automation controller action. The source is 249 // renderer in response to a dom automation controller action. The source is
250 // the RenderViewHost, and the details is a DomOperationNotificationDetails. 250 // the RenderViewHost, and the details is a DomOperationNotificationDetails.
251 NOTIFICATION_DOM_OPERATION_RESPONSE, 251 NOTIFICATION_DOM_OPERATION_RESPONSE,
252 252
253 // Indicates that the render view host has received a "load complete"
254 // accessibility notification. The source is the RenderViewHost,
255 // the details are not used.
256 NOTIFICATION_ACCESSIBILITY_LOAD_COMPLETE,
257
258 // Indicates that the render view host has received a "layout complete"
259 // accessibility notification. The source is the RenderViewHost,
260 // the details are not used.
261 NOTIFICATION_ACCESSIBILITY_LAYOUT_COMPLETE,
262
263 // Indicates that the render view host has received an accessibility
264 // notification. other than the ones covered above.
265 // The source is the RenderViewHost, the details are not used.
266 NOTIFICATION_ACCESSIBILITY_OTHER,
267
268 // Child Processes --------------------------------------------------------- 253 // Child Processes ---------------------------------------------------------
269 254
270 // This notification is sent when a child process host has connected to a 255 // This notification is sent when a child process host has connected to a
271 // child process. There is no usable source, since it is sent from an 256 // child process. There is no usable source, since it is sent from an
272 // ephemeral task; register for AllSources() to receive this notification. 257 // ephemeral task; register for AllSources() to receive this notification.
273 // The details are in a Details<ChildProcessData>. 258 // The details are in a Details<ChildProcessData>.
274 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, 259 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED,
275 260
276 // This message is sent after a ChildProcessHost is disconnected from the 261 // This message is sent after a ChildProcessHost is disconnected from the
277 // child process. There is no usable source, since it is sent from an 262 // child process. There is no usable source, since it is sent from an
(...skipping 24 matching lines...) Expand all
302 // The source is a NavigationController. 287 // The source is a NavigationController.
303 NOTIFICATION_REPOST_WARNING_SHOWN, 288 NOTIFICATION_REPOST_WARNING_SHOWN,
304 289
305 // Custom notifications used by the embedder should start from here. 290 // Custom notifications used by the embedder should start from here.
306 NOTIFICATION_CONTENT_END, 291 NOTIFICATION_CONTENT_END,
307 }; 292 };
308 293
309 } // namespace content 294 } // namespace content
310 295
311 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 296 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698