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

Side by Side Diff: cc/output/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 2013 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 CC_OUTPUT_ACTIVATION_PROMISE_H_
6 #define CC_OUTPUT_ACTIVATION_PROMISE_H_
7
8 #include "cc/output/compositor_frame_metadata.h"
9 #include "cc/output/promise.h"
10
11 namespace cc {
12
13 class CC_EXPORT ActivationPromise : public Promise {
14 public:
15 ActivationPromise() {}
16 ~ActivationPromise() override;
17
18 virtual void DidActivate(CompositorFrameMetadata* metadata) = 0;
19 virtual void DidNotActivate(DidNotActivate::Reason reason) = 0;
20
21 bool OnDidActivate(CompositorFrameMetadata* metadata) final;
22 bool OnDidNotActivate(DidNotActivate::Reason reason) final;
23 };
24
25 } // namespace cc
26
27 #endif // CC_OUTPUT_ACTIVATION_PROMISE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698