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

Side by Side Diff: content/renderer/gpu/queue_message_activation_promise.h

Issue 1126963006: Move VISUAL_STATE promise to activation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Current state (presubmit warnings, cc_unittests tests failing) Created 5 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
OLDNEW
(Empty)
1 // Copyright 2015 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_GPU_QUEUE_MESSAGE_ACTIVATION_PROMISE_H_
6 #define CONTENT_RENDERER_GPU_QUEUE_MESSAGE_ACTIVATION_PROMISE_H_
7
8 #include "cc/output/activation_promise.h"
9 #include "content/renderer/gpu/queue_message_promise.h"
10
11 namespace IPC {
12 class SyncMessageFilter;
13 }
14
15 namespace content {
16
17 class FrameUpdateMessageQueue;
18
19 class QueueMessageActivationPromise : public cc::ActivationPromise,
20 public QueueMessagePromise {
21 public:
22 QueueMessageActivationPromise(scoped_refptr<IPC::SyncMessageFilter> message_se nder,
23 scoped_refptr<FrameUpdateMessageQueue> message_queue,
24 int source_frame_number);
25
26 ~QueueMessageActivationPromise() override;
27
28 void DidActivate(cc::CompositorFrameMetadata* metadata) override;
29
30 void DidNotActivate(DidNotActivate::Reason reason) override;
31
32 int64 TraceId() const override;
33 };
34
35 } // namespace content
36
37 #endif // CONTENT_RENDERER_GPU_QUEUE_MESSAGE_ACTIVATION_PROMISE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698