OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_MESSAGE_DELIVERY_POLICY_H_ |
| 6 #define CONTENT_RENDERER_MESSAGE_DELIVERY_POLICY_H_ |
| 7 |
| 8 namespace content { |
| 9 |
| 10 enum MessageDeliveryPolicy { |
| 11 // If a commit was requested before the message was enqueued the message |
| 12 // will be delivered with the swap corresponding to that commit. Otherwise |
| 13 // the message will be sent immediately. |
| 14 // If the commit is aborted the message is sent using the regular IPC channel. |
| 15 MESSAGE_DELIVERY_POLICY_WITH_VISUAL_STATE, |
| 16 // The message will be delivered with the swap corresponding to the next |
| 17 // commit. |
| 18 // If the commit is aborted the message is sent using the regular IPC channel. |
| 19 MESSAGE_DELIVERY_POLICY_WITH_NEXT_COMMIT, |
| 20 // The message will be delivered with the next swap. |
| 21 MESSAGE_DELIVERY_POLICY_WITH_NEXT_SWAP, |
| 22 }; |
| 23 |
| 24 } // namespace content |
| 25 |
| 26 #endif // CONTENT_RENDERER_MESSAGE_DELIVERY_POLICY_H_ |
OLD | NEW |