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

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: Added missing fixs and an additional test. Created 9 years, 6 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 the drag operation ack in a drag and
485 // drop operation was received. The source is the RenderViewHost.
486 // Note: Used only in testing.
487 RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK,
488
484 // Indicates a RenderWidgetHost has been hidden or restored. The source is 489 // 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 490 // the RWH whose visibility changed, the details is a bool set to true if
486 // the new state is "visible." 491 // the new state is "visible."
487 RENDER_WIDGET_VISIBILITY_CHANGED, 492 RENDER_WIDGET_VISIBILITY_CHANGED,
488 493
489 // Notification from TabContents that we have received a response from the 494 // Notification from TabContents that we have received a response from the
490 // renderer in response to a dom automation controller action. 495 // renderer in response to a dom automation controller action.
491 DOM_OPERATION_RESPONSE, 496 DOM_OPERATION_RESPONSE,
492 497
493 // Sent when the bookmark bubble hides. The source is the profile, the 498 // Sent when the bookmark bubble hides. The source is the profile, the
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 }; 1344 };
1340 1345
1341 inline bool operator==(NotificationType::Type a, NotificationType b) { 1346 inline bool operator==(NotificationType::Type a, NotificationType b) {
1342 return a == b.value; 1347 return a == b.value;
1343 } 1348 }
1344 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1349 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1345 return a != b.value; 1350 return a != b.value;
1346 } 1351 }
1347 1352
1348 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1353 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698