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

Side by Side Diff: content/common/notification_type.h

Issue 7055004: File upload API in chromedriver (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed according to the code review Created 9 years, 7 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) 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_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_
6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ 6 #define CONTENT_COMMON_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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 RENDER_VIEW_HOST_DELETED, 474 RENDER_VIEW_HOST_DELETED,
475 475
476 // Sent from RenderViewHost::ClosePage. The hosted RenderView has 476 // Sent from RenderViewHost::ClosePage. The hosted RenderView has
477 // processed the onbeforeunload handler and is about to be sent a 477 // processed the onbeforeunload handler and is about to be sent a
478 // ViewMsg_ClosePage message to complete the tear-down process. The source 478 // ViewMsg_ClosePage message to complete the tear-down process. The source
479 // is the RenderViewHost sending the message, and no details are provided. 479 // is the RenderViewHost sending the message, and no details are provided.
480 // Note: This message is not sent in response to RenderView closure 480 // Note: This message is not sent in response to RenderView closure
481 // initiated by window.close(). 481 // initiated by window.close().
482 RENDER_VIEW_HOST_WILL_CLOSE_RENDER_VIEW, 482 RENDER_VIEW_HOST_WILL_CLOSE_RENDER_VIEW,
483 483
484 // This notifies the observer that a drag operation ack was received. The
kkania 2011/05/27 20:48:47 specify that it is specifically a drop operation t
nodchip 2011/05/30 04:51:45 Done.
485 // source is the RenderViewHost.
486 // Note: The RenderViewHost may be deallocated at this point.
kkania 2011/05/27 20:48:47 I think the Note: doesn't apply for this case.
nodchip 2011/05/30 04:51:45 Done.
487 // Used only in testing.
488 RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK,
489
484 // Indicates a RenderWidgetHost has been hidden or restored. The source is 490 // Indicates a RenderWidgetHost has been hidden or restored. The source is
485 // the RWH whose visibility changed, the details is a bool set to true if 491 // the RWH whose visibility changed, the details is a bool set to true if
486 // the new state is "visible." 492 // the new state is "visible."
487 RENDER_WIDGET_VISIBILITY_CHANGED, 493 RENDER_WIDGET_VISIBILITY_CHANGED,
488 494
489 // Notification from TabContents that we have received a response from the 495 // Notification from TabContents that we have received a response from the
490 // renderer in response to a dom automation controller action. 496 // renderer in response to a dom automation controller action.
491 DOM_OPERATION_RESPONSE, 497 DOM_OPERATION_RESPONSE,
492 498
493 // Sent when the bookmark bubble hides. The source is the profile, the 499 // Sent when the bookmark bubble hides. The source is the profile, the
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 }; 1335 };
1330 1336
1331 inline bool operator==(NotificationType::Type a, NotificationType b) { 1337 inline bool operator==(NotificationType::Type a, NotificationType b) {
1332 return a == b.value; 1338 return a == b.value;
1333 } 1339 }
1334 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1340 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1335 return a != b.value; 1341 return a != b.value;
1336 } 1342 }
1337 1343
1338 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1344 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698