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

Side by Side Diff: components/viz/frame_sinks/frame_evictor.h

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 COMPONENTS_VIZ_FRAME_SINKS_FRAME_EVICTOR_H_ 5 #ifndef COMPONENTS_VIZ_FRAME_SINKS_FRAME_EVICTOR_H_
6 #define COMPONENTS_VIZ_FRAME_SINKS_FRAME_EVICTOR_H_ 6 #define COMPONENTS_VIZ_FRAME_SINKS_FRAME_EVICTOR_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/viz/frame_sinks/frame_eviction_manager.h" 9 #include "components/viz/frame_sinks/frame_eviction_manager.h"
10 #include "components/viz/frame_sinks/viz_export.h" 10 #include "components/viz/viz_export.h"
11 11
12 namespace viz { 12 namespace viz {
13 13
14 class VIZ_EXPORT FrameEvictorClient { 14 class VIZ_EXPORT FrameEvictorClient {
15 public: 15 public:
16 virtual ~FrameEvictorClient() {} 16 virtual ~FrameEvictorClient() {}
17 virtual void EvictDelegatedFrame() = 0; 17 virtual void EvictDelegatedFrame() = 0;
18 }; 18 };
19 19
20 class VIZ_EXPORT FrameEvictor : public FrameEvictionManagerClient { 20 class VIZ_EXPORT FrameEvictor : public FrameEvictionManagerClient {
(...skipping 16 matching lines...) Expand all
37 FrameEvictorClient* client_; 37 FrameEvictorClient* client_;
38 bool has_frame_; 38 bool has_frame_;
39 bool visible_; 39 bool visible_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(FrameEvictor); 41 DISALLOW_COPY_AND_ASSIGN(FrameEvictor);
42 }; 42 };
43 43
44 } // namespace viz 44 } // namespace viz
45 45
46 #endif // COMPONENTS_VIZ_FRAME_SINKS_FRAME_EVICTOR_H_ 46 #endif // COMPONENTS_VIZ_FRAME_SINKS_FRAME_EVICTOR_H_
OLDNEW
« no previous file with comments | « components/viz/frame_sinks/frame_eviction_manager.cc ('k') | components/viz/frame_sinks/mojo_frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698