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 <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/auto_reset.h" | 11 #include "base/auto_reset.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
15 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
16 #include "cc/output/swap_promise.h" | 17 #include "cc/output/swap_promise.h" |
17 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
18 #include "content/renderer/message_delivery_policy.h" | 19 #include "content/renderer/message_delivery_policy.h" |
19 | 20 |
20 namespace IPC { | 21 namespace IPC { |
21 class Message; | 22 class Message; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 scoped_ptr<FrameSwapMessageSubQueue> visual_state_queue_; | 105 scoped_ptr<FrameSwapMessageSubQueue> visual_state_queue_; |
105 scoped_ptr<FrameSwapMessageSubQueue> swap_queue_; | 106 scoped_ptr<FrameSwapMessageSubQueue> swap_queue_; |
106 std::vector<scoped_ptr<IPC::Message>> next_drain_messages_; | 107 std::vector<scoped_ptr<IPC::Message>> next_drain_messages_; |
107 | 108 |
108 DISALLOW_COPY_AND_ASSIGN(FrameSwapMessageQueue); | 109 DISALLOW_COPY_AND_ASSIGN(FrameSwapMessageQueue); |
109 }; | 110 }; |
110 | 111 |
111 } // namespace content | 112 } // namespace content |
112 | 113 |
113 #endif // CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ | 114 #endif // CONTENT_RENDERER_GPU_FRAME_SWAP_MESSAGE_QUEUE_H_ |
OLD | NEW |