| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ | 5 #ifndef CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ |
| 6 #define CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ | 6 #define CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/auto_reset.h" | 12 #include "base/auto_reset.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_vector.h" | |
| 16 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
| 17 #include "cc/output/swap_promise.h" | 16 #include "cc/output/swap_promise.h" |
| 18 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 19 #include "content/renderer/message_delivery_policy.h" | 18 #include "content/renderer/message_delivery_policy.h" |
| 20 | 19 |
| 21 namespace IPC { | 20 namespace IPC { |
| 22 class Message; | 21 class Message; |
| 23 }; | 22 }; |
| 24 | 23 |
| 25 namespace content { | 24 namespace content { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 std::unique_ptr<FrameSwapMessageSubQueue> visual_state_queue_; | 105 std::unique_ptr<FrameSwapMessageSubQueue> visual_state_queue_; |
| 107 std::unique_ptr<FrameSwapMessageSubQueue> swap_queue_; | 106 std::unique_ptr<FrameSwapMessageSubQueue> swap_queue_; |
| 108 std::vector<std::unique_ptr<IPC::Message>> next_drain_messages_; | 107 std::vector<std::unique_ptr<IPC::Message>> next_drain_messages_; |
| 109 | 108 |
| 110 DISALLOW_COPY_AND_ASSIGN(FrameSwapMessageQueue); | 109 DISALLOW_COPY_AND_ASSIGN(FrameSwapMessageQueue); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace content | 112 } // namespace content |
| 114 | 113 |
| 115 #endif // CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ | 114 #endif // CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ |
| OLD | NEW |