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

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

Issue 8505047: Fix panels being removed from PanelManager prematurely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Got rid of timeout by adding Details to notification from RenderViewHost. Created 9 years, 1 month 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) 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_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_ 6 #define CONTENT_PUBLIC_BROWSER_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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 // is the RenderViewHost sending the message, and no details are provided. 344 // is the RenderViewHost sending the message, and no details are provided.
345 // Note: This message is not sent in response to RenderView closure 345 // Note: This message is not sent in response to RenderView closure
346 // initiated by window.close(). 346 // initiated by window.close().
347 NOTIFICATION_RENDER_VIEW_HOST_WILL_CLOSE_RENDER_VIEW, 347 NOTIFICATION_RENDER_VIEW_HOST_WILL_CLOSE_RENDER_VIEW,
348 348
349 // This notifies the observer that the drag operation ack in a drag and 349 // This notifies the observer that the drag operation ack in a drag and
350 // drop operation was received. The source is the RenderViewHost. 350 // drop operation was received. The source is the RenderViewHost.
351 // Note: Used only in testing. 351 // Note: Used only in testing.
352 NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK, 352 NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK,
353 353
354 // Sent from RenderViewHost::OnMsgShouldCloseACK. This means handling
355 // ViewMsg_ShouldClose has been completed and result received.
356 NOTIFICATION_RENDER_VIEW_HOST_RECEIVED_ON_MSG_SHOULD_CLOSE_ACK,
jam 2011/11/11 21:19:19 notifications, in general, are a hacky way of gett
357
354 // Indicates a RenderWidgetHost has been hidden or restored. The source is 358 // Indicates a RenderWidgetHost has been hidden or restored. The source is
355 // the RWH whose visibility changed, the details is a bool set to true if 359 // the RWH whose visibility changed, the details is a bool set to true if
356 // the new state is "visible." 360 // the new state is "visible."
357 NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED, 361 NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED,
358 362
359 // The focused element inside a page has changed. The source is the 363 // The focused element inside a page has changed. The source is the
360 // TabContents containing the render view host for the page. The details is 364 // TabContents containing the render view host for the page. The details is
361 // a Details<const bool> that indicates whether or not an editable node was 365 // a Details<const bool> that indicates whether or not an editable node was
362 // focused. 366 // focused.
363 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, 367 NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // of a temporary zoom level change, the details is an empty string. 441 // of a temporary zoom level change, the details is an empty string.
438 NOTIFICATION_ZOOM_LEVEL_CHANGED, 442 NOTIFICATION_ZOOM_LEVEL_CHANGED,
439 443
440 // Custom notifications used by the embedder should start from here. 444 // Custom notifications used by the embedder should start from here.
441 NOTIFICATION_CONTENT_END, 445 NOTIFICATION_CONTENT_END,
442 }; 446 };
443 447
444 } // namespace content 448 } // namespace content
445 449
446 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_ 450 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698